Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-13 23:59:03.071584 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025 port_id : 25932660 datou_current_id : 3517365 in upload_from_sqlite, uploading in 25932660 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 /media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg /media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg /media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg /media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg /media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg /media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg after data_to_send, before sending request 'int' object is not iterable time to upload: 1.397373914718628 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-13 23:59:22.361240 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025 port_id : 25932660 datou_current_id : 3517365 in upload_from_sqlite, uploading in 25932660 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 /media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg /media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg /media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg /media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg /media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg /media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg after data_to_send, before sending request 'int' object is not iterable time to upload: 0.8512411117553711 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-13 23:59:42.342741 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025 port_id : 25932660 datou_current_id : 3517365 in upload_from_sqlite, uploading in 25932660 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 /media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg /media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg /media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg /media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg /media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg /media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg after data_to_send, before sending request 'int' object is not iterable time to upload: 0.8296380043029785 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:00:03.039467 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025 port_id : 25932660 datou_current_id : 3517365 in upload_from_sqlite, uploading in 25932660 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 /media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg /media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg /media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg /media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg /media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg /media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg after data_to_send, before sending request 'int' object is not iterable time to upload: 0.9776308536529541 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:00:22.453842 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025 port_id : 25932660 datou_current_id : 3517365 in upload_from_sqlite, uploading in 25932660 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 /media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg /media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg /media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg /media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg /media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg /media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg after data_to_send, before sending request 'int' object is not iterable time to upload: 0.8298711776733398 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:00:42.456365 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31072025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13082025 port_id : 25932660 datou_current_id : 3517365 in upload_from_sqlite, uploading in 25932660 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local ASC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg', '/media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg'] : url : http://rene.fotonower-preprod.com:5005/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 /media/data/images/13082025/16/31/image_13082025_16_31_58_10325.jpg /media/data/images/13082025/16/32/image_13082025_16_32_17_10244.jpg /media/data/images/13082025/16/32/image_13082025_16_32_28_10259.jpg /media/data/images/13082025/16/32/image_13082025_16_32_38_10451.jpg /media/data/images/13082025/16/32/image_13082025_16_32_47_9050.jpg /media/data/images/13082025/16/32/image_13082025_16_32_58_10631.jpg after data_to_send, before sending request 'int' object is not iterable time to upload: 0.8404543399810791 secondes --- ERROR IN API l 184 HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3517365&datou=0 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:01:03.280488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:01:22.568220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:01:42.557921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:02:03.225338 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:02:22.660412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:02:42.654042 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:03:02.506912 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:03:21.804215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:03:41.799346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:04:02.440004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:04:21.960141 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:04:41.990600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:05:02.748444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:05:22.092836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:05:42.095313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:06:02.717729 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:06:22.206985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:06:42.180556 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:07:02.866701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:07:22.279576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:07:42.298572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:08:02.924653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:08:22.410269 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:08:42.386691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:09:03.317328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:09:22.486392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:09:42.520614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:10:03.033331 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:10:22.610122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:10:42.629251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:11:03.414109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:11:22.788172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:11:42.739753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:12:02.237639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:12:21.864688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:12:41.881803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:13:02.726877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:13:22.002717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:13:42.055846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:14:02.729534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:14:22.158212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:14:42.167697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:15:03.077540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:15:22.283594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:15:42.258407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:16:02.889192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:16:22.366886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:16:42.398972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:17:03.073997 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:17:22.591634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:17:42.480242 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:18:03.178176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:18:22.667048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:18:42.665516 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:19:02.545041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:19:21.759090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:19:41.770178 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:20:02.277670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:20:21.865602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:20:41.866568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:21:02.550366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:21:22.033870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:21:42.016003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:22:02.675995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:22:22.119632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:22:42.103454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:23:02.946308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:23:22.203644 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:23:42.226754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:24:02.939372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:24:22.342991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:24:42.341938 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:25:03.193911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:25:22.485611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:25:42.450624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:26:03.070005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:26:22.541993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:26:42.533695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:27:03.095526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:27:22.661050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:27:42.676375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:28:02.330396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:28:21.783107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:28:41.762277 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:29:02.792879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:29:21.945198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:29:41.996360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:30:02.523645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:30:22.106744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:30:42.078105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:31:02.833909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:31:22.194840 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:31:42.180376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:32:02.718023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:32:22.306796 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:32:42.270422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:33:02.979317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:33:22.391753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:33:42.372426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:34:02.979625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:34:22.509965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:34:42.521695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:35:03.163170 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:35:22.627282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:35:42.618594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:36:03.216052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:36:22.731820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:36:42.698686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:37:02.547717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:37:21.825721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:37:41.837043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:38:02.406539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:38:21.932400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:38:41.955283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:39:02.831292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:39:22.055265 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:39:42.084857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:40:02.698577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:40:22.194166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:40:42.152117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:41:02.828632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:41:22.270055 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:41:42.276557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:42:02.862240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:42:22.376413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:42:42.380100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:43:02.999068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:43:22.490237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:43:42.496559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:44:03.303437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:44:22.614866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:44:42.611734 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:45:03.372167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:45:22.748791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:45:42.712123 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:46:02.286718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:46:21.821240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:46:41.825914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:47:02.570724 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:47:21.938820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:47:41.934233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:48:02.631212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:48:22.044150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:48:42.007752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:49:02.811593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:49:22.124009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:49:42.179617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:50:02.743882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:50:22.293997 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:50:42.312183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:51:03.087692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:51:22.424157 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:51:42.408407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:52:02.910272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:52:22.518914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:52:42.583205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:53:03.242231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:53:22.621351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:53:42.680269 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:54:03.255278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:54:22.737590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:54:42.792813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:55:02.610398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:55:21.965104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:55:41.967849 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:56:02.636616 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:56:22.094576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:56:42.046823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:57:02.755131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:57:22.166910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:57:42.157498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:59:02.981448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:59:22.357656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 00:59:42.310113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:00:02.848214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:00:22.451968 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:00:42.443188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:01:03.038744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:01:22.545825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:01:42.605039 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:02:03.205284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:02:22.733206 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:02:42.695124 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:03:02.308818 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:03:21.823747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:03:41.805162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:04:02.452303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:04:21.940524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:04:41.936135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:05:02.576591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:05:22.057187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:05:42.068406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:06:02.552811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:06:22.200499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:06:42.159816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:07:02.666320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:07:22.259597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:07:42.262481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:08:02.772895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:08:22.376303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:08:42.436080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:09:03.406288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:09:22.556547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:09:42.546618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:10:03.135170 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:10:22.634800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:10:42.631809 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:11:03.374875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:11:22.758941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:11:42.755761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:12:02.399926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:12:21.874003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:12:41.883877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:13:02.764802 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:13:21.993248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:13:42.019070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:14:02.643847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:14:22.154872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:14:42.156520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:15:02.898260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:15:22.243331 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:15:42.282842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:16:02.883175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:16:22.460863 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:16:42.410360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:17:03.335261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:17:22.508415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:17:42.507572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:18:03.092113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:18:22.599704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:18:42.592087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:19:03.409567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:19:22.708827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:19:42.699595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:20:02.308318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:20:21.795287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:20:41.810412 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:21:02.464126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:21:21.916729 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:21:41.991568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:22:02.442611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:22:22.081029 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:22:42.070007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:23:02.793376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:23:22.176011 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:23:42.173278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:24:02.929594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:24:22.280073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:24:42.287601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:25:02.897239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:25:22.393475 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:25:42.385021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:26:02.939025 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:26:22.471183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:26:42.468180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:27:03.267295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:27:22.568456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:27:42.564431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:28:03.174046 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:28:22.657914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:28:42.685737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:29:02.516895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:29:21.789116 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:29:41.777345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:30:02.378318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:30:21.926008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:30:41.884985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:31:02.747586 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:31:22.008949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:31:41.989345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:32:02.527952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:32:22.153187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:32:42.151358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:33:02.898082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:33:22.268491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:33:42.270542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:34:02.905752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:34:22.394731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:34:42.411844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:35:03.186652 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:35:22.519875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:35:42.520104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:36:03.021560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:36:22.632045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:36:42.606469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:37:03.495435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:37:22.759722 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:37:42.733082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:38:02.370360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:38:21.851135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:38:41.832855 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:39:02.812990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:39:21.944682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:39:41.939685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:40:02.501900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:40:22.023659 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:40:42.033356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:41:02.867491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:41:22.142069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:41:42.182200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:42:02.834540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:42:22.305597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:42:42.301675 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:43:03.025877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:43:22.394963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:43:42.406758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:44:03.165544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:44:22.515910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:44:42.498925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:45:03.302204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:45:22.600117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:45:42.622128 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:46:03.168862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:46:22.745999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:46:42.713453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:47:02.525814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:47:21.834154 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:47:41.825279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:48:02.365056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:48:21.931088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:48:41.947285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:49:02.965677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:49:22.064313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:49:42.060733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:50:02.680281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:50:22.176082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:50:42.160764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:51:02.825972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:51:22.295026 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:51:42.288638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:52:02.836970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:52:22.391433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:52:42.387625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:53:03.038563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:53:22.500294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:53:42.472601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:54:03.175065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:54:22.596411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:54:42.647952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:55:03.473534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:55:22.740768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:55:42.738647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:56:02.369160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:56:21.842541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:56:41.877512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:57:02.579892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:57:21.974351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:57:41.987294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:59:02.876027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:59:22.171847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 01:59:42.144256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:00:02.740466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:00:22.255238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:00:42.234756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:01:02.984600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:01:22.365203 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:01:42.331669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:02:02.930710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:02:22.444215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:02:42.464060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:03:03.246817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:03:22.562947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:03:42.572044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:04:03.296828 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:04:22.690199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:04:42.681740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:05:02.440152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:05:21.865281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:05:41.775597 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:06:02.365991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:06:21.904438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:06:41.898526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:07:02.653691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:07:21.997400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:07:42.040538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:08:02.681036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:08:22.153013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:08:42.121092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:09:03.038367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:09:22.243305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:09:42.261276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:10:02.818247 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:10:22.353813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:10:42.351711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:11:03.204062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:11:22.451592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:11:42.468135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:12:03.140479 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:12:22.582218 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:12:42.553050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:13:03.332956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:13:22.660926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:13:42.668213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:14:02.303563 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:14:21.805619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:14:41.987379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:15:02.760680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:15:22.164335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:15:42.152439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:16:02.703835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:16:22.338948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:16:42.259549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:17:03.021939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:17:22.364082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:17:42.372268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:18:02.768570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:18:22.473210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:18:42.461998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:19:03.432403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:19:22.561569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:19:42.577593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:20:03.179758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:20:22.784228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:20:42.672113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:21:02.405962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:21:21.793610 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:21:41.771493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:22:02.482077 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:22:21.866092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:22:41.911115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:23:02.578825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:23:21.992545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:23:41.961483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:24:02.687119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:24:22.059822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:24:42.063375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:25:02.766081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:25:22.234057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:25:42.163347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:26:02.952723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:26:22.252098 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:26:42.276276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:27:03.125018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:27:22.379446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:27:42.392788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:28:03.008971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:28:22.499411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:28:42.504459 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:29:03.431249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:29:22.631888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:29:42.623865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:30:03.264121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:30:22.727002 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:30:42.698226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:31:03.222259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:31:22.715698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:31:42.734433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:32:02.244930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:32:21.824470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:32:41.850649 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:33:02.669454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:33:21.984716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:33:41.967496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:34:02.627620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:34:22.092139 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:34:42.104875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:35:02.812050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:35:22.201784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:35:42.231089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:36:02.879091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:36:22.372387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:36:42.352883 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:37:03.169644 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:37:22.471284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:37:42.456037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:38:03.056142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:38:22.569994 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:38:42.597548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:39:03.427153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:39:22.788603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:39:42.696590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:40:02.370135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:40:21.798402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:40:41.778945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:41:02.546945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:41:21.883535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:41:41.901008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:42:02.501725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:42:22.033445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:42:42.082107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:43:02.656839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:43:22.188405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:43:42.187375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:44:02.795154 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:44:22.289947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:44:42.288804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:45:03.160762 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:45:22.393507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:45:42.409700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:46:02.898012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:46:22.516125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:46:42.499268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:47:03.222204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:47:22.581330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:47:42.600791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:48:02.619178 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:48:22.261408 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:48:42.230851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:49:03.157834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:49:22.342781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:49:42.362277 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:50:02.884651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:50:22.467323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:50:42.457955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:51:03.051016 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:51:22.573552 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:51:42.636618 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:52:03.138967 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:52:22.690064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:52:42.680468 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:53:02.383007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:53:21.792523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:53:41.802374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:54:02.517486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:54:21.918233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:54:41.913610 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:55:02.705309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:55:22.038692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:55:42.071313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:56:02.624935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:56:22.224328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:56:42.164832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:57:03.015645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:57:22.310750 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:57:42.271251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:59:03.216434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:59:22.543729 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 02:59:42.614807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:00:03.160821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:00:22.698460 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:00:42.629374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:01:03.300197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:01:22.746985 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:01:42.746636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:02:02.396789 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:02:21.836839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:02:41.834654 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:03:02.615733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:03:21.955297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:03:41.938330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:04:02.490493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:04:22.053212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:04:42.075964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:05:02.927448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:05:22.185678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:05:42.199272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:06:02.781810 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:06:22.310184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:06:42.295396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:07:03.073086 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:07:22.416777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:07:42.408095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:08:02.901940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:08:22.529944 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:08:42.520630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:09:03.340568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:09:22.667215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:09:42.639715 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:10:03.236933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:10:22.733568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:10:42.758553 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:11:02.410889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:11:21.906633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:11:41.891340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:12:02.503168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:12:21.985463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:12:41.986537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:13:02.715584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:13:22.127757 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:13:42.109732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:14:02.857521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:14:22.310988 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:14:42.214384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:15:02.936891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:15:22.330803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:15:42.328498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:16:02.964233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:16:22.449987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:16:42.470758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:17:03.219640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:17:22.576460 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:17:42.549800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:18:03.042574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:18:22.652320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:18:42.640215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:19:03.519020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:19:22.772507 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:19:42.771877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:20:02.451453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:20:21.886721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:20:41.870352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:21:02.739956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:21:21.960635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:21:41.963393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:22:02.582445 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:22:22.060829 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:22:42.056306 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:23:02.782130 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:23:22.174251 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:23:42.171890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:24:02.834860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:24:22.294716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:24:42.312974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:25:03.153359 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:25:22.411534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:25:42.406566 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:26:02.967706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:26:22.551166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:26:42.538017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:27:03.203171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:27:22.673051 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:27:42.654193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:28:03.347177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:28:22.765056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:28:42.752904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:29:02.671648 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:29:21.895006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:29:41.892201 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:30:02.462759 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:30:21.990021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:30:41.974229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:31:02.749579 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:31:22.080497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:31:42.091112 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:32:02.712962 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:32:22.196517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:32:42.212696 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:33:03.086614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:33:22.330714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:33:42.328996 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:34:02.869454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:34:22.444877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:34:42.428783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:35:03.040502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:35:22.531422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:35:42.542990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:36:03.148665 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:36:22.655791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:36:42.613737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:37:03.310239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:37:22.740344 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:37:42.724850 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:38:02.270878 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:38:21.846153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:38:41.819718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:39:02.591562 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:39:21.958800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:39:41.942788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:40:02.561409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:40:22.066085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:40:42.068198 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:41:02.906980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:41:22.215145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:41:42.174632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:42:02.746071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:42:22.292425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:42:42.271804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:43:02.966165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:43:22.368739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:43:42.378807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:44:03.146668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:44:22.592473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:44:42.617309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:45:03.401916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:45:22.723524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:45:42.717683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:46:02.264120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:46:21.825188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:46:41.835222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:47:02.538498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:47:21.961119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:47:41.926554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:48:02.454187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:48:22.012449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:48:42.005454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:49:02.800506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:49:22.125481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:49:42.117341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:50:02.630738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:50:22.220081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:50:42.230030 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:51:03.008236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:51:22.338390 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:51:42.329940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:52:02.925372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:52:22.441173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:52:42.464330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:53:03.215595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:53:22.584414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:53:42.575485 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:54:03.312853 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:54:22.694177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:54:42.721107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:55:02.460657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:55:21.800983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:55:41.793536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:56:02.360880 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:56:21.920475 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:56:41.902501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:57:02.655006 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:57:22.002622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:57:42.007876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:59:02.810731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:59:21.991033 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 03:59:41.969536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:00:02.590392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:00:22.067884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:00:42.063335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:01:02.407134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:01:22.169066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:01:42.180483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:02:02.742879 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:02:22.283537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:02:42.396961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:03:03.181559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:03:22.460334 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:03:42.433908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:04:03.034142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:04:22.558264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:04:42.561874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:05:03.259377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:05:22.670568 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:05:42.666108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:06:02.277678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:06:21.772643 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:06:41.780824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:07:02.474604 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:07:21.875241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:07:41.902070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:08:02.462423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:08:21.997215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:08:41.983720 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:09:02.863019 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:09:22.138945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:09:42.113736 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:10:02.732317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:10:22.286851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:10:42.264272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:11:03.054623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:11:22.365258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:11:42.363377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:12:02.994873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:12:22.477884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:12:42.448545 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:13:03.118341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:13:22.535279 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:13:42.589739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:14:03.205970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:14:22.704828 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:14:42.691968 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:15:02.431905 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:15:21.800877 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:15:41.797522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:16:02.429851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:16:21.901501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:16:41.897909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:17:02.653536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:17:22.006733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:17:42.012629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:18:02.438771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:18:22.163126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:18:42.166723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:19:02.846076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:19:22.266072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:19:42.267870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:20:02.887249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:20:22.370746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:20:42.508600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:21:03.030701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:21:22.476064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:21:42.476249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:22:02.973578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:22:22.592645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:22:42.584900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:23:03.471060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:23:22.696014 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:23:42.709317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:24:02.385068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:24:21.817557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:24:41.806169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:25:02.533276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:25:21.917746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:25:41.924421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:26:02.430035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:26:22.016280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:26:42.062187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:27:02.859094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:27:22.235357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:27:42.208756 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:28:02.954296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:28:22.315811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:28:42.301149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:29:03.201611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:29:22.406048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:29:42.424612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:30:03.073747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:30:22.519520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:30:42.547263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:31:03.204477 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:31:22.651062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:31:42.647131 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:32:03.290906 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:32:22.758214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:32:42.726921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:33:02.424632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:33:21.875812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:33:41.836727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:34:02.490397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:34:21.923330 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:34:41.990788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:35:02.854881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:35:22.147449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:35:42.121830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:36:02.738018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:36:22.210261 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:36:42.196058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:37:03.074683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:37:22.307980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:37:42.353816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:38:02.745724 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:38:22.464406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:38:42.467090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:39:03.251845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:39:22.577845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:39:42.583815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:40:03.272842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:40:22.709743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:40:42.682069 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:41:02.477120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:41:21.798899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:41:41.800553 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:42:02.461121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:42:21.903727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:42:41.907141 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:43:02.531606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:43:22.007062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:43:42.012569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:44:02.663825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:44:22.127867 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:44:42.170413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:45:02.848511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:45:22.302908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:45:42.289365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:46:02.791145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:46:22.388013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:46:42.388167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:47:03.098013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:47:22.500237 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:47:42.483205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:48:03.089352 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:48:22.582064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:48:42.573462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:49:03.459476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:49:22.679341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:49:42.680800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:50:02.193302 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:50:21.784646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:50:41.773004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:51:02.606451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:51:21.896900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:51:41.929111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:52:02.466496 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:52:22.035437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:52:42.012893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:53:02.670536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:53:22.105614 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:53:42.124376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:54:02.860179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:54:22.226730 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:54:42.232576 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:55:02.985095 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:55:22.321250 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:55:42.470366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:56:02.899887 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:56:22.457534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:56:42.431740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:57:03.208653 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:57:22.547286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:57:42.551685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:59:03.332465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:59:22.703175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 04:59:42.704421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:00:02.309733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:00:21.881282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:00:41.793645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:01:02.614137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:01:21.907768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:01:41.885708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:02:02.463664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:02:21.979698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:02:41.987630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:03:02.733995 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:03:22.106874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:03:42.103098 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:04:02.762313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:04:22.223554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:04:42.236584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:05:02.980463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:05:22.344957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:05:42.368433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:06:02.811122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:06:22.461226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:06:42.457115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:07:03.201500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:07:22.588333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:07:42.560920 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:08:03.196026 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:08:22.663015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:08:42.657848 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:09:03.546861 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:09:22.793752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:09:42.781160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:10:02.409836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:10:22.027320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:10:41.903005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:11:02.608184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:11:22.075714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:11:42.049470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:12:02.472365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:12:22.174926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:12:42.264557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:13:02.980572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:13:22.530964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:13:42.339768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:14:03.038193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:14:22.480346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:14:42.464530 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:15:03.291169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:15:22.576280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:15:42.566891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:16:03.117579 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:16:22.704914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:16:42.708782 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:17:02.310934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:17:21.836501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:17:41.815168 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:18:02.462165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:18:22.135712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:18:41.898038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:19:02.665215 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:19:22.170165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:19:42.016769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:20:02.640316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:20:22.107784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:20:42.098743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:21:02.930454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:21:22.264835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:21:42.225832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:22:02.735432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:22:22.329171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:22:42.348603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:23:03.219263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:23:22.437539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:23:42.458556 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:24:03.253281 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:24:22.612738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:24:42.583550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:25:03.391297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:25:22.700015 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:25:42.700619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:26:02.341644 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:26:21.820180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:26:41.784797 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:27:02.380067 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:27:21.887765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:27:41.892679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:28:02.422671 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:28:22.000771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:28:41.981107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:29:02.943958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:29:22.090753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:29:42.108768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:30:02.565405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:30:22.220638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:30:42.192328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:31:03.031372 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:31:22.321873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:31:42.295696 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:32:02.935481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:32:22.421212 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:32:42.392867 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:33:02.846972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:33:22.525357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:33:42.501470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:34:03.230542 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:34:22.604152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:34:42.615209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:35:03.276179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:35:22.755772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:35:42.745191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:36:02.329854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:36:21.853351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:36:41.835787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:37:02.637668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:37:21.992097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:37:41.982437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:38:02.555515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:38:22.073403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:38:42.058765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:39:02.910898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:39:22.166964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:39:42.167856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:40:02.675280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:40:22.280528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:40:42.254066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:41:03.153066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:41:22.364365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:41:42.384953 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:42:02.879436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:42:22.495084 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:42:42.494668 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:43:03.290629 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:43:22.620115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:43:42.600240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:44:03.296976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:44:22.714037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:44:42.705469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:45:02.533374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:45:21.820437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:45:41.813395 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:46:02.544119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:46:21.955245 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:46:41.922572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:47:02.610812 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:47:22.074560 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:47:42.017180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:48:02.566116 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:48:22.128088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:48:42.142374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:49:03.087258 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:49:22.252291 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:49:42.243801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:50:02.818354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:50:22.343930 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:50:42.346900 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:51:03.140405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:51:22.449346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:51:42.453823 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:52:03.198818 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:52:22.594973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:52:42.579141 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:53:03.288222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:53:22.691165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:53:42.676018 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:54:02.269577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:54:21.816211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:54:41.768972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:55:02.604091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:55:21.878622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:55:41.878071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:56:02.534537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:56:21.987403 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:56:41.965646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:57:02.811107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:57:22.085247 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:57:42.116052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:59:03.299574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:59:22.201969 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 05:59:42.259282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:00:03.049519 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:00:22.387677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:00:42.354625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:01:03.435921 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:01:22.479421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:01:42.635264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:02:03.236464 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:02:22.613225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:02:42.636088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:03:03.690452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:03:22.745615 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:03:42.767263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:04:02.660511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:04:21.890570 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:04:41.885185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:05:03.011115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:05:22.011591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:05:41.989241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:06:02.688574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:06:22.087037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:06:42.068274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:07:03.137147 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:07:22.155945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:07:42.195489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:08:03.034909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:08:22.325611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:08:42.328583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:09:03.545401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:09:22.450732 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:09:42.435452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:10:03.216929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:10:22.540368 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:10:42.508019 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:11:03.436402 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:11:22.673745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:11:42.589976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:12:03.396011 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:12:22.706045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:12:42.849707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:13:02.757633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:13:21.842229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:13:41.807062 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:14:02.716826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:14:21.934374 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:14:41.945195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:15:02.814768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:15:22.056687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:15:42.040559 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:16:02.959243 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:16:22.154060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:16:42.150534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:17:03.179936 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:17:22.297259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:17:42.289192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:18:03.029432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:18:22.403606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:18:42.409207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:19:03.376457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:19:22.525119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:19:42.532957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:20:03.324705 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:20:24.588501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:20:42.722726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:21:03.574428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:21:22.730355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:21:42.718431 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:22:02.582088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:22:21.840188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:22:41.828893 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:23:02.861439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:23:21.939138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:23:41.955963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:24:02.964205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:24:22.083494 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:24:42.096456 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:25:03.092777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:25:22.231698 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:25:42.268201 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:26:03.080949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:26:22.416595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:26:42.359028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:27:03.460555 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:27:22.472679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:27:42.470541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:28:03.121104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:28:22.562909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:28:42.589379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:29:03.836908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:29:22.797405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:29:42.788100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:30:02.528081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:30:21.901669 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:30:42.006684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:31:02.850913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:31:21.975341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:31:41.981925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:32:02.855724 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:32:22.183928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:32:42.119754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:33:03.084713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:33:22.216493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:33:42.237133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:34:03.203349 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:34:22.320982 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:34:42.356156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:35:03.325318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:35:22.462804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:35:42.447609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:36:03.280771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:36:22.559814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:36:42.543692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:37:03.350973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:37:22.687323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:37:42.641134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:38:03.516433 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:38:22.905684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:38:43.776411 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:39:02.919481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:39:21.989655 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:39:41.881400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:40:02.739830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:40:21.989133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:40:41.959385 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:41:02.923872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:41:22.241870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:41:42.048797 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:42:02.766612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:42:22.163876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:42:42.237053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:43:03.331996 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:43:22.438932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:43:42.374166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:44:03.269945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:44:22.500348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:44:42.486617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:45:03.366627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:45:22.595804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:45:42.593824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:46:03.271584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:46:22.686830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:46:42.699370 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:47:02.762070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:47:21.957262 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:47:41.827380 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:48:02.604689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:48:21.921845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:48:41.903007 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:49:02.941365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:49:22.025410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:49:42.005532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:50:03.125917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:50:22.449704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:50:42.379143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:51:03.141667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:51:22.504531 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:51:42.508378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:52:03.319864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:52:22.617034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:52:42.633449 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:53:03.681373 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:53:22.742999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:53:42.757405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:54:02.761744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:54:21.866010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:54:41.870082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:55:02.907875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:55:22.261473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:55:41.961159 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:56:02.686902 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:56:22.087021 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:56:42.047225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:57:02.976580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:57:22.212317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:57:42.169602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:59:03.343526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:59:22.377136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 06:59:42.328738 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:00:03.036917 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:00:22.481975 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:00:42.399200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:01:03.268850 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:01:22.646806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:01:42.509072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:02:03.112857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:02:22.632676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:02:42.619926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:03:03.688537 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:03:22.741581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:03:42.768886 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:04:02.657940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:04:21.916737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:04:41.876998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:05:03.003821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:05:22.316384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:05:42.015203 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:06:02.723956 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:06:22.113149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:06:42.185499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:07:03.143322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:07:22.382787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:07:42.306294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:08:03.010345 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:08:22.407713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:08:42.457935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:09:03.574572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:09:22.709187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:09:42.590980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:10:03.420295 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:10:22.686013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:10:42.669259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:11:02.704703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:11:21.779760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:11:41.768381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:12:02.584497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:12:21.881163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:12:41.861117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:13:02.916319 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:13:21.979166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:13:41.978524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:14:02.881792 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:14:22.101891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:14:42.106274 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:15:03.186938 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:15:22.228650 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:15:42.194868 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:16:03.087835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:16:22.633701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:16:42.298016 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:17:03.114712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:17:22.414499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:17:42.402532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:18:03.326846 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:18:22.735628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:18:42.512184 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:19:03.716522 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:19:22.629419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:19:42.615289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:20:03.437367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:20:22.714713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:20:42.706112 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:21:02.821976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:21:22.137549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:21:41.809075 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:22:02.615992 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:22:21.904548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:22:41.901517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:23:03.064565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:23:22.004981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:23:41.997594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:24:02.836743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:24:22.238889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:24:42.200515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:25:03.327938 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:25:22.310190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:25:42.297438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:26:03.035213 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:26:22.398718 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:26:42.408362 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:27:03.443688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:27:22.551852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:27:42.492180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:28:03.001134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:28:22.676183 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:28:42.636358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:29:03.900194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:29:22.858438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:29:42.763196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:30:02.523952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:30:21.860844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:30:41.858335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:31:02.892012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:31:21.943523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:31:42.113907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:32:02.748856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:32:22.103779 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:32:42.101035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:33:03.114753 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:33:22.237535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:33:42.231800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:34:03.115974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:34:22.351056 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:34:42.337508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:35:03.263795 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:35:22.448765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:35:42.508276 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:36:03.388135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:36:22.614604 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:36:42.624948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:37:03.607796 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:37:22.713438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:37:42.742658 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:38:02.651316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:38:22.155114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:38:41.835664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:39:02.876557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:39:22.035093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:39:42.027298 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:40:02.731501 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:40:22.020520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:40:42.037808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:41:03.019174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:41:22.221911 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:41:42.166342 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:42:02.919094 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:42:22.276246 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:42:42.249365 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:43:03.177280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:43:22.357047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:43:42.365105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:44:03.313377 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:44:22.538427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:44:42.476794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:45:03.438663 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:45:22.597934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:45:42.565539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:46:03.445394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:46:22.685791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:46:42.648489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:47:03.737221 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:47:22.764353 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:47:42.762865 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:48:02.628460 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:48:21.990499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:48:41.951820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:49:03.162351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:49:22.101854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:49:42.139392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:50:02.805017 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:50:22.255509 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:50:42.236375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:51:03.221060 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:51:22.347813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:51:42.328109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:52:03.151308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:52:22.447271 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:52:42.423421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:53:03.549638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:53:22.546091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:53:42.592115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:54:03.560108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:54:22.716211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:54:42.708901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:55:02.479080 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:55:21.894122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:55:41.800473 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:56:02.651222 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:56:21.911590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:56:41.899646 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:57:02.860954 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:57:22.014771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:57:42.178461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:59:02.945394 SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite limit=limit*nb_batch, order=order, verbose = verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status cur.execute(query_select) sqlite3.OperationalError: database is locked Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:59:21.825710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 07:59:41.825254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:00:02.667192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:00:21.934858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:00:41.931283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:01:02.931205 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:01:22.106335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:01:42.026528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:02:02.655335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:02:22.152790 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:02:42.129173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:03:03.015892 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:03:22.237844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:03:42.244176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:04:03.068611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:04:22.363142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:04:42.374356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:05:03.541145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:05:22.502357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:05:42.464963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:06:03.289863 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:06:22.597740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:06:42.624028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:07:03.694285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:07:22.735578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:07:42.726713 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:08:02.596520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:08:21.852776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:08:41.798444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:09:02.752530 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:09:21.935554 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:09:41.936811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:10:02.690312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:10:22.035091 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:10:42.026884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:11:03.116020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:11:22.208364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:11:42.155406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:12:02.948367 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:12:22.338227 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:12:42.231310 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:13:03.112267 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:13:22.379771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:13:42.371958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:14:03.147866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:14:22.526699 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:14:42.517582 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:15:03.464020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:15:22.631171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:15:42.639777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:16:03.381361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:16:22.768838 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:16:42.726947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:17:02.732532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:17:21.841984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:17:41.823176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:18:02.464850 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:18:22.146538 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:18:41.932387 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:19:03.088152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:19:22.048378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:19:42.064923 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:20:02.729557 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:20:22.314108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:20:42.149725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:21:03.220831 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:21:22.275737 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:21:42.246624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:22:02.935471 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:22:22.419870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:22:42.337388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:23:03.519676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:23:22.492923 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:23:42.444472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:24:03.413108 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:24:22.571692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:24:42.631682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:25:03.508834 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:25:22.672425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:25:42.701113 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:26:02.491648 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:26:21.813357 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:26:41.773038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:27:02.599984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:27:21.884298 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:27:41.898758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:28:02.674555 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:28:22.003639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:28:41.991578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:29:03.250797 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:29:22.129199 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:29:42.128467 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:30:02.881947 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:30:22.238761 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:30:42.232041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:31:03.270575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:31:22.337107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:31:42.332468 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:32:03.160695 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:32:22.432945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:32:42.441229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:33:03.547071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:33:22.554966 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:33:42.547733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:34:03.488800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:34:22.645681 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:34:42.654856 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:35:03.551991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:35:22.758416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:35:42.789820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:36:02.516800 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:36:21.894903 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:36:41.874103 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:37:02.767435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:37:22.043191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:37:41.955289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:38:02.790499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:38:22.039121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:38:42.136043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:39:03.204106 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:39:22.260743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:39:42.273731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:40:03.031802 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:40:22.395092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:40:42.377187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:41:03.253192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:41:22.517404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:41:42.494135 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:42:03.324207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:42:22.585151 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:42:42.592243 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:43:03.566528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:43:22.721926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:43:42.752932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:44:02.559313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:44:21.858787 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:44:41.855512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:45:02.908864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:45:21.995488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:45:42.109177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:46:02.728635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:46:22.063527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:46:42.055256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:47:03.090497 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:47:22.167785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:47:42.161398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:48:02.894690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:48:22.299586 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:48:42.257836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:49:03.408993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:49:22.364133 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:49:42.393463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:50:03.285089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:50:22.505996 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:50:42.515767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:51:03.541476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:51:22.625940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:51:42.631567 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:52:03.403087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:52:22.769971 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:52:42.776919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:53:02.791530 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:53:21.882161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:53:41.888045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:54:02.837870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:54:22.003399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:54:42.043303 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:55:03.138476 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:55:22.156089 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:55:42.154503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:56:02.887556 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:56:22.251751 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:56:42.240699 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:57:03.247577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:57:22.375573 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:57:42.610664 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:59:03.078786 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:59:22.227840 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 08:59:42.196590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:00:02.906410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:00:22.282174 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:00:42.277009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:01:03.181239 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:01:22.371491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:01:42.423773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:02:03.177328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:02:22.511899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:02:42.516974 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:03:03.478400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:03:22.626161 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:03:42.627884 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:04:03.501871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:04:22.761159 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:04:42.726656 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:05:02.576777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:05:21.843484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:05:41.846943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:06:02.911826 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:06:22.332111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:06:42.426192 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:07:03.414369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:07:22.430321 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:07:42.443871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:08:03.224391 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:08:22.579093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:08:42.578142 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:09:03.469090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:09:22.749354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:09:42.712857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:10:02.541129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:10:21.820773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:10:41.824361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:11:02.852470 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:11:21.926409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:11:41.922393 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:12:02.612964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:12:22.049862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:12:42.058172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:13:03.237590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:13:22.165516 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:13:42.173126 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:14:03.092233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:14:22.294369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:14:42.268517 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:15:03.143396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:15:22.359524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:15:42.382173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:16:03.100909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:16:22.487584 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:16:42.507446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:17:03.512453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:17:22.620396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:17:42.617569 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:18:03.418580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:18:22.724244 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:18:42.705514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:19:02.664109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:19:21.903845 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:19:41.845254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:20:02.875136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:20:22.108175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:20:42.116257 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:21:03.027429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:21:22.240916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:21:42.251949 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:22:03.086527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:22:22.348228 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:22:42.342523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:23:03.497970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:23:22.505493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:23:42.467453 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:24:03.411617 SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite limit=limit*nb_batch, order=order, verbose = verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status cur.execute(query_select) sqlite3.OperationalError: database is locked Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:24:22.571294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:24:42.551210 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:25:03.431181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:25:22.666847 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:25:42.655565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:26:03.552451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:26:22.771458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:26:42.764361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:27:02.788639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:27:21.880388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:27:41.876547 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:28:02.584097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:28:22.018260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:28:42.025928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:29:03.128710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:29:22.156278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:29:42.173506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:30:03.011639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:30:22.256495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:30:42.272482 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:31:03.294532 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:31:22.368440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:31:42.377204 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:32:03.270612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:32:22.493964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:32:42.500162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:33:03.433984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:33:22.620744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:33:42.617697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:34:03.574793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:34:22.739427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:34:42.716162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:35:02.796156 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:35:21.854735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:35:41.855107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:36:02.584093 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:36:21.991114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:36:41.940520 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:37:02.769269 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:37:22.033960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:37:42.063531 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:38:02.917716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:38:22.209837 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:38:42.156686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:39:03.197752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:39:22.284788 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:39:42.286913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:40:03.094505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:40:22.379772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:40:42.367309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:41:03.423821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:41:22.621037 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:41:42.513980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:42:03.323639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:42:22.671052 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:42:42.596881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:43:03.567038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:43:22.705045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:43:42.710549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:44:02.489074 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:44:21.822110 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:44:41.814406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:45:02.810604 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:45:21.948703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:45:41.923364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:46:02.691775 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:46:21.996852 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:46:41.997144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:47:02.827688 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:47:22.113368 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:47:42.172235 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:48:03.044463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:48:22.276375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:48:42.325088 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:49:03.375224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:49:22.548027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:49:42.430809 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:50:03.315379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:50:22.531185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:50:42.582866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:51:03.606808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:51:22.736284 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:51:42.751746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:52:02.514898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:52:21.866436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:52:41.935144 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:53:02.835443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:53:22.037127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:53:42.064619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:54:02.913709 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:54:22.194226 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:54:42.176875 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:55:02.980202 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:55:22.279716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:55:42.284612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:56:03.016850 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:56:22.390317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:56:42.392799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:57:03.342896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:57:22.513593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:57:42.558190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:59:03.290079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:59:22.353263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 09:59:42.343735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:00:03.040744 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:00:22.535773 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:00:42.446441 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:01:03.537502 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:01:22.641549 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:01:42.538185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:02:03.339308 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:02:22.635136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:02:42.667861 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:03:02.653862 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:03:21.772714 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:03:41.768931 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:04:02.591075 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:04:21.868839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:04:41.862066 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:05:02.873013 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:05:22.148356 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:05:42.051859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:06:02.856957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:06:22.150991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:06:42.139817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:07:03.067935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:07:22.250950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:07:42.250369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:08:03.127121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:08:22.347027 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:08:42.328660 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:09:03.679774 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:09:22.452581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:09:42.449181 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:10:03.198717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:10:22.585256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:10:42.538272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:11:03.578589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:11:22.664728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:11:42.675722 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:12:02.403488 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:12:21.800658 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:12:41.784587 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:13:02.810427 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:13:21.876638 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:13:41.877249 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:14:02.943300 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:14:21.987511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:14:41.992703 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:15:03.032624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:15:22.086769 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:15:42.101005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:16:02.869566 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:16:22.208394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:16:42.196503 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:17:02.911122 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:17:22.302844 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:17:42.296540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:18:03.071540 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 341, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_14082025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 631, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='rene.fotonower-preprod.com', port=5005): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:18:22.396577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:18:42.398735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:19:03.535835 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:19:22.509926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:19:42.517396 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:20:03.056090 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:20:22.641987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:20:42.607981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:21:03.537166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:21:22.721321 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:21:42.720723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:22:02.494057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:22:21.818766 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:22:41.826634 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:23:02.822888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:23:21.911593 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:23:41.937097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:24:02.813691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:24:22.045172 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:24:42.087486 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:25:03.165959 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:25:22.261214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:25:42.239072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:26:02.894583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:26:22.338061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:26:42.317118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:27:03.409035 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:27:22.445628 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:27:42.449505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:28:03.256335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:28:22.543578 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:28:42.580909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:29:03.887694 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:29:22.707163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:29:42.678929 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:30:02.541438 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:30:21.769546 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:30:41.765746 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:31:02.738036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:31:21.884290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:31:41.862023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:32:02.694778 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:32:22.096513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:32:41.951434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:33:02.825924 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:33:22.031895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:33:42.063071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:34:02.911526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:34:22.219621 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:34:42.166926 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:35:03.296973 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:35:22.274115 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u rene.fotonower-preprod.com:5005 -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P http --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:35:42.390716 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True error with portfolio, creating one with hour/min Maybe name is duplicate : angers_montee_convoyeur_1021_14082025 couldn't create portfolio, exiting... SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Status : 500 Content : b'\n\n500 Internal Server Error\n

Internal Server Error

\n

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

\n' All Response : Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:36:03.141907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : angers_montee_convoyeur_1021_14082025 fc.token : f163e3f6030719b36ae4ea6514879e05 True 4892 3531594 4892 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; {'portfolio_id': 25975826, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1755160624000} in upload media Upload medias : ['/media/data/images/14082025/00/01/image_14082025_00_01_49_10350.jpg', '/media/data/images/14082025/00/01/image_14082025_00_01_58_9118.jpg', '/media/data/images/14082025/00/02/image_14082025_00_02_09_10651.jpg', '/media/data/images/14082025/00/02/image_14082025_00_02_19_10375.jpg', '/media/data/images/14082025/00/02/image_14082025_00_02_38_10350.jpg', '/media/data/images/14082025/00/02/image_14082025_00_02_49_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/01/image_14082025_00_01_49_10350.jpg /media/data/images/14082025/00/01/image_14082025_00_01_58_9118.jpg /media/data/images/14082025/00/02/image_14082025_00_02_09_10651.jpg /media/data/images/14082025/00/02/image_14082025_00_02_19_10375.jpg /media/data/images/14082025/00/02/image_14082025_00_02_38_10350.jpg /media/data/images/14082025/00/02/image_14082025_00_02_49_10460.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977179","1376977110","1376977115","1376977189","1376977105","1376977120"],"photo_ids_order":["1376977105","1376977110","1376977115","1376977120","1376977179","1376977189"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/914a220358805540803cc2706186e5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6716988069910724832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160626999,"filename":"image_14082025_00_02_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/501e333e15ba072a3a950c209f5bc87f.jpg","text":"TemporaryFile(/tmp/multipartBody5322141075857536975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160626999,"filename":"image_14082025_00_01_58_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7fd87cd789873078aa1d1c167ea6293.jpg","text":"TemporaryFile(/tmp/multipartBody6790069190624062898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160626999,"filename":"image_14082025_00_02_09_10651.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2e17ef34a6b8306bf3b4641b039a6df.jpg","text":"TemporaryFile(/tmp/multipartBody3561812359972897558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160626999,"filename":"image_14082025_00_02_49_10460.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f77f32129ab2db4ae8fe0ef200ced612.jpg","text":"TemporaryFile(/tmp/multipartBody4796574530959536031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160626999,"filename":"image_14082025_00_01_49_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/102507a043167cc44e68e08cbeb8f7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3446282138340097302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160626999,"filename":"image_14082025_00_02_19_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977115","file1":"1376977110","file0":"1376977105","file4":"1376977179","file5":"1376977189","file3":"1376977120"},"map_files_photo_id_array":[{"photo_id":"1376977189","filename":"file5"},{"photo_id":"1376977115","filename":"file2"},{"photo_id":"1376977179","filename":"file4"},{"photo_id":"1376977110","filename":"file1"},{"photo_id":"1376977105","filename":"file0"},{"photo_id":"1376977120","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977179":["hashtag1","hashtag2"]},{"1376977110":["hashtag1","hashtag2"]},{"1376977115":["hashtag1","hashtag2"]},{"1376977189":["hashtag1","hashtag2"]},{"1376977105":["hashtag1","hashtag2"]},{"1376977120":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977179, 1376977110, 1376977115, 1376977189, 1376977105, 1376977120)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 48.523958921432495 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:37:03.403087 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/02/image_14082025_00_02_58_9202.jpg', '/media/data/images/14082025/00/03/image_14082025_00_03_08_10319.jpg', '/media/data/images/14082025/00/03/image_14082025_00_03_38_10433.jpg', '/media/data/images/14082025/00/03/image_14082025_00_03_49_10404.jpg', '/media/data/images/14082025/00/04/image_14082025_00_04_38_10354.jpg', '/media/data/images/14082025/00/04/image_14082025_00_04_49_10434.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/02/image_14082025_00_02_58_9202.jpg /media/data/images/14082025/00/03/image_14082025_00_03_08_10319.jpg /media/data/images/14082025/00/03/image_14082025_00_03_38_10433.jpg /media/data/images/14082025/00/03/image_14082025_00_03_49_10404.jpg /media/data/images/14082025/00/04/image_14082025_00_04_38_10354.jpg /media/data/images/14082025/00/04/image_14082025_00_04_49_10434.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977407","1376977388","1376977403","1376977346","1376977412","1376977400"],"photo_ids_order":["1376977346","1376977388","1376977400","1376977403","1376977407","1376977412"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5aa71b8037c35495eb7f3d3247d2d710.jpg","text":"TemporaryFile(/tmp/multipartBody5504023562343371250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160684397,"filename":"image_14082025_00_04_38_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d395b82aa2367349375c22a529cfae22.jpg","text":"TemporaryFile(/tmp/multipartBody5035642075400676274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160684397,"filename":"image_14082025_00_03_08_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3667b0639f3f6090b046afed9b9aaf75.jpg","text":"TemporaryFile(/tmp/multipartBody336444966264455377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160684397,"filename":"image_14082025_00_03_49_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8bab878163b9edc5b807398211f23d74.jpg","text":"TemporaryFile(/tmp/multipartBody555779277416702284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160684397,"filename":"image_14082025_00_02_58_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d55d20efd1f99e228055ccd4fcaab62e.jpg","text":"TemporaryFile(/tmp/multipartBody3761580744126470154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160684397,"filename":"image_14082025_00_04_49_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab19b5b532984d3a55b9f121fe43bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1193405029176053270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160684397,"filename":"image_14082025_00_03_38_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977400","file1":"1376977388","file0":"1376977346","file4":"1376977407","file5":"1376977412","file3":"1376977403"},"map_files_photo_id_array":[{"photo_id":"1376977412","filename":"file5"},{"photo_id":"1376977400","filename":"file2"},{"photo_id":"1376977407","filename":"file4"},{"photo_id":"1376977388","filename":"file1"},{"photo_id":"1376977346","filename":"file0"},{"photo_id":"1376977403","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977407":["hashtag1","hashtag2"]},{"1376977388":["hashtag1","hashtag2"]},{"1376977403":["hashtag1","hashtag2"]},{"1376977346":["hashtag1","hashtag2"]},{"1376977412":["hashtag1","hashtag2"]},{"1376977400":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977407, 1376977388, 1376977403, 1376977346, 1376977412, 1376977400)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.739134073257446 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:38:03.355573 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/04/image_14082025_00_04_58_9112.jpg', '/media/data/images/14082025/00/05/image_14082025_00_05_49_10402.jpg', '/media/data/images/14082025/00/05/image_14082025_00_05_58_9161.jpg', '/media/data/images/14082025/00/06/image_14082025_00_06_38_10403.jpg', '/media/data/images/14082025/00/06/image_14082025_00_06_49_10478.jpg', '/media/data/images/14082025/00/07/image_14082025_00_07_19_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/04/image_14082025_00_04_58_9112.jpg /media/data/images/14082025/00/05/image_14082025_00_05_49_10402.jpg /media/data/images/14082025/00/05/image_14082025_00_05_58_9161.jpg /media/data/images/14082025/00/06/image_14082025_00_06_38_10403.jpg /media/data/images/14082025/00/06/image_14082025_00_06_49_10478.jpg /media/data/images/14082025/00/07/image_14082025_00_07_19_10364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977536","1376977539","1376977530","1376977543","1376977525","1376977491"],"photo_ids_order":["1376977491","1376977525","1376977530","1376977536","1376977539","1376977543"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ce6a097e05d02346a2650cfea6fc0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6306012131709890822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160744332,"filename":"image_14082025_00_06_38_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d91dbe1b5a3635d938c07a7adca7e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1390968910003532257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160744332,"filename":"image_14082025_00_06_49_10478.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/41f5df9b21e513d129c27ee95c4fe8ec.jpg","text":"TemporaryFile(/tmp/multipartBody5774308051819912169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160744332,"filename":"image_14082025_00_05_58_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63ba90353c1784b2e0f5217637fa1277.jpg","text":"TemporaryFile(/tmp/multipartBody3731671509181405636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160744332,"filename":"image_14082025_00_07_19_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3fff592406df96a3547214868e17b86.jpg","text":"TemporaryFile(/tmp/multipartBody1732229565862466992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160744332,"filename":"image_14082025_00_05_49_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de35fca375aa709b6b8b8ee846c7d728.jpg","text":"TemporaryFile(/tmp/multipartBody5079340579740276455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160744332,"filename":"image_14082025_00_04_58_9112.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977530","file1":"1376977525","file0":"1376977491","file4":"1376977539","file5":"1376977543","file3":"1376977536"},"map_files_photo_id_array":[{"photo_id":"1376977543","filename":"file5"},{"photo_id":"1376977530","filename":"file2"},{"photo_id":"1376977539","filename":"file4"},{"photo_id":"1376977525","filename":"file1"},{"photo_id":"1376977491","filename":"file0"},{"photo_id":"1376977536","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977536":["hashtag1","hashtag2"]},{"1376977539":["hashtag1","hashtag2"]},{"1376977530":["hashtag1","hashtag2"]},{"1376977543":["hashtag1","hashtag2"]},{"1376977525":["hashtag1","hashtag2"]},{"1376977491":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977536, 1376977539, 1376977530, 1376977543, 1376977525, 1376977491)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.47123837471008 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:39:02.927683 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/07/image_14082025_00_07_48_10352.jpg', '/media/data/images/14082025/00/07/image_14082025_00_07_59_10453.jpg', '/media/data/images/14082025/00/08/image_14082025_00_08_08_9236.jpg', '/media/data/images/14082025/00/08/image_14082025_00_08_18_10359.jpg', '/media/data/images/14082025/00/08/image_14082025_00_08_29_10417.jpg', '/media/data/images/14082025/00/08/image_14082025_00_08_38_9118.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/07/image_14082025_00_07_48_10352.jpg /media/data/images/14082025/00/07/image_14082025_00_07_59_10453.jpg /media/data/images/14082025/00/08/image_14082025_00_08_08_9236.jpg /media/data/images/14082025/00/08/image_14082025_00_08_18_10359.jpg /media/data/images/14082025/00/08/image_14082025_00_08_29_10417.jpg /media/data/images/14082025/00/08/image_14082025_00_08_38_9118.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977652","1376977655","1376977640","1376977634","1376977643","1376977648"],"photo_ids_order":["1376977634","1376977640","1376977643","1376977648","1376977652","1376977655"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89d5e9613985b705d616ebfe9d377159.jpg","text":"TemporaryFile(/tmp/multipartBody5928712394468581915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160803902,"filename":"image_14082025_00_08_29_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d09b11af61b6672ea30307b4653c360b.jpg","text":"TemporaryFile(/tmp/multipartBody8493292599796819234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160803902,"filename":"image_14082025_00_08_38_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ee0fb982840d12561bcc056572d437c.jpg","text":"TemporaryFile(/tmp/multipartBody1892538185480240378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160803902,"filename":"image_14082025_00_07_59_10453.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82f88fb57150f0e4b291a935aa27ca8f.jpg","text":"TemporaryFile(/tmp/multipartBody969905220233151883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160803902,"filename":"image_14082025_00_07_48_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/381d313c934692527d28a1f72ecba0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1748064169317974087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160803902,"filename":"image_14082025_00_08_08_9236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de5e41a7e50d4e7d1651a3e960d70aaa.jpg","text":"TemporaryFile(/tmp/multipartBody1952535578296625535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160803902,"filename":"image_14082025_00_08_18_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977643","file1":"1376977640","file0":"1376977634","file4":"1376977652","file5":"1376977655","file3":"1376977648"},"map_files_photo_id_array":[{"photo_id":"1376977655","filename":"file5"},{"photo_id":"1376977643","filename":"file2"},{"photo_id":"1376977652","filename":"file4"},{"photo_id":"1376977640","filename":"file1"},{"photo_id":"1376977634","filename":"file0"},{"photo_id":"1376977648","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977652":["hashtag1","hashtag2"]},{"1376977655":["hashtag1","hashtag2"]},{"1376977640":["hashtag1","hashtag2"]},{"1376977634":["hashtag1","hashtag2"]},{"1376977643":["hashtag1","hashtag2"]},{"1376977648":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977652, 1376977655, 1376977640, 1376977634, 1376977643, 1376977648)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.32778787612915 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:40:02.815907 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/08/image_14082025_00_08_48_10413.jpg', '/media/data/images/14082025/00/08/image_14082025_00_08_59_10456.jpg', '/media/data/images/14082025/00/09/image_14082025_00_09_08_9160.jpg', '/media/data/images/14082025/00/09/image_14082025_00_09_19_10615.jpg', '/media/data/images/14082025/00/09/image_14082025_00_09_29_10360.jpg', '/media/data/images/14082025/00/09/image_14082025_00_09_38_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/08/image_14082025_00_08_48_10413.jpg /media/data/images/14082025/00/08/image_14082025_00_08_59_10456.jpg /media/data/images/14082025/00/09/image_14082025_00_09_08_9160.jpg /media/data/images/14082025/00/09/image_14082025_00_09_19_10615.jpg /media/data/images/14082025/00/09/image_14082025_00_09_29_10360.jpg /media/data/images/14082025/00/09/image_14082025_00_09_38_9123.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977674","1376977682","1376977676","1376977679","1376977667","1376977671"],"photo_ids_order":["1376977667","1376977671","1376977674","1376977676","1376977679","1376977682"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d99f15145f6df110d4914e8dfcc6c82.jpg","text":"TemporaryFile(/tmp/multipartBody2847719933929172769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160863764,"filename":"image_14082025_00_09_08_9160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90683736f7f8579297aecf9b87df428e.jpg","text":"TemporaryFile(/tmp/multipartBody5966387901532995373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160863764,"filename":"image_14082025_00_09_38_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f07b3c3f9cf60882125a8700d25f5e34.jpg","text":"TemporaryFile(/tmp/multipartBody8112524615102413548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160863764,"filename":"image_14082025_00_09_19_10615.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96693da3fa886262b58a225d4c1f7733.jpg","text":"TemporaryFile(/tmp/multipartBody4932628752523220299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160863764,"filename":"image_14082025_00_09_29_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd6233c9bdb6928b5b3e00a64dc01ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4860249421498706703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160863764,"filename":"image_14082025_00_08_48_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/037e1036aa0b473b907773f771ebeb7c.jpg","text":"TemporaryFile(/tmp/multipartBody4162200362333667299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160863764,"filename":"image_14082025_00_08_59_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977674","file1":"1376977671","file0":"1376977667","file4":"1376977679","file5":"1376977682","file3":"1376977676"},"map_files_photo_id_array":[{"photo_id":"1376977682","filename":"file5"},{"photo_id":"1376977674","filename":"file2"},{"photo_id":"1376977679","filename":"file4"},{"photo_id":"1376977671","filename":"file1"},{"photo_id":"1376977667","filename":"file0"},{"photo_id":"1376977676","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977674":["hashtag1","hashtag2"]},{"1376977682":["hashtag1","hashtag2"]},{"1376977676":["hashtag1","hashtag2"]},{"1376977679":["hashtag1","hashtag2"]},{"1376977667":["hashtag1","hashtag2"]},{"1376977671":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977674, 1376977682, 1376977676, 1376977679, 1376977667, 1376977671)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.736613750457764 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:41:03.100009 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/09/image_14082025_00_09_59_10351.jpg', '/media/data/images/14082025/00/10/image_14082025_00_10_18_10395.jpg', '/media/data/images/14082025/00/10/image_14082025_00_10_29_10354.jpg', '/media/data/images/14082025/00/10/image_14082025_00_10_39_10354.jpg', '/media/data/images/14082025/00/10/image_14082025_00_10_48_9192.jpg', '/media/data/images/14082025/00/10/image_14082025_00_10_59_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/09/image_14082025_00_09_59_10351.jpg /media/data/images/14082025/00/10/image_14082025_00_10_18_10395.jpg /media/data/images/14082025/00/10/image_14082025_00_10_29_10354.jpg /media/data/images/14082025/00/10/image_14082025_00_10_39_10354.jpg /media/data/images/14082025/00/10/image_14082025_00_10_48_9192.jpg /media/data/images/14082025/00/10/image_14082025_00_10_59_10421.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977755","1376977760","1376977748","1376977741","1376977750","1376977744"],"photo_ids_order":["1376977741","1376977744","1376977748","1376977750","1376977755","1376977760"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c77f787f223e685edd3b24a1719baf81.jpg","text":"TemporaryFile(/tmp/multipartBody6731963837168156828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160924083,"filename":"image_14082025_00_10_48_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73f4c91c5c0e2547b3bc077780575a96.jpg","text":"TemporaryFile(/tmp/multipartBody6740321586402643868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160924083,"filename":"image_14082025_00_10_59_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a035c9d892e2a189b2f25b324470ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6047997568208521203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160924083,"filename":"image_14082025_00_10_29_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6202628124cc2135eab34f4175ad2624.jpg","text":"TemporaryFile(/tmp/multipartBody6547372530588313937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160924083,"filename":"image_14082025_00_09_59_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/defa8dd7504183a515dd718b24f9bff0.jpg","text":"TemporaryFile(/tmp/multipartBody1696445946976370644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160924083,"filename":"image_14082025_00_10_39_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a167582f96a48f8a1fc845b4cae42077.jpg","text":"TemporaryFile(/tmp/multipartBody4667895700129402100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160924083,"filename":"image_14082025_00_10_18_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977748","file1":"1376977744","file0":"1376977741","file4":"1376977755","file5":"1376977760","file3":"1376977750"},"map_files_photo_id_array":[{"photo_id":"1376977760","filename":"file5"},{"photo_id":"1376977748","filename":"file2"},{"photo_id":"1376977755","filename":"file4"},{"photo_id":"1376977744","filename":"file1"},{"photo_id":"1376977741","filename":"file0"},{"photo_id":"1376977750","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977755":["hashtag1","hashtag2"]},{"1376977760":["hashtag1","hashtag2"]},{"1376977748":["hashtag1","hashtag2"]},{"1376977741":["hashtag1","hashtag2"]},{"1376977750":["hashtag1","hashtag2"]},{"1376977744":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977755, 1376977760, 1376977748, 1376977741, 1376977750, 1376977744)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.984617471694946 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:42:02.962818 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/11/image_14082025_00_11_09_10167.jpg', '/media/data/images/14082025/00/11/image_14082025_00_11_18_9152.jpg', '/media/data/images/14082025/00/11/image_14082025_00_11_28_10357.jpg', '/media/data/images/14082025/00/11/image_14082025_00_11_48_9206.jpg', '/media/data/images/14082025/00/11/image_14082025_00_11_58_10391.jpg', '/media/data/images/14082025/00/12/image_14082025_00_12_09_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/11/image_14082025_00_11_09_10167.jpg /media/data/images/14082025/00/11/image_14082025_00_11_18_9152.jpg /media/data/images/14082025/00/11/image_14082025_00_11_28_10357.jpg /media/data/images/14082025/00/11/image_14082025_00_11_48_9206.jpg /media/data/images/14082025/00/11/image_14082025_00_11_58_10391.jpg /media/data/images/14082025/00/12/image_14082025_00_12_09_10380.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977836","1376977844","1376977847","1376977855","1376977840","1376977852"],"photo_ids_order":["1376977836","1376977840","1376977844","1376977847","1376977852","1376977855"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/300e8d78922b47e09e541725ab37476c.jpg","text":"TemporaryFile(/tmp/multipartBody2023620865118778606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160983921,"filename":"image_14082025_00_11_09_10167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3cfa9bc432da15d63227eea33fb50e70.jpg","text":"TemporaryFile(/tmp/multipartBody4475422493458201592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160983921,"filename":"image_14082025_00_11_28_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c1f9ed14d8759493240b0b43416f34e.jpg","text":"TemporaryFile(/tmp/multipartBody2732372967353367784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160983921,"filename":"image_14082025_00_11_48_9206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c4beca94bcaf6646439da785244452e3.jpg","text":"TemporaryFile(/tmp/multipartBody4293981755756621934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160983921,"filename":"image_14082025_00_12_09_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16f3dd19a4b5c58dab71df89507e986a.jpg","text":"TemporaryFile(/tmp/multipartBody2684963101091230631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160983921,"filename":"image_14082025_00_11_18_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17ebb7ffdc5e157f3ab06d804fc7bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody7654769313676606304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755160983921,"filename":"image_14082025_00_11_58_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977844","file1":"1376977840","file0":"1376977836","file4":"1376977852","file5":"1376977855","file3":"1376977847"},"map_files_photo_id_array":[{"photo_id":"1376977855","filename":"file5"},{"photo_id":"1376977844","filename":"file2"},{"photo_id":"1376977852","filename":"file4"},{"photo_id":"1376977840","filename":"file1"},{"photo_id":"1376977836","filename":"file0"},{"photo_id":"1376977847","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977836":["hashtag1","hashtag2"]},{"1376977844":["hashtag1","hashtag2"]},{"1376977847":["hashtag1","hashtag2"]},{"1376977855":["hashtag1","hashtag2"]},{"1376977840":["hashtag1","hashtag2"]},{"1376977852":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977836, 1376977844, 1376977847, 1376977855, 1376977840, 1376977852)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.22392463684082 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:43:03.318955 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/12/image_14082025_00_12_19_10409.jpg', '/media/data/images/14082025/00/12/image_14082025_00_12_39_10330.jpg', '/media/data/images/14082025/00/12/image_14082025_00_12_58_9119.jpg', '/media/data/images/14082025/00/13/image_14082025_00_13_09_10554.jpg', '/media/data/images/14082025/00/13/image_14082025_00_13_28_9092.jpg', '/media/data/images/14082025/00/13/image_14082025_00_13_38_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/12/image_14082025_00_12_19_10409.jpg /media/data/images/14082025/00/12/image_14082025_00_12_39_10330.jpg /media/data/images/14082025/00/12/image_14082025_00_12_58_9119.jpg /media/data/images/14082025/00/13/image_14082025_00_13_09_10554.jpg /media/data/images/14082025/00/13/image_14082025_00_13_28_9092.jpg /media/data/images/14082025/00/13/image_14082025_00_13_38_10324.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977880","1376977874","1376977877","1376977871","1376977868","1376977884"],"photo_ids_order":["1376977868","1376977871","1376977874","1376977877","1376977880","1376977884"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/550902650d4e96710e099db6adb57a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7703659471722683885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161044307,"filename":"image_14082025_00_13_28_9092.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e0738b28abe6230b3cfc7fd958e630e.jpg","text":"TemporaryFile(/tmp/multipartBody3937536157825986144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161044307,"filename":"image_14082025_00_12_58_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/208aa8114192c4226781a6870f3bcaba.jpg","text":"TemporaryFile(/tmp/multipartBody1373093708132444930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161044307,"filename":"image_14082025_00_13_09_10554.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3c50f3eb879b993f2fea9ccd609ff43.jpg","text":"TemporaryFile(/tmp/multipartBody5322656189948958539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161044307,"filename":"image_14082025_00_12_39_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54f2dd9074a174ec9ac9c188c590eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody681181472499788349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161044307,"filename":"image_14082025_00_12_19_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca97d61456701643bbbcb9c5a8270c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3397457202720719922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161044307,"filename":"image_14082025_00_13_38_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977874","file1":"1376977871","file0":"1376977868","file4":"1376977880","file5":"1376977884","file3":"1376977877"},"map_files_photo_id_array":[{"photo_id":"1376977884","filename":"file5"},{"photo_id":"1376977874","filename":"file2"},{"photo_id":"1376977880","filename":"file4"},{"photo_id":"1376977871","filename":"file1"},{"photo_id":"1376977868","filename":"file0"},{"photo_id":"1376977877","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977880":["hashtag1","hashtag2"]},{"1376977874":["hashtag1","hashtag2"]},{"1376977877":["hashtag1","hashtag2"]},{"1376977871":["hashtag1","hashtag2"]},{"1376977868":["hashtag1","hashtag2"]},{"1376977884":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977880, 1376977874, 1376977877, 1376977871, 1376977868, 1376977884)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.59545397758484 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:44:03.076227 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/13/image_14082025_00_13_49_10417.jpg', '/media/data/images/14082025/00/14/image_14082025_00_14_28_9176.jpg', '/media/data/images/14082025/00/14/image_14082025_00_14_49_10372.jpg', '/media/data/images/14082025/00/14/image_14082025_00_14_58_9090.jpg', '/media/data/images/14082025/00/14/image_14082025_00_15_08_10437.jpg', '/media/data/images/14082025/00/15/image_14082025_00_15_19_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/13/image_14082025_00_13_49_10417.jpg /media/data/images/14082025/00/14/image_14082025_00_14_28_9176.jpg /media/data/images/14082025/00/14/image_14082025_00_14_49_10372.jpg /media/data/images/14082025/00/14/image_14082025_00_14_58_9090.jpg /media/data/images/14082025/00/14/image_14082025_00_15_08_10437.jpg /media/data/images/14082025/00/15/image_14082025_00_15_19_10332.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977892","1376977913","1376977918","1376977896","1376977909","1376977900"],"photo_ids_order":["1376977892","1376977896","1376977900","1376977909","1376977913","1376977918"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2e53a9367be43fe60485254508af4b4.jpg","text":"TemporaryFile(/tmp/multipartBody864315161978170120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161104036,"filename":"image_14082025_00_13_49_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc6d728f89b4859d9fa87f5c15d1d090.jpg","text":"TemporaryFile(/tmp/multipartBody8121240986292398481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161104036,"filename":"image_14082025_00_15_08_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39bd60bbcd0bead3286f3d96064fa329.jpg","text":"TemporaryFile(/tmp/multipartBody8891544091044204371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161104036,"filename":"image_14082025_00_15_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d25a0569dd023766b58b2de40fc2c855.jpg","text":"TemporaryFile(/tmp/multipartBody2278354071374211852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161104036,"filename":"image_14082025_00_14_28_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f1db5656c70b64febfdf2975eecfad7.jpg","text":"TemporaryFile(/tmp/multipartBody1337048436586893377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161104036,"filename":"image_14082025_00_14_58_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/981a10c225227ae59ac1f760317ab822.jpg","text":"TemporaryFile(/tmp/multipartBody75767297990262002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161104036,"filename":"image_14082025_00_14_49_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977900","file1":"1376977896","file0":"1376977892","file4":"1376977913","file5":"1376977918","file3":"1376977909"},"map_files_photo_id_array":[{"photo_id":"1376977918","filename":"file5"},{"photo_id":"1376977900","filename":"file2"},{"photo_id":"1376977913","filename":"file4"},{"photo_id":"1376977896","filename":"file1"},{"photo_id":"1376977892","filename":"file0"},{"photo_id":"1376977909","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977892":["hashtag1","hashtag2"]},{"1376977913":["hashtag1","hashtag2"]},{"1376977918":["hashtag1","hashtag2"]},{"1376977896":["hashtag1","hashtag2"]},{"1376977909":["hashtag1","hashtag2"]},{"1376977900":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977892, 1376977913, 1376977918, 1376977896, 1376977909, 1376977900)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.71823167800903 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:45:03.546702 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/15/image_14082025_00_15_29_10353.jpg', '/media/data/images/14082025/00/15/image_14082025_00_15_48_10327.jpg', '/media/data/images/14082025/00/15/image_14082025_00_15_59_10423.jpg', '/media/data/images/14082025/00/16/image_14082025_00_16_08_9154.jpg', '/media/data/images/14082025/00/16/image_14082025_00_16_18_10336.jpg', '/media/data/images/14082025/00/16/image_14082025_00_16_29_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/15/image_14082025_00_15_29_10353.jpg /media/data/images/14082025/00/15/image_14082025_00_15_48_10327.jpg /media/data/images/14082025/00/15/image_14082025_00_15_59_10423.jpg /media/data/images/14082025/00/16/image_14082025_00_16_08_9154.jpg /media/data/images/14082025/00/16/image_14082025_00_16_18_10336.jpg /media/data/images/14082025/00/16/image_14082025_00_16_29_10325.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376977965","1376977968","1376977956","1376977970","1376977952","1376977946"],"photo_ids_order":["1376977946","1376977952","1376977956","1376977965","1376977968","1376977970"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc2d9c4fa028934ceb14765c3f361bc0.jpg","text":"TemporaryFile(/tmp/multipartBody6406762788778752240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161164513,"filename":"image_14082025_00_16_08_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84f3fe254b6fcc83a90621fdd6321572.jpg","text":"TemporaryFile(/tmp/multipartBody3102828793126497461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161164513,"filename":"image_14082025_00_16_18_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12dc8d4d9c477650fdad8664845626e2.jpg","text":"TemporaryFile(/tmp/multipartBody5141850419609069530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161164513,"filename":"image_14082025_00_15_59_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a06fafd9b44e8b3cc7c2cda831cb0953.jpg","text":"TemporaryFile(/tmp/multipartBody3712168068643264576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161164513,"filename":"image_14082025_00_16_29_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96eefe9d4208898d444e3a93cada66cf.jpg","text":"TemporaryFile(/tmp/multipartBody490226503737151548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161164513,"filename":"image_14082025_00_15_48_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/140b9a24f6c8cc382e48d42c583601c3.jpg","text":"TemporaryFile(/tmp/multipartBody7671579671201968759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161164513,"filename":"image_14082025_00_15_29_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376977956","file1":"1376977952","file0":"1376977946","file4":"1376977968","file5":"1376977970","file3":"1376977965"},"map_files_photo_id_array":[{"photo_id":"1376977970","filename":"file5"},{"photo_id":"1376977956","filename":"file2"},{"photo_id":"1376977968","filename":"file4"},{"photo_id":"1376977952","filename":"file1"},{"photo_id":"1376977946","filename":"file0"},{"photo_id":"1376977965","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376977965":["hashtag1","hashtag2"]},{"1376977968":["hashtag1","hashtag2"]},{"1376977956":["hashtag1","hashtag2"]},{"1376977970":["hashtag1","hashtag2"]},{"1376977952":["hashtag1","hashtag2"]},{"1376977946":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376977965, 1376977968, 1376977956, 1376977970, 1376977952, 1376977946)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.21430039405823 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:46:03.259374 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/16/image_14082025_00_16_38_9165.jpg', '/media/data/images/14082025/00/16/image_14082025_00_16_48_10368.jpg', '/media/data/images/14082025/00/16/image_14082025_00_16_59_10319.jpg', '/media/data/images/14082025/00/17/image_14082025_00_17_09_10183.jpg', '/media/data/images/14082025/00/17/image_14082025_00_17_28_10409.jpg', '/media/data/images/14082025/00/17/image_14082025_00_17_39_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/16/image_14082025_00_16_38_9165.jpg /media/data/images/14082025/00/16/image_14082025_00_16_48_10368.jpg /media/data/images/14082025/00/16/image_14082025_00_16_59_10319.jpg /media/data/images/14082025/00/17/image_14082025_00_17_09_10183.jpg /media/data/images/14082025/00/17/image_14082025_00_17_28_10409.jpg /media/data/images/14082025/00/17/image_14082025_00_17_39_10319.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978013","1376978001","1376978004","1376978020","1376978017","1376977995"],"photo_ids_order":["1376977995","1376978001","1376978004","1376978013","1376978017","1376978020"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9a89173b742329647803b059ee9a309.jpg","text":"TemporaryFile(/tmp/multipartBody3844473799887876616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161224262,"filename":"image_14082025_00_17_09_10183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e3eca4c94712a855ab55edd1562ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody8446966462740815146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161224262,"filename":"image_14082025_00_16_48_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/659de5c531230d22672f18482190ba26.jpg","text":"TemporaryFile(/tmp/multipartBody6986953016972292803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161224262,"filename":"image_14082025_00_16_59_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4dc232bee823484edb53118a4d7817eb.jpg","text":"TemporaryFile(/tmp/multipartBody2975349491830392357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161224262,"filename":"image_14082025_00_17_39_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72e975dce2f18b46bb9ac1c5867aabd8.jpg","text":"TemporaryFile(/tmp/multipartBody7628706195458180416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161224262,"filename":"image_14082025_00_17_28_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/320fa24608037f52fb40a6b8eedd5bd8.jpg","text":"TemporaryFile(/tmp/multipartBody173370078150325187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161224262,"filename":"image_14082025_00_16_38_9165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978004","file1":"1376978001","file0":"1376977995","file4":"1376978017","file5":"1376978020","file3":"1376978013"},"map_files_photo_id_array":[{"photo_id":"1376978020","filename":"file5"},{"photo_id":"1376978004","filename":"file2"},{"photo_id":"1376978017","filename":"file4"},{"photo_id":"1376978001","filename":"file1"},{"photo_id":"1376977995","filename":"file0"},{"photo_id":"1376978013","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978013":["hashtag1","hashtag2"]},{"1376978001":["hashtag1","hashtag2"]},{"1376978004":["hashtag1","hashtag2"]},{"1376978020":["hashtag1","hashtag2"]},{"1376978017":["hashtag1","hashtag2"]},{"1376977995":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978013, 1376978001, 1376978004, 1376978020, 1376978017, 1376977995)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.539976835250854 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:47:02.723471 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/17/image_14082025_00_17_58_9084.jpg', '/media/data/images/14082025/00/18/image_14082025_00_18_08_10351.jpg', '/media/data/images/14082025/00/18/image_14082025_00_18_19_10349.jpg', '/media/data/images/14082025/00/18/image_14082025_00_18_28_9137.jpg', '/media/data/images/14082025/00/18/image_14082025_00_18_49_10363.jpg', '/media/data/images/14082025/00/18/image_14082025_00_18_59_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/17/image_14082025_00_17_58_9084.jpg /media/data/images/14082025/00/18/image_14082025_00_18_08_10351.jpg /media/data/images/14082025/00/18/image_14082025_00_18_19_10349.jpg /media/data/images/14082025/00/18/image_14082025_00_18_28_9137.jpg /media/data/images/14082025/00/18/image_14082025_00_18_49_10363.jpg /media/data/images/14082025/00/18/image_14082025_00_18_59_10319.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978049","1376978054","1376978063","1376978045","1376978065","1376978041"],"photo_ids_order":["1376978041","1376978045","1376978049","1376978054","1376978063","1376978065"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b1df9b03dde175265a55d2719fa55af.jpg","text":"TemporaryFile(/tmp/multipartBody5206551716855255014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161283692,"filename":"image_14082025_00_18_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5950654d0793879e8d4b1751fef8549d.jpg","text":"TemporaryFile(/tmp/multipartBody6662243646600519266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161283692,"filename":"image_14082025_00_18_28_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8ff1bd39625f826864195c472db0c35.jpg","text":"TemporaryFile(/tmp/multipartBody7081243681078430200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161283692,"filename":"image_14082025_00_18_49_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aec40d6c63d29a38bd191e12623932d0.jpg","text":"TemporaryFile(/tmp/multipartBody4579176150487273587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161283692,"filename":"image_14082025_00_18_08_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7452687a6e354cf3cc91a65dfd8ae6e3.jpg","text":"TemporaryFile(/tmp/multipartBody4581276390823137819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161283692,"filename":"image_14082025_00_18_59_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/970da09c9336a5ba0c2bef92088a5334.jpg","text":"TemporaryFile(/tmp/multipartBody897800086827953453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161283692,"filename":"image_14082025_00_17_58_9084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978049","file1":"1376978045","file0":"1376978041","file4":"1376978063","file5":"1376978065","file3":"1376978054"},"map_files_photo_id_array":[{"photo_id":"1376978065","filename":"file5"},{"photo_id":"1376978049","filename":"file2"},{"photo_id":"1376978063","filename":"file4"},{"photo_id":"1376978045","filename":"file1"},{"photo_id":"1376978041","filename":"file0"},{"photo_id":"1376978054","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978049":["hashtag1","hashtag2"]},{"1376978054":["hashtag1","hashtag2"]},{"1376978063":["hashtag1","hashtag2"]},{"1376978045":["hashtag1","hashtag2"]},{"1376978065":["hashtag1","hashtag2"]},{"1376978041":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978049, 1376978054, 1376978063, 1376978045, 1376978065, 1376978041)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.806002378463745 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:48:02.531007 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/19/image_14082025_00_19_29_10325.jpg', '/media/data/images/14082025/00/19/image_14082025_00_19_38_9089.jpg', '/media/data/images/14082025/00/19/image_14082025_00_19_48_10324.jpg', '/media/data/images/14082025/00/19/image_14082025_00_19_59_10367.jpg', '/media/data/images/14082025/00/20/image_14082025_00_20_08_9224.jpg', '/media/data/images/14082025/00/20/image_14082025_00_20_18_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/19/image_14082025_00_19_29_10325.jpg /media/data/images/14082025/00/19/image_14082025_00_19_38_9089.jpg /media/data/images/14082025/00/19/image_14082025_00_19_48_10324.jpg /media/data/images/14082025/00/19/image_14082025_00_19_59_10367.jpg /media/data/images/14082025/00/20/image_14082025_00_20_08_9224.jpg /media/data/images/14082025/00/20/image_14082025_00_20_18_10358.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978099","1376978084","1376978086","1376978089","1376978101","1376978088"],"photo_ids_order":["1376978084","1376978086","1376978088","1376978089","1376978099","1376978101"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46d350f61978e54d9cfce420108ebecd.jpg","text":"TemporaryFile(/tmp/multipartBody3920201642411377534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161343535,"filename":"image_14082025_00_20_08_9224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f0802a08299ebd90f648ceef7f86af5.jpg","text":"TemporaryFile(/tmp/multipartBody1722110909335904198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161343535,"filename":"image_14082025_00_19_29_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1095eeef040b5ce2d3db7339a2da7475.jpg","text":"TemporaryFile(/tmp/multipartBody416168934524461777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161343535,"filename":"image_14082025_00_19_38_9089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac5baf7989bc8bbb220bb9d903d7a8ba.jpg","text":"TemporaryFile(/tmp/multipartBody2549586752274399142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161343535,"filename":"image_14082025_00_19_59_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d95cdac9c6e0ee5eafab3a8e4b81015.jpg","text":"TemporaryFile(/tmp/multipartBody3002977355310195345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161343535,"filename":"image_14082025_00_20_18_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3fa092ed171bf5dd6aaf222ae4122c0.jpg","text":"TemporaryFile(/tmp/multipartBody1140051567763241531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161343535,"filename":"image_14082025_00_19_48_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978088","file1":"1376978086","file0":"1376978084","file4":"1376978099","file5":"1376978101","file3":"1376978089"},"map_files_photo_id_array":[{"photo_id":"1376978101","filename":"file5"},{"photo_id":"1376978088","filename":"file2"},{"photo_id":"1376978099","filename":"file4"},{"photo_id":"1376978086","filename":"file1"},{"photo_id":"1376978084","filename":"file0"},{"photo_id":"1376978089","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978099":["hashtag1","hashtag2"]},{"1376978084":["hashtag1","hashtag2"]},{"1376978086":["hashtag1","hashtag2"]},{"1376978089":["hashtag1","hashtag2"]},{"1376978101":["hashtag1","hashtag2"]},{"1376978088":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978099, 1376978084, 1376978086, 1376978089, 1376978101, 1376978088)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.58903121948242 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:49:03.043579 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/20/image_14082025_00_20_29_10333.jpg', '/media/data/images/14082025/00/20/image_14082025_00_20_38_9153.jpg', '/media/data/images/14082025/00/20/image_14082025_00_20_48_10406.jpg', '/media/data/images/14082025/00/20/image_14082025_00_20_59_10333.jpg', '/media/data/images/14082025/00/21/image_14082025_00_21_18_9168.jpg', '/media/data/images/14082025/00/21/image_14082025_00_21_28_10335.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/20/image_14082025_00_20_29_10333.jpg /media/data/images/14082025/00/20/image_14082025_00_20_38_9153.jpg /media/data/images/14082025/00/20/image_14082025_00_20_48_10406.jpg /media/data/images/14082025/00/20/image_14082025_00_20_59_10333.jpg /media/data/images/14082025/00/21/image_14082025_00_21_18_9168.jpg /media/data/images/14082025/00/21/image_14082025_00_21_28_10335.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978133","1376978127","1376978131","1376978149","1376978139","1376978124"],"photo_ids_order":["1376978124","1376978127","1376978131","1376978133","1376978139","1376978149"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2a44bd82925ce186e0282555f8c4479.jpg","text":"TemporaryFile(/tmp/multipartBody8791066982651267225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161404048,"filename":"image_14082025_00_20_59_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a03ceee0a2a8a93e339218357f7a038.jpg","text":"TemporaryFile(/tmp/multipartBody5525598824641118113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161404048,"filename":"image_14082025_00_20_38_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7009332284cf2e27d81fdcd8955379f.jpg","text":"TemporaryFile(/tmp/multipartBody171992324733725130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161404048,"filename":"image_14082025_00_20_48_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9781cfddf2abe68b37d309578e726435.jpg","text":"TemporaryFile(/tmp/multipartBody484633044932255472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161404048,"filename":"image_14082025_00_21_28_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c686cd87247bcb0809ebbc3ab6cf07c.jpg","text":"TemporaryFile(/tmp/multipartBody8374750116824219342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161404048,"filename":"image_14082025_00_21_18_9168.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1184753787139ec26e4220cccdecea76.jpg","text":"TemporaryFile(/tmp/multipartBody1203378208439303649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161404048,"filename":"image_14082025_00_20_29_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978131","file1":"1376978127","file0":"1376978124","file4":"1376978139","file5":"1376978149","file3":"1376978133"},"map_files_photo_id_array":[{"photo_id":"1376978149","filename":"file5"},{"photo_id":"1376978131","filename":"file2"},{"photo_id":"1376978139","filename":"file4"},{"photo_id":"1376978127","filename":"file1"},{"photo_id":"1376978124","filename":"file0"},{"photo_id":"1376978133","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978133":["hashtag1","hashtag2"]},{"1376978127":["hashtag1","hashtag2"]},{"1376978131":["hashtag1","hashtag2"]},{"1376978149":["hashtag1","hashtag2"]},{"1376978139":["hashtag1","hashtag2"]},{"1376978124":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978133, 1376978127, 1376978131, 1376978149, 1376978139, 1376978124)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.66032934188843 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:50:02.743251 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/21/image_14082025_00_21_49_10325.jpg', '/media/data/images/14082025/00/21/image_14082025_00_21_58_9107.jpg', '/media/data/images/14082025/00/22/image_14082025_00_22_19_10357.jpg', '/media/data/images/14082025/00/22/image_14082025_00_22_38_10329.jpg', '/media/data/images/14082025/00/22/image_14082025_00_22_49_10328.jpg', '/media/data/images/14082025/00/22/image_14082025_00_22_59_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/21/image_14082025_00_21_49_10325.jpg /media/data/images/14082025/00/21/image_14082025_00_21_58_9107.jpg /media/data/images/14082025/00/22/image_14082025_00_22_19_10357.jpg /media/data/images/14082025/00/22/image_14082025_00_22_38_10329.jpg /media/data/images/14082025/00/22/image_14082025_00_22_49_10328.jpg /media/data/images/14082025/00/22/image_14082025_00_22_59_10341.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978186","1376978189","1376978168","1376978175","1376978184","1376978172"],"photo_ids_order":["1376978168","1376978172","1376978175","1376978184","1376978186","1376978189"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6348786ecc21b2ab544c91074f7c0da.jpg","text":"TemporaryFile(/tmp/multipartBody6190282824283506938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161463678,"filename":"image_14082025_00_22_49_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11c9b10063ca1ae06cf799cc01a464fb.jpg","text":"TemporaryFile(/tmp/multipartBody7732116436304977087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161463678,"filename":"image_14082025_00_22_59_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae3ff77f88f068abb45519a02c74b4c6.jpg","text":"TemporaryFile(/tmp/multipartBody1073722273329051894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161463678,"filename":"image_14082025_00_21_49_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a7326be0c11f3bac4bd9fe60a23b12f.jpg","text":"TemporaryFile(/tmp/multipartBody3194676773925994836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161463678,"filename":"image_14082025_00_22_19_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b33072f5ac9c3d76aaca989eecf37c7.jpg","text":"TemporaryFile(/tmp/multipartBody5694402732238325334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161463678,"filename":"image_14082025_00_22_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f629aadfe59b567ff94a59416d3c9f55.jpg","text":"TemporaryFile(/tmp/multipartBody1957022991936645821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161463678,"filename":"image_14082025_00_21_58_9107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978175","file1":"1376978172","file0":"1376978168","file4":"1376978186","file5":"1376978189","file3":"1376978184"},"map_files_photo_id_array":[{"photo_id":"1376978189","filename":"file5"},{"photo_id":"1376978175","filename":"file2"},{"photo_id":"1376978186","filename":"file4"},{"photo_id":"1376978172","filename":"file1"},{"photo_id":"1376978168","filename":"file0"},{"photo_id":"1376978184","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978186":["hashtag1","hashtag2"]},{"1376978189":["hashtag1","hashtag2"]},{"1376978168":["hashtag1","hashtag2"]},{"1376978175":["hashtag1","hashtag2"]},{"1376978184":["hashtag1","hashtag2"]},{"1376978172":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978186, 1376978189, 1376978168, 1376978175, 1376978184, 1376978172)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.8872606754303 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:51:03.083468 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/23/image_14082025_00_23_08_9041.jpg', '/media/data/images/14082025/00/23/image_14082025_00_23_29_10442.jpg', '/media/data/images/14082025/00/23/image_14082025_00_23_59_10330.jpg', '/media/data/images/14082025/00/24/image_14082025_00_24_18_9181.jpg', '/media/data/images/14082025/00/24/image_14082025_00_24_28_10331.jpg', '/media/data/images/14082025/00/24/image_14082025_00_24_49_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/23/image_14082025_00_23_08_9041.jpg /media/data/images/14082025/00/23/image_14082025_00_23_29_10442.jpg /media/data/images/14082025/00/23/image_14082025_00_23_59_10330.jpg /media/data/images/14082025/00/24/image_14082025_00_24_18_9181.jpg /media/data/images/14082025/00/24/image_14082025_00_24_28_10331.jpg /media/data/images/14082025/00/24/image_14082025_00_24_49_10382.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978220","1376978217","1376978234","1376978210","1376978227","1376978223"],"photo_ids_order":["1376978210","1376978217","1376978220","1376978223","1376978227","1376978234"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bade26d0c2ec31f22c5b9e3f4b066661.jpg","text":"TemporaryFile(/tmp/multipartBody575434120141820873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161524097,"filename":"image_14082025_00_23_59_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8455168ffc75b92c4c3dc4fff6ebb709.jpg","text":"TemporaryFile(/tmp/multipartBody4552652198930275030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161524097,"filename":"image_14082025_00_23_29_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c567466df12ad1262f0d98b0f12d2bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6680726133487092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161524097,"filename":"image_14082025_00_24_49_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/98d096b04007b7622bb0cf44aa4d29bd.jpg","text":"TemporaryFile(/tmp/multipartBody2339547483186632977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161524097,"filename":"image_14082025_00_23_08_9041.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/358066bd70f07c0f3ccf3ddef483c999.jpg","text":"TemporaryFile(/tmp/multipartBody8122123392480199974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161524097,"filename":"image_14082025_00_24_28_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd5fbeaf8e9933a7202a7267f7df20bb.jpg","text":"TemporaryFile(/tmp/multipartBody4211826871544791994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161524097,"filename":"image_14082025_00_24_18_9181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978220","file1":"1376978217","file0":"1376978210","file4":"1376978227","file5":"1376978234","file3":"1376978223"},"map_files_photo_id_array":[{"photo_id":"1376978234","filename":"file5"},{"photo_id":"1376978220","filename":"file2"},{"photo_id":"1376978227","filename":"file4"},{"photo_id":"1376978217","filename":"file1"},{"photo_id":"1376978210","filename":"file0"},{"photo_id":"1376978223","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978220":["hashtag1","hashtag2"]},{"1376978217":["hashtag1","hashtag2"]},{"1376978234":["hashtag1","hashtag2"]},{"1376978210":["hashtag1","hashtag2"]},{"1376978227":["hashtag1","hashtag2"]},{"1376978223":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978220, 1376978217, 1376978234, 1376978210, 1376978227, 1376978223)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.73618674278259 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:52:03.090458 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/24/image_14082025_00_25_08_10403.jpg', '/media/data/images/14082025/00/25/image_14082025_00_25_19_10329.jpg', '/media/data/images/14082025/00/25/image_14082025_00_25_38_10324.jpg', '/media/data/images/14082025/00/25/image_14082025_00_25_59_10327.jpg', '/media/data/images/14082025/00/26/image_14082025_00_26_08_9200.jpg', '/media/data/images/14082025/00/26/image_14082025_00_26_28_9966.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/24/image_14082025_00_25_08_10403.jpg /media/data/images/14082025/00/25/image_14082025_00_25_19_10329.jpg /media/data/images/14082025/00/25/image_14082025_00_25_38_10324.jpg /media/data/images/14082025/00/25/image_14082025_00_25_59_10327.jpg /media/data/images/14082025/00/26/image_14082025_00_26_08_9200.jpg /media/data/images/14082025/00/26/image_14082025_00_26_28_9966.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978331","1376978327","1376978336","1376978315","1376978402","1376978318"],"photo_ids_order":["1376978315","1376978318","1376978327","1376978331","1376978336","1376978402"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/603db126aee19f8283a7fed7cbcf9694.jpg","text":"TemporaryFile(/tmp/multipartBody8814460388941665687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161584078,"filename":"image_14082025_00_25_59_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ec7bca64d23ad1c692eb285402151d6.jpg","text":"TemporaryFile(/tmp/multipartBody5448191139026589228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161584078,"filename":"image_14082025_00_25_38_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5e9587ab01b51be049565b7511f75aa.jpg","text":"TemporaryFile(/tmp/multipartBody4121533716789665172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161584078,"filename":"image_14082025_00_26_08_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/354cc9b7a5890b278089bfa02306e2c1.jpg","text":"TemporaryFile(/tmp/multipartBody7679277413122514693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161584078,"filename":"image_14082025_00_25_08_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fff8a80e9e8e0025f98162ddd7a79424.jpg","text":"TemporaryFile(/tmp/multipartBody7341294995011513990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161584078,"filename":"image_14082025_00_26_28_9966.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf3e8386cc92a539412b3e2f00935e29.jpg","text":"TemporaryFile(/tmp/multipartBody6094515130182074256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161584078,"filename":"image_14082025_00_25_19_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978327","file1":"1376978318","file0":"1376978315","file4":"1376978336","file5":"1376978402","file3":"1376978331"},"map_files_photo_id_array":[{"photo_id":"1376978402","filename":"file5"},{"photo_id":"1376978327","filename":"file2"},{"photo_id":"1376978336","filename":"file4"},{"photo_id":"1376978318","filename":"file1"},{"photo_id":"1376978315","filename":"file0"},{"photo_id":"1376978331","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978331":["hashtag1","hashtag2"]},{"1376978327":["hashtag1","hashtag2"]},{"1376978336":["hashtag1","hashtag2"]},{"1376978315":["hashtag1","hashtag2"]},{"1376978402":["hashtag1","hashtag2"]},{"1376978318":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978331, 1376978327, 1376978336, 1376978315, 1376978402, 1376978318)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.1753203868866 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:53:03.431360 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/26/image_14082025_00_26_48_9103.jpg', '/media/data/images/14082025/00/26/image_14082025_00_26_59_10558.jpg', '/media/data/images/14082025/00/27/image_14082025_00_27_09_10412.jpg', '/media/data/images/14082025/00/27/image_14082025_00_27_18_9151.jpg', '/media/data/images/14082025/00/27/image_14082025_00_27_28_10429.jpg', '/media/data/images/14082025/00/27/image_14082025_00_27_39_10322.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/26/image_14082025_00_26_48_9103.jpg /media/data/images/14082025/00/26/image_14082025_00_26_59_10558.jpg /media/data/images/14082025/00/27/image_14082025_00_27_09_10412.jpg /media/data/images/14082025/00/27/image_14082025_00_27_18_9151.jpg /media/data/images/14082025/00/27/image_14082025_00_27_28_10429.jpg /media/data/images/14082025/00/27/image_14082025_00_27_39_10322.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978480","1376978477","1376978441","1376978438","1376978428","1376978422"],"photo_ids_order":["1376978422","1376978428","1376978438","1376978441","1376978477","1376978480"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4670405e2bc6a07afb71d6950c941542.jpg","text":"TemporaryFile(/tmp/multipartBody8614539885150193098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161644441,"filename":"image_14082025_00_27_39_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d3436cc620bf92e15731cd5ea0f23b3.jpg","text":"TemporaryFile(/tmp/multipartBody7079361137356056548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161644441,"filename":"image_14082025_00_27_28_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b76567ce22033643d5cfaf645b15cb5.jpg","text":"TemporaryFile(/tmp/multipartBody9024977352273157994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161644441,"filename":"image_14082025_00_27_18_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53d3b3f8d0c47018c4a1fb0cf7f7ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody4828408109633298957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161644441,"filename":"image_14082025_00_27_09_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b28f164199346ce0739fcc75b1c1d434.jpg","text":"TemporaryFile(/tmp/multipartBody5288774675670577331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161644441,"filename":"image_14082025_00_26_59_10558.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3440cec3b30f757b5bd06d81d9561fb2.jpg","text":"TemporaryFile(/tmp/multipartBody5685545158578036788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161644441,"filename":"image_14082025_00_26_48_9103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978438","file1":"1376978428","file0":"1376978422","file4":"1376978477","file5":"1376978480","file3":"1376978441"},"map_files_photo_id_array":[{"photo_id":"1376978480","filename":"file5"},{"photo_id":"1376978438","filename":"file2"},{"photo_id":"1376978477","filename":"file4"},{"photo_id":"1376978428","filename":"file1"},{"photo_id":"1376978422","filename":"file0"},{"photo_id":"1376978441","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978480":["hashtag1","hashtag2"]},{"1376978477":["hashtag1","hashtag2"]},{"1376978441":["hashtag1","hashtag2"]},{"1376978438":["hashtag1","hashtag2"]},{"1376978428":["hashtag1","hashtag2"]},{"1376978422":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978480, 1376978477, 1376978441, 1376978438, 1376978428, 1376978422)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 47.31961178779602 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:54:03.414847 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/27/image_14082025_00_27_48_9202.jpg', '/media/data/images/14082025/00/28/image_14082025_00_28_09_10308.jpg', '/media/data/images/14082025/00/28/image_14082025_00_28_39_10449.jpg', '/media/data/images/14082025/00/29/image_14082025_00_29_09_10260.jpg', '/media/data/images/14082025/00/29/image_14082025_00_29_19_10330.jpg', '/media/data/images/14082025/00/29/image_14082025_00_29_28_9117.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/27/image_14082025_00_27_48_9202.jpg /media/data/images/14082025/00/28/image_14082025_00_28_09_10308.jpg /media/data/images/14082025/00/28/image_14082025_00_28_39_10449.jpg /media/data/images/14082025/00/29/image_14082025_00_29_09_10260.jpg /media/data/images/14082025/00/29/image_14082025_00_29_19_10330.jpg /media/data/images/14082025/00/29/image_14082025_00_29_28_9117.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978523","1376978505","1376978507","1376978496","1376978493","1376978514"],"photo_ids_order":["1376978493","1376978496","1376978505","1376978507","1376978514","1376978523"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/41ef0c70c694a4212cb236ba25763270.jpg","text":"TemporaryFile(/tmp/multipartBody2680754324286599174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161704423,"filename":"image_14082025_00_29_28_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9f35ffb014a47d7a8f58dcd62669ee8.jpg","text":"TemporaryFile(/tmp/multipartBody8088180469847564550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161704423,"filename":"image_14082025_00_28_39_10449.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/191962cd93b02ad206be719aaa6bb22c.jpg","text":"TemporaryFile(/tmp/multipartBody3530340953376341207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161704423,"filename":"image_14082025_00_29_09_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b55ee5d5cf818a0730b6e1c5fc39f46f.jpg","text":"TemporaryFile(/tmp/multipartBody8617083291577807061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161704423,"filename":"image_14082025_00_28_09_10308.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c701c3ecd188eaf6d5d6cc9b784df3d.jpg","text":"TemporaryFile(/tmp/multipartBody3708868271740186436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161704423,"filename":"image_14082025_00_27_48_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61e0c8b9b1d3705c03061f7e7b22c60c.jpg","text":"TemporaryFile(/tmp/multipartBody4544350265942302148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161704423,"filename":"image_14082025_00_29_19_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978505","file1":"1376978496","file0":"1376978493","file4":"1376978514","file5":"1376978523","file3":"1376978507"},"map_files_photo_id_array":[{"photo_id":"1376978523","filename":"file5"},{"photo_id":"1376978505","filename":"file2"},{"photo_id":"1376978514","filename":"file4"},{"photo_id":"1376978496","filename":"file1"},{"photo_id":"1376978493","filename":"file0"},{"photo_id":"1376978507","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978523":["hashtag1","hashtag2"]},{"1376978505":["hashtag1","hashtag2"]},{"1376978507":["hashtag1","hashtag2"]},{"1376978496":["hashtag1","hashtag2"]},{"1376978493":["hashtag1","hashtag2"]},{"1376978514":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978523, 1376978505, 1376978507, 1376978496, 1376978493, 1376978514)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.41795635223389 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:55:03.654205 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/29/image_14082025_00_29_49_10375.jpg', '/media/data/images/14082025/00/29/image_14082025_00_30_09_10775.jpg', '/media/data/images/14082025/00/30/image_14082025_00_30_19_10347.jpg', '/media/data/images/14082025/00/30/image_14082025_00_30_38_10350.jpg', '/media/data/images/14082025/00/30/image_14082025_00_31_08_10369.jpg', '/media/data/images/14082025/00/31/image_14082025_00_31_19_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/29/image_14082025_00_29_49_10375.jpg /media/data/images/14082025/00/29/image_14082025_00_30_09_10775.jpg /media/data/images/14082025/00/30/image_14082025_00_30_19_10347.jpg /media/data/images/14082025/00/30/image_14082025_00_30_38_10350.jpg /media/data/images/14082025/00/30/image_14082025_00_31_08_10369.jpg /media/data/images/14082025/00/31/image_14082025_00_31_19_10329.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978601","1376978619","1376978604","1376978607","1376978609","1376978689"],"photo_ids_order":["1376978601","1376978604","1376978607","1376978609","1376978619","1376978689"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3ab2c4c5dcdc255c70dbc934eea2cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7939895311070975477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161764603,"filename":"image_14082025_00_29_49_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/665b4dda0919ae78b0b792b7925255a2.jpg","text":"TemporaryFile(/tmp/multipartBody7195159747212158689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161764603,"filename":"image_14082025_00_31_08_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80416d1f249b15ef7fe3cb56c1411582.jpg","text":"TemporaryFile(/tmp/multipartBody6976452931081220000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161764603,"filename":"image_14082025_00_30_09_10775.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b2655b2566a73f72bbcc17d17d6cf4c.jpg","text":"TemporaryFile(/tmp/multipartBody8908943391569300844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161764603,"filename":"image_14082025_00_30_19_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd2cac917e126f0970abf161c2057968.jpg","text":"TemporaryFile(/tmp/multipartBody5753833329511808977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161764603,"filename":"image_14082025_00_30_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1bb23c7cfce5b23a979aafa611ab8b1f.jpg","text":"TemporaryFile(/tmp/multipartBody1557969049082205899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161764603,"filename":"image_14082025_00_31_19_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978607","file1":"1376978604","file0":"1376978601","file4":"1376978619","file5":"1376978689","file3":"1376978609"},"map_files_photo_id_array":[{"photo_id":"1376978689","filename":"file5"},{"photo_id":"1376978607","filename":"file2"},{"photo_id":"1376978619","filename":"file4"},{"photo_id":"1376978604","filename":"file1"},{"photo_id":"1376978601","filename":"file0"},{"photo_id":"1376978609","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978601":["hashtag1","hashtag2"]},{"1376978619":["hashtag1","hashtag2"]},{"1376978604":["hashtag1","hashtag2"]},{"1376978607":["hashtag1","hashtag2"]},{"1376978609":["hashtag1","hashtag2"]},{"1376978689":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978601, 1376978619, 1376978604, 1376978607, 1376978609, 1376978689)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.396061182022095 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:56:02.473332 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/31/image_14082025_00_31_29_10410.jpg', '/media/data/images/14082025/00/31/image_14082025_00_31_48_10381.jpg', '/media/data/images/14082025/00/31/image_14082025_00_31_59_10358.jpg', '/media/data/images/14082025/00/32/image_14082025_00_32_08_9302.jpg', '/media/data/images/14082025/00/32/image_14082025_00_32_19_10371.jpg', '/media/data/images/14082025/00/32/image_14082025_00_32_38_9099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/31/image_14082025_00_31_29_10410.jpg /media/data/images/14082025/00/31/image_14082025_00_31_48_10381.jpg /media/data/images/14082025/00/31/image_14082025_00_31_59_10358.jpg /media/data/images/14082025/00/32/image_14082025_00_32_08_9302.jpg /media/data/images/14082025/00/32/image_14082025_00_32_19_10371.jpg /media/data/images/14082025/00/32/image_14082025_00_32_38_9099.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978715","1376978726","1376978711","1376978702","1376978731","1376978707"],"photo_ids_order":["1376978702","1376978707","1376978711","1376978715","1376978726","1376978731"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b968d474fb1775c3d6ae246a4f0a165.jpg","text":"TemporaryFile(/tmp/multipartBody6612272348574509308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161823458,"filename":"image_14082025_00_32_08_9302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d058fa79e014b9c633765bd7999e2d1.jpg","text":"TemporaryFile(/tmp/multipartBody5457034111027384309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161823458,"filename":"image_14082025_00_32_19_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58470fa8a3dffdc572cc4a2334819fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4515702071865823465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161823458,"filename":"image_14082025_00_31_59_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ae43fc98698c4071733e115960d606f.jpg","text":"TemporaryFile(/tmp/multipartBody7785391409413629953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161823458,"filename":"image_14082025_00_31_29_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f6d94a903af0e773e971ae8c549dfc5a.jpg","text":"TemporaryFile(/tmp/multipartBody4247860505880792919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161823458,"filename":"image_14082025_00_32_38_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/831e356f2c4f9794ee753c8a819514df.jpg","text":"TemporaryFile(/tmp/multipartBody3562978456081781543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161823458,"filename":"image_14082025_00_31_48_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978711","file1":"1376978707","file0":"1376978702","file4":"1376978726","file5":"1376978731","file3":"1376978715"},"map_files_photo_id_array":[{"photo_id":"1376978731","filename":"file5"},{"photo_id":"1376978711","filename":"file2"},{"photo_id":"1376978726","filename":"file4"},{"photo_id":"1376978707","filename":"file1"},{"photo_id":"1376978702","filename":"file0"},{"photo_id":"1376978715","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978715":["hashtag1","hashtag2"]},{"1376978726":["hashtag1","hashtag2"]},{"1376978711":["hashtag1","hashtag2"]},{"1376978702":["hashtag1","hashtag2"]},{"1376978731":["hashtag1","hashtag2"]},{"1376978707":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978715, 1376978726, 1376978711, 1376978702, 1376978731, 1376978707)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.09859490394592 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:57:02.706815 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/32/image_14082025_00_32_48_10362.jpg', '/media/data/images/14082025/00/32/image_14082025_00_32_59_10423.jpg', '/media/data/images/14082025/00/33/image_14082025_00_33_08_9275.jpg', '/media/data/images/14082025/00/33/image_14082025_00_33_18_10415.jpg', '/media/data/images/14082025/00/33/image_14082025_00_33_38_9173.jpg', '/media/data/images/14082025/00/33/image_14082025_00_33_48_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/32/image_14082025_00_32_48_10362.jpg /media/data/images/14082025/00/32/image_14082025_00_32_59_10423.jpg /media/data/images/14082025/00/33/image_14082025_00_33_08_9275.jpg /media/data/images/14082025/00/33/image_14082025_00_33_18_10415.jpg /media/data/images/14082025/00/33/image_14082025_00_33_38_9173.jpg /media/data/images/14082025/00/33/image_14082025_00_33_48_10409.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978768","1376978764","1376978746","1376978761","1376978758","1376978775"],"photo_ids_order":["1376978746","1376978758","1376978761","1376978764","1376978768","1376978775"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13f1c48b5b0270ae4aacade86bf914f7.jpg","text":"TemporaryFile(/tmp/multipartBody1365564392462870943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161885496,"filename":"image_14082025_00_33_38_9173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7dfb3fbf0fc21f471f55c9f16732ce2a.jpg","text":"TemporaryFile(/tmp/multipartBody659678946954216829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161885496,"filename":"image_14082025_00_33_18_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7743f2cba13edebce4e674f808d23b7b.jpg","text":"TemporaryFile(/tmp/multipartBody3849783805709028304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161885496,"filename":"image_14082025_00_32_48_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c677488e025c2dcce83b2cf5bfa6115e.jpg","text":"TemporaryFile(/tmp/multipartBody1979962814886669793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161885496,"filename":"image_14082025_00_33_08_9275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa418d00793d85771d694c58d94c29fc.jpg","text":"TemporaryFile(/tmp/multipartBody7767405749494786917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161885496,"filename":"image_14082025_00_32_59_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9c0e8c5795ed37e27cced1666767c90.jpg","text":"TemporaryFile(/tmp/multipartBody6414328844393428782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755161885496,"filename":"image_14082025_00_33_48_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978761","file1":"1376978758","file0":"1376978746","file4":"1376978768","file5":"1376978775","file3":"1376978764"},"map_files_photo_id_array":[{"photo_id":"1376978775","filename":"file5"},{"photo_id":"1376978761","filename":"file2"},{"photo_id":"1376978768","filename":"file4"},{"photo_id":"1376978758","filename":"file1"},{"photo_id":"1376978746","filename":"file0"},{"photo_id":"1376978764","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978768":["hashtag1","hashtag2"]},{"1376978764":["hashtag1","hashtag2"]},{"1376978746":["hashtag1","hashtag2"]},{"1376978761":["hashtag1","hashtag2"]},{"1376978758":["hashtag1","hashtag2"]},{"1376978775":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978768, 1376978764, 1376978746, 1376978761, 1376978758, 1376978775)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.65355038642883 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 10:59:03.729436 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/34/image_14082025_00_34_29_10336.jpg', '/media/data/images/14082025/00/34/image_14082025_00_34_59_10373.jpg', '/media/data/images/14082025/00/35/image_14082025_00_35_08_9259.jpg', '/media/data/images/14082025/00/35/image_14082025_00_35_39_10335.jpg', '/media/data/images/14082025/00/35/image_14082025_00_35_48_9128.jpg', '/media/data/images/14082025/00/36/image_14082025_00_36_28_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/34/image_14082025_00_34_29_10336.jpg /media/data/images/14082025/00/34/image_14082025_00_34_59_10373.jpg /media/data/images/14082025/00/35/image_14082025_00_35_08_9259.jpg /media/data/images/14082025/00/35/image_14082025_00_35_39_10335.jpg /media/data/images/14082025/00/35/image_14082025_00_35_48_9128.jpg /media/data/images/14082025/00/36/image_14082025_00_36_28_10422.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978798","1376978825","1376978828","1376978821","1376978806","1376978811"],"photo_ids_order":["1376978798","1376978806","1376978811","1376978821","1376978825","1376978828"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5aafb405eb9893a543e89f28e95dd6e5.jpg","text":"TemporaryFile(/tmp/multipartBody2462819311025883385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162004667,"filename":"image_14082025_00_34_29_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71be7c9f90c3be5ee070cc44386628f4.jpg","text":"TemporaryFile(/tmp/multipartBody1679591979611997457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162004667,"filename":"image_14082025_00_35_48_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1afe541822dec83db577bfd07523b599.jpg","text":"TemporaryFile(/tmp/multipartBody904800926325885030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162004667,"filename":"image_14082025_00_36_28_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b7d4efeaf6a0ad0b64118b45c2f379f.jpg","text":"TemporaryFile(/tmp/multipartBody5106874359080648262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162004667,"filename":"image_14082025_00_35_39_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d51cd6c735a767297a00f5a5cb16675f.jpg","text":"TemporaryFile(/tmp/multipartBody7638176742128849274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162004667,"filename":"image_14082025_00_34_59_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d858d63a5a0e3bb19da639c530dfa007.jpg","text":"TemporaryFile(/tmp/multipartBody8865942075130935802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162004667,"filename":"image_14082025_00_35_08_9259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978811","file1":"1376978806","file0":"1376978798","file4":"1376978825","file5":"1376978828","file3":"1376978821"},"map_files_photo_id_array":[{"photo_id":"1376978828","filename":"file5"},{"photo_id":"1376978811","filename":"file2"},{"photo_id":"1376978825","filename":"file4"},{"photo_id":"1376978806","filename":"file1"},{"photo_id":"1376978798","filename":"file0"},{"photo_id":"1376978821","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978798":["hashtag1","hashtag2"]},{"1376978825":["hashtag1","hashtag2"]},{"1376978828":["hashtag1","hashtag2"]},{"1376978821":["hashtag1","hashtag2"]},{"1376978806":["hashtag1","hashtag2"]},{"1376978811":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978798, 1376978825, 1376978828, 1376978821, 1376978806, 1376978811)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.57899069786072 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:00:03.392938 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/36/image_14082025_00_36_39_10325.jpg', '/media/data/images/14082025/00/37/image_14082025_00_37_09_10310.jpg', '/media/data/images/14082025/00/37/image_14082025_00_37_28_9221.jpg', '/media/data/images/14082025/00/37/image_14082025_00_37_38_10332.jpg', '/media/data/images/14082025/00/37/image_14082025_00_37_58_9192.jpg', '/media/data/images/14082025/00/37/image_14082025_00_38_08_10462.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/36/image_14082025_00_36_39_10325.jpg /media/data/images/14082025/00/37/image_14082025_00_37_09_10310.jpg /media/data/images/14082025/00/37/image_14082025_00_37_28_9221.jpg /media/data/images/14082025/00/37/image_14082025_00_37_38_10332.jpg /media/data/images/14082025/00/37/image_14082025_00_37_58_9192.jpg /media/data/images/14082025/00/37/image_14082025_00_38_08_10462.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978888","1376978921","1376978930","1376978932","1376978935","1376978943"],"photo_ids_order":["1376978888","1376978921","1376978930","1376978932","1376978935","1376978943"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/217c19c9bc016836ed0fdb5b41e1c163.jpg","text":"TemporaryFile(/tmp/multipartBody4716344878137807603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162064324,"filename":"image_14082025_00_36_39_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03e598762aeb774b23c8076fcb6c2dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1631455465555426733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162064324,"filename":"image_14082025_00_37_09_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d163a5673ab79a3b3896cf849f4679d.jpg","text":"TemporaryFile(/tmp/multipartBody7484457419135273808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162064324,"filename":"image_14082025_00_37_28_9221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0be1f4bf4231400ead924ed0f6e69c8f.jpg","text":"TemporaryFile(/tmp/multipartBody5138544142284081101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162064324,"filename":"image_14082025_00_37_38_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d129634d1d379b61ec6525fc2d36cf6e.jpg","text":"TemporaryFile(/tmp/multipartBody1611765225642568742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162064324,"filename":"image_14082025_00_37_58_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c068df3ff1fa46741e18aa6c86b78658.jpg","text":"TemporaryFile(/tmp/multipartBody4936077650554598091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162064324,"filename":"image_14082025_00_38_08_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978930","file1":"1376978921","file0":"1376978888","file4":"1376978935","file5":"1376978943","file3":"1376978932"},"map_files_photo_id_array":[{"photo_id":"1376978943","filename":"file5"},{"photo_id":"1376978930","filename":"file2"},{"photo_id":"1376978935","filename":"file4"},{"photo_id":"1376978921","filename":"file1"},{"photo_id":"1376978888","filename":"file0"},{"photo_id":"1376978932","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978888":["hashtag1","hashtag2"]},{"1376978921":["hashtag1","hashtag2"]},{"1376978930":["hashtag1","hashtag2"]},{"1376978932":["hashtag1","hashtag2"]},{"1376978935":["hashtag1","hashtag2"]},{"1376978943":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978888, 1376978921, 1376978930, 1376978932, 1376978935, 1376978943)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36351680755615 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:01:02.820136 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/38/image_14082025_00_38_28_9155.jpg', '/media/data/images/14082025/00/39/image_14082025_00_39_18_10324.jpg', '/media/data/images/14082025/00/39/image_14082025_00_39_29_10635.jpg', '/media/data/images/14082025/00/39/image_14082025_00_39_38_9213.jpg', '/media/data/images/14082025/00/39/image_14082025_00_39_48_10333.jpg', '/media/data/images/14082025/00/39/image_14082025_00_39_59_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/38/image_14082025_00_38_28_9155.jpg /media/data/images/14082025/00/39/image_14082025_00_39_18_10324.jpg /media/data/images/14082025/00/39/image_14082025_00_39_29_10635.jpg /media/data/images/14082025/00/39/image_14082025_00_39_38_9213.jpg /media/data/images/14082025/00/39/image_14082025_00_39_48_10333.jpg /media/data/images/14082025/00/39/image_14082025_00_39_59_10353.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376978978","1376978989","1376978983","1376978986","1376978991","1376978967"],"photo_ids_order":["1376978967","1376978978","1376978983","1376978986","1376978989","1376978991"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f098797fbe93719be3a57748771bb508.jpg","text":"TemporaryFile(/tmp/multipartBody4945208385686861884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162123751,"filename":"image_14082025_00_39_18_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/898779ebaa278d14834c0cfe05c0f2e5.jpg","text":"TemporaryFile(/tmp/multipartBody8166128467941337179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162123751,"filename":"image_14082025_00_39_48_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea551bd720e4917ca2282f4558fc7562.jpg","text":"TemporaryFile(/tmp/multipartBody2878071183422740886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162123751,"filename":"image_14082025_00_39_29_10635.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe8b06976c6db3ea9a17d6a104a8a41c.jpg","text":"TemporaryFile(/tmp/multipartBody1930457252219311926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162123751,"filename":"image_14082025_00_39_38_9213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/515749f533bebfa9cfa1b12b5cb8fa3c.jpg","text":"TemporaryFile(/tmp/multipartBody3179119981909212272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162123751,"filename":"image_14082025_00_39_59_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf01a2cb2b5baa587a5e87f5ee4b35fe.jpg","text":"TemporaryFile(/tmp/multipartBody707427386189480768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162123751,"filename":"image_14082025_00_38_28_9155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376978983","file1":"1376978978","file0":"1376978967","file4":"1376978989","file5":"1376978991","file3":"1376978986"},"map_files_photo_id_array":[{"photo_id":"1376978991","filename":"file5"},{"photo_id":"1376978983","filename":"file2"},{"photo_id":"1376978989","filename":"file4"},{"photo_id":"1376978978","filename":"file1"},{"photo_id":"1376978967","filename":"file0"},{"photo_id":"1376978986","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376978978":["hashtag1","hashtag2"]},{"1376978989":["hashtag1","hashtag2"]},{"1376978983":["hashtag1","hashtag2"]},{"1376978986":["hashtag1","hashtag2"]},{"1376978991":["hashtag1","hashtag2"]},{"1376978967":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376978978, 1376978989, 1376978983, 1376978986, 1376978991, 1376978967)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.792351722717285 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:02:02.714369 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/40/image_14082025_00_40_18_10382.jpg', '/media/data/images/14082025/00/41/image_14082025_00_41_18_10378.jpg', '/media/data/images/14082025/00/41/image_14082025_00_41_29_10337.jpg', '/media/data/images/14082025/00/41/image_14082025_00_41_48_9128.jpg', '/media/data/images/14082025/00/42/image_14082025_00_42_09_10239.jpg', '/media/data/images/14082025/00/42/image_14082025_00_42_19_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/40/image_14082025_00_40_18_10382.jpg /media/data/images/14082025/00/41/image_14082025_00_41_18_10378.jpg /media/data/images/14082025/00/41/image_14082025_00_41_29_10337.jpg /media/data/images/14082025/00/41/image_14082025_00_41_48_9128.jpg /media/data/images/14082025/00/42/image_14082025_00_42_09_10239.jpg /media/data/images/14082025/00/42/image_14082025_00_42_19_10406.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979020","1376979017","1376979022","1376979036","1376979030","1376979033"],"photo_ids_order":["1376979017","1376979020","1376979022","1376979030","1376979033","1376979036"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84f2c28bae9d302f1ed48ed272e34a76.jpg","text":"TemporaryFile(/tmp/multipartBody8256805872456967531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162183683,"filename":"image_14082025_00_41_18_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0cd8665644004a7fb158ac8ff8e7815.jpg","text":"TemporaryFile(/tmp/multipartBody6619518423928791381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162183683,"filename":"image_14082025_00_40_18_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1baa7e52a900b7aada9b562f04986a7c.jpg","text":"TemporaryFile(/tmp/multipartBody4413232280579826313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162183683,"filename":"image_14082025_00_41_29_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa15846d2dc1cabfc20fbeefd32d6ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8079749443839813895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162183683,"filename":"image_14082025_00_42_19_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fd9f4bfd26fce56d3782fbb3c003c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8621852749306758417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162183683,"filename":"image_14082025_00_41_48_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fda9e567fc72ff88b2e7e83c4a55f8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2522372213735406924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162183683,"filename":"image_14082025_00_42_09_10239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979022","file1":"1376979020","file0":"1376979017","file4":"1376979033","file5":"1376979036","file3":"1376979030"},"map_files_photo_id_array":[{"photo_id":"1376979036","filename":"file5"},{"photo_id":"1376979022","filename":"file2"},{"photo_id":"1376979033","filename":"file4"},{"photo_id":"1376979020","filename":"file1"},{"photo_id":"1376979017","filename":"file0"},{"photo_id":"1376979030","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979020":["hashtag1","hashtag2"]},{"1376979017":["hashtag1","hashtag2"]},{"1376979022":["hashtag1","hashtag2"]},{"1376979036":["hashtag1","hashtag2"]},{"1376979030":["hashtag1","hashtag2"]},{"1376979033":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979020, 1376979017, 1376979022, 1376979036, 1376979030, 1376979033)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.47064757347107 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:03:03.004396 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/42/image_14082025_00_42_28_9120.jpg', '/media/data/images/14082025/00/42/image_14082025_00_42_39_10416.jpg', '/media/data/images/14082025/00/42/image_14082025_00_43_08_10408.jpg', '/media/data/images/14082025/00/43/image_14082025_00_43_19_10339.jpg', '/media/data/images/14082025/00/43/image_14082025_00_43_58_9191.jpg', '/media/data/images/14082025/00/43/image_14082025_00_44_09_10589.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/42/image_14082025_00_42_28_9120.jpg /media/data/images/14082025/00/42/image_14082025_00_42_39_10416.jpg /media/data/images/14082025/00/42/image_14082025_00_43_08_10408.jpg /media/data/images/14082025/00/43/image_14082025_00_43_19_10339.jpg /media/data/images/14082025/00/43/image_14082025_00_43_58_9191.jpg /media/data/images/14082025/00/43/image_14082025_00_44_09_10589.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979088","1376979058","1376979067","1376979084","1376979078","1376979063"],"photo_ids_order":["1376979058","1376979063","1376979067","1376979078","1376979084","1376979088"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/018e82016a8b8df7fb0f8be643e997a9.jpg","text":"TemporaryFile(/tmp/multipartBody5149236347571205610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162243995,"filename":"image_14082025_00_44_09_10589.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a741dc9397c7de9c60f58a2bee83eb76.jpg","text":"TemporaryFile(/tmp/multipartBody5850023362280404612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162243995,"filename":"image_14082025_00_42_28_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e48c6d32cbb892a662ebb9c55ae91876.jpg","text":"TemporaryFile(/tmp/multipartBody6447354537863573922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162243995,"filename":"image_14082025_00_43_08_10408.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/352a930cba4aa8cbb555ea18f293ac9a.jpg","text":"TemporaryFile(/tmp/multipartBody2142868475990883518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162243995,"filename":"image_14082025_00_43_58_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a37e16cc40c7d5dfa94c2e89e338f91d.jpg","text":"TemporaryFile(/tmp/multipartBody4084193805735343337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162243995,"filename":"image_14082025_00_43_19_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d633efc4bd8881dd2f629a5d2d38abd.jpg","text":"TemporaryFile(/tmp/multipartBody4866841971549514166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162243995,"filename":"image_14082025_00_42_39_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979067","file1":"1376979063","file0":"1376979058","file4":"1376979084","file5":"1376979088","file3":"1376979078"},"map_files_photo_id_array":[{"photo_id":"1376979088","filename":"file5"},{"photo_id":"1376979067","filename":"file2"},{"photo_id":"1376979084","filename":"file4"},{"photo_id":"1376979063","filename":"file1"},{"photo_id":"1376979058","filename":"file0"},{"photo_id":"1376979078","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979088":["hashtag1","hashtag2"]},{"1376979058":["hashtag1","hashtag2"]},{"1376979067":["hashtag1","hashtag2"]},{"1376979084":["hashtag1","hashtag2"]},{"1376979078":["hashtag1","hashtag2"]},{"1376979063":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979088, 1376979058, 1376979067, 1376979084, 1376979078, 1376979063)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.50391745567322 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:04:02.871586 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/44/image_14082025_00_44_39_10491.jpg', '/media/data/images/14082025/00/44/image_14082025_00_44_49_10422.jpg', '/media/data/images/14082025/00/45/image_14082025_00_45_19_10483.jpg', '/media/data/images/14082025/00/45/image_14082025_00_45_28_9150.jpg', '/media/data/images/14082025/00/45/image_14082025_00_45_38_10334.jpg', '/media/data/images/14082025/00/45/image_14082025_00_45_49_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/44/image_14082025_00_44_39_10491.jpg /media/data/images/14082025/00/44/image_14082025_00_44_49_10422.jpg /media/data/images/14082025/00/45/image_14082025_00_45_19_10483.jpg /media/data/images/14082025/00/45/image_14082025_00_45_28_9150.jpg /media/data/images/14082025/00/45/image_14082025_00_45_38_10334.jpg /media/data/images/14082025/00/45/image_14082025_00_45_49_10336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979137","1376979133","1376979121","1376979135","1376979126","1376979114"],"photo_ids_order":["1376979114","1376979121","1376979126","1376979133","1376979135","1376979137"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e805b964ddfb2d1c793faebbf63baa07.jpg","text":"TemporaryFile(/tmp/multipartBody5256362549081803204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162303839,"filename":"image_14082025_00_45_49_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6918bd364ec66ffdf23a95182950f390.jpg","text":"TemporaryFile(/tmp/multipartBody4595299860237045447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162303839,"filename":"image_14082025_00_45_28_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d28137d024004c1bbfcfdebc7afb0ef4.jpg","text":"TemporaryFile(/tmp/multipartBody6878910487516126439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162303839,"filename":"image_14082025_00_44_49_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97e0882835f76f2f2193f2dce7adfe6e.jpg","text":"TemporaryFile(/tmp/multipartBody6646691394088420945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162303839,"filename":"image_14082025_00_45_38_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/afc22a6b8b21cbc1a91c087e9b3722ea.jpg","text":"TemporaryFile(/tmp/multipartBody566626084687028474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162303839,"filename":"image_14082025_00_45_19_10483.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/539dc714d6136cf89c97317a2b23502e.jpg","text":"TemporaryFile(/tmp/multipartBody4836672821774106012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162303839,"filename":"image_14082025_00_44_39_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979126","file1":"1376979121","file0":"1376979114","file4":"1376979135","file5":"1376979137","file3":"1376979133"},"map_files_photo_id_array":[{"photo_id":"1376979137","filename":"file5"},{"photo_id":"1376979126","filename":"file2"},{"photo_id":"1376979135","filename":"file4"},{"photo_id":"1376979121","filename":"file1"},{"photo_id":"1376979114","filename":"file0"},{"photo_id":"1376979133","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979137":["hashtag1","hashtag2"]},{"1376979133":["hashtag1","hashtag2"]},{"1376979121":["hashtag1","hashtag2"]},{"1376979135":["hashtag1","hashtag2"]},{"1376979126":["hashtag1","hashtag2"]},{"1376979114":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979137, 1376979133, 1376979121, 1376979135, 1376979126, 1376979114)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.818028926849365 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:05:03.318607 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/45/image_14082025_00_45_58_9094.jpg', '/media/data/images/14082025/00/46/image_14082025_00_46_28_9109.jpg', '/media/data/images/14082025/00/46/image_14082025_00_46_38_10414.jpg', '/media/data/images/14082025/00/46/image_14082025_00_47_08_10513.jpg', '/media/data/images/14082025/00/47/image_14082025_00_47_19_10423.jpg', '/media/data/images/14082025/00/47/image_14082025_00_47_49_10507.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/45/image_14082025_00_45_58_9094.jpg /media/data/images/14082025/00/46/image_14082025_00_46_28_9109.jpg /media/data/images/14082025/00/46/image_14082025_00_46_38_10414.jpg /media/data/images/14082025/00/46/image_14082025_00_47_08_10513.jpg /media/data/images/14082025/00/47/image_14082025_00_47_19_10423.jpg /media/data/images/14082025/00/47/image_14082025_00_47_49_10507.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979178","1376979183","1376979171","1376979180","1376979168","1376979162"],"photo_ids_order":["1376979162","1376979168","1376979171","1376979178","1376979180","1376979183"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71c8878e629454934aa1ab31e61a625e.jpg","text":"TemporaryFile(/tmp/multipartBody4601866335161301605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162364297,"filename":"image_14082025_00_47_08_10513.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67d5c24741afba2f1a640ef46fb7e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody818847370807908353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162364297,"filename":"image_14082025_00_47_49_10507.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6986616e7530758034f8575c194b9f55.jpg","text":"TemporaryFile(/tmp/multipartBody5537294137908526253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162364297,"filename":"image_14082025_00_46_38_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a96c04c1dd42582c0a6dab1ec6484c0d.jpg","text":"TemporaryFile(/tmp/multipartBody1406333326958192862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162364297,"filename":"image_14082025_00_47_19_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d14c7e3231aa51c5f7ee73c491829b68.jpg","text":"TemporaryFile(/tmp/multipartBody1920355272421623031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162364297,"filename":"image_14082025_00_46_28_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2aee9cc2ddc3770ea744213c0a4c400a.jpg","text":"TemporaryFile(/tmp/multipartBody1952097440669129910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162364297,"filename":"image_14082025_00_45_58_9094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979171","file1":"1376979168","file0":"1376979162","file4":"1376979180","file5":"1376979183","file3":"1376979178"},"map_files_photo_id_array":[{"photo_id":"1376979183","filename":"file5"},{"photo_id":"1376979171","filename":"file2"},{"photo_id":"1376979180","filename":"file4"},{"photo_id":"1376979168","filename":"file1"},{"photo_id":"1376979162","filename":"file0"},{"photo_id":"1376979178","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979178":["hashtag1","hashtag2"]},{"1376979183":["hashtag1","hashtag2"]},{"1376979171":["hashtag1","hashtag2"]},{"1376979180":["hashtag1","hashtag2"]},{"1376979168":["hashtag1","hashtag2"]},{"1376979162":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979178, 1376979183, 1376979171, 1376979180, 1376979168, 1376979162)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.24252676963806 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:06:03.102355 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/47/image_14082025_00_47_58_9176.jpg', '/media/data/images/14082025/00/48/image_14082025_00_48_28_9145.jpg', '/media/data/images/14082025/00/48/image_14082025_00_48_38_10337.jpg', '/media/data/images/14082025/00/48/image_14082025_00_48_49_10330.jpg', '/media/data/images/14082025/00/49/image_14082025_00_49_08_8968.jpg', '/media/data/images/14082025/00/49/image_14082025_00_49_29_10253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/47/image_14082025_00_47_58_9176.jpg /media/data/images/14082025/00/48/image_14082025_00_48_28_9145.jpg /media/data/images/14082025/00/48/image_14082025_00_48_38_10337.jpg /media/data/images/14082025/00/48/image_14082025_00_48_49_10330.jpg /media/data/images/14082025/00/49/image_14082025_00_49_08_8968.jpg /media/data/images/14082025/00/49/image_14082025_00_49_29_10253.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979272","1376979209","1376979279","1376979249","1376979258","1376979216"],"photo_ids_order":["1376979209","1376979216","1376979249","1376979258","1376979272","1376979279"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d083bf47cce45d8f1e9bb77788d1f3ff.jpg","text":"TemporaryFile(/tmp/multipartBody5790760303656347688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162424070,"filename":"image_14082025_00_49_08_8968.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be7a6bcfed7ad81d30b8076492a54eef.jpg","text":"TemporaryFile(/tmp/multipartBody2583063019405282713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162424070,"filename":"image_14082025_00_47_58_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d75df8086888da5ce58c7b563c1b3ba.jpg","text":"TemporaryFile(/tmp/multipartBody8785253076554377673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162424070,"filename":"image_14082025_00_49_29_10253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ccc1097c6dd1dd20c34c8a76b6e5eca.jpg","text":"TemporaryFile(/tmp/multipartBody7107711425750266554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162424070,"filename":"image_14082025_00_48_38_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38c47a3292945dc71fd48d7ae2322d4f.jpg","text":"TemporaryFile(/tmp/multipartBody520343554368647409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162424070,"filename":"image_14082025_00_48_49_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4822892a14a18b20ba3ad3ff77a092cf.jpg","text":"TemporaryFile(/tmp/multipartBody6479185274169042214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162424070,"filename":"image_14082025_00_48_28_9145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979249","file1":"1376979216","file0":"1376979209","file4":"1376979272","file5":"1376979279","file3":"1376979258"},"map_files_photo_id_array":[{"photo_id":"1376979279","filename":"file5"},{"photo_id":"1376979249","filename":"file2"},{"photo_id":"1376979272","filename":"file4"},{"photo_id":"1376979216","filename":"file1"},{"photo_id":"1376979209","filename":"file0"},{"photo_id":"1376979258","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979272":["hashtag1","hashtag2"]},{"1376979209":["hashtag1","hashtag2"]},{"1376979279":["hashtag1","hashtag2"]},{"1376979249":["hashtag1","hashtag2"]},{"1376979258":["hashtag1","hashtag2"]},{"1376979216":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979272, 1376979209, 1376979279, 1376979249, 1376979258, 1376979216)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.628111362457275 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:07:03.427799 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/49/image_14082025_00_49_58_10327.jpg', '/media/data/images/14082025/00/50/image_14082025_00_50_19_10357.jpg', '/media/data/images/14082025/00/50/image_14082025_00_50_28_9107.jpg', '/media/data/images/14082025/00/50/image_14082025_00_50_58_9095.jpg', '/media/data/images/14082025/00/50/image_14082025_00_51_08_10559.jpg', '/media/data/images/14082025/00/51/image_14082025_00_51_19_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/49/image_14082025_00_49_58_10327.jpg /media/data/images/14082025/00/50/image_14082025_00_50_19_10357.jpg /media/data/images/14082025/00/50/image_14082025_00_50_28_9107.jpg /media/data/images/14082025/00/50/image_14082025_00_50_58_9095.jpg /media/data/images/14082025/00/50/image_14082025_00_51_08_10559.jpg /media/data/images/14082025/00/51/image_14082025_00_51_19_10332.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979368","1376979373","1376979352","1376979355","1376979363","1376979348"],"photo_ids_order":["1376979348","1376979352","1376979355","1376979363","1376979368","1376979373"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e0021c9cd8821621592bbd02d931d69.jpg","text":"TemporaryFile(/tmp/multipartBody1825244860314988661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162484431,"filename":"image_14082025_00_51_08_10559.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a29a187128a0faf078cc9b6f8ac3f2f.jpg","text":"TemporaryFile(/tmp/multipartBody607785309788194314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162484431,"filename":"image_14082025_00_51_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4f6985129ccb69ca43fe880a9598100.jpg","text":"TemporaryFile(/tmp/multipartBody3939927732797522693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162484431,"filename":"image_14082025_00_50_19_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b10d12875267fb09dc708f5f2e8e5128.jpg","text":"TemporaryFile(/tmp/multipartBody7914629100648115321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162484431,"filename":"image_14082025_00_50_28_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80ac064d5c28174a6e4ad3f8b48b80a3.jpg","text":"TemporaryFile(/tmp/multipartBody6775197115709823205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162484431,"filename":"image_14082025_00_50_58_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b394a4887a6d71e5e0b8da866dfd3443.jpg","text":"TemporaryFile(/tmp/multipartBody821727874555831899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162484431,"filename":"image_14082025_00_49_58_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979355","file1":"1376979352","file0":"1376979348","file4":"1376979368","file5":"1376979373","file3":"1376979363"},"map_files_photo_id_array":[{"photo_id":"1376979373","filename":"file5"},{"photo_id":"1376979355","filename":"file2"},{"photo_id":"1376979368","filename":"file4"},{"photo_id":"1376979352","filename":"file1"},{"photo_id":"1376979348","filename":"file0"},{"photo_id":"1376979363","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979368":["hashtag1","hashtag2"]},{"1376979373":["hashtag1","hashtag2"]},{"1376979352":["hashtag1","hashtag2"]},{"1376979355":["hashtag1","hashtag2"]},{"1376979363":["hashtag1","hashtag2"]},{"1376979348":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979368, 1376979373, 1376979352, 1376979355, 1376979363, 1376979348)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.59125113487244 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:08:03.131273 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/51/image_14082025_00_51_28_9191.jpg', '/media/data/images/14082025/00/51/image_14082025_00_51_59_10331.jpg', '/media/data/images/14082025/00/52/image_14082025_00_52_08_9455.jpg', '/media/data/images/14082025/00/52/image_14082025_00_52_19_10356.jpg', '/media/data/images/14082025/00/52/image_14082025_00_52_28_9105.jpg', '/media/data/images/14082025/00/52/image_14082025_00_52_38_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/51/image_14082025_00_51_28_9191.jpg /media/data/images/14082025/00/51/image_14082025_00_51_59_10331.jpg /media/data/images/14082025/00/52/image_14082025_00_52_08_9455.jpg /media/data/images/14082025/00/52/image_14082025_00_52_19_10356.jpg /media/data/images/14082025/00/52/image_14082025_00_52_28_9105.jpg /media/data/images/14082025/00/52/image_14082025_00_52_38_10401.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979425","1376979421","1376979409","1376979399","1376979429","1376979405"],"photo_ids_order":["1376979399","1376979405","1376979409","1376979421","1376979425","1376979429"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9b23ff392541cf8fd7ea26ebeca8034.jpg","text":"TemporaryFile(/tmp/multipartBody4345367414256033166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162544128,"filename":"image_14082025_00_52_28_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e116c53ef0890e28c958bb058c7c4b7.jpg","text":"TemporaryFile(/tmp/multipartBody1693882275137755196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162544128,"filename":"image_14082025_00_52_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d03b7ce1fb5664a4a48e020003d883a.jpg","text":"TemporaryFile(/tmp/multipartBody3699751174215811052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162544128,"filename":"image_14082025_00_52_08_9455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f56583040c1107f79df010ea151412f.jpg","text":"TemporaryFile(/tmp/multipartBody890431670454938602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162544128,"filename":"image_14082025_00_51_28_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c39a43fa7db15387a962d3883e21fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8157064218138107259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162544128,"filename":"image_14082025_00_52_38_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc90e2b067a949782d639056e5b5374a.jpg","text":"TemporaryFile(/tmp/multipartBody1298287244064921247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162544128,"filename":"image_14082025_00_51_59_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979409","file1":"1376979405","file0":"1376979399","file4":"1376979425","file5":"1376979429","file3":"1376979421"},"map_files_photo_id_array":[{"photo_id":"1376979429","filename":"file5"},{"photo_id":"1376979409","filename":"file2"},{"photo_id":"1376979425","filename":"file4"},{"photo_id":"1376979405","filename":"file1"},{"photo_id":"1376979399","filename":"file0"},{"photo_id":"1376979421","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979425":["hashtag1","hashtag2"]},{"1376979421":["hashtag1","hashtag2"]},{"1376979409":["hashtag1","hashtag2"]},{"1376979399":["hashtag1","hashtag2"]},{"1376979429":["hashtag1","hashtag2"]},{"1376979405":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979425, 1376979421, 1376979409, 1376979399, 1376979429, 1376979405)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.07809901237488 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:09:03.803865 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/52/image_14082025_00_52_49_10513.jpg', '/media/data/images/14082025/00/52/image_14082025_00_52_58_9170.jpg', '/media/data/images/14082025/00/52/image_14082025_00_53_09_10560.jpg', '/media/data/images/14082025/00/53/image_14082025_00_53_49_10351.jpg', '/media/data/images/14082025/00/53/image_14082025_00_53_58_9105.jpg', '/media/data/images/14082025/00/53/image_14082025_00_54_09_10608.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/52/image_14082025_00_52_49_10513.jpg /media/data/images/14082025/00/52/image_14082025_00_52_58_9170.jpg /media/data/images/14082025/00/52/image_14082025_00_53_09_10560.jpg /media/data/images/14082025/00/53/image_14082025_00_53_49_10351.jpg /media/data/images/14082025/00/53/image_14082025_00_53_58_9105.jpg /media/data/images/14082025/00/53/image_14082025_00_54_09_10608.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979476","1376979479","1376979452","1376979472","1376979463","1376979459"],"photo_ids_order":["1376979452","1376979459","1376979463","1376979472","1376979476","1376979479"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfc18d4a3c555869808037a5f5440af2.jpg","text":"TemporaryFile(/tmp/multipartBody1611956924174461156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162604781,"filename":"image_14082025_00_53_58_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a09db3384173a7acf63ae5a9c3d6245c.jpg","text":"TemporaryFile(/tmp/multipartBody2311095532788684449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162604781,"filename":"image_14082025_00_54_09_10608.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0cfc9267b17855c7fae9e160f202cd60.jpg","text":"TemporaryFile(/tmp/multipartBody5939951032994311359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162604781,"filename":"image_14082025_00_52_49_10513.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec3b76bd93d5a150117503825d35fd8d.jpg","text":"TemporaryFile(/tmp/multipartBody7015285276122209306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162604781,"filename":"image_14082025_00_53_49_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2f7d4baf7cccda012a3acc744646cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3558445016551104094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162604781,"filename":"image_14082025_00_53_09_10560.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7487a202d71d2c3f69a425c16c42cce4.jpg","text":"TemporaryFile(/tmp/multipartBody8697251616100178706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162604781,"filename":"image_14082025_00_52_58_9170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979463","file1":"1376979459","file0":"1376979452","file4":"1376979476","file5":"1376979479","file3":"1376979472"},"map_files_photo_id_array":[{"photo_id":"1376979479","filename":"file5"},{"photo_id":"1376979463","filename":"file2"},{"photo_id":"1376979476","filename":"file4"},{"photo_id":"1376979459","filename":"file1"},{"photo_id":"1376979452","filename":"file0"},{"photo_id":"1376979472","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979476":["hashtag1","hashtag2"]},{"1376979479":["hashtag1","hashtag2"]},{"1376979452":["hashtag1","hashtag2"]},{"1376979472":["hashtag1","hashtag2"]},{"1376979463":["hashtag1","hashtag2"]},{"1376979459":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979476, 1376979479, 1376979452, 1376979472, 1376979463, 1376979459)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.44765830039978 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:10:02.362447 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/54/image_14082025_00_54_19_10356.jpg', '/media/data/images/14082025/00/54/image_14082025_00_54_28_9162.jpg', '/media/data/images/14082025/00/54/image_14082025_00_54_39_10339.jpg', '/media/data/images/14082025/00/54/image_14082025_00_54_49_10341.jpg', '/media/data/images/14082025/00/55/image_14082025_00_55_08_10325.jpg', '/media/data/images/14082025/00/55/image_14082025_00_55_19_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/54/image_14082025_00_54_19_10356.jpg /media/data/images/14082025/00/54/image_14082025_00_54_28_9162.jpg /media/data/images/14082025/00/54/image_14082025_00_54_39_10339.jpg /media/data/images/14082025/00/54/image_14082025_00_54_49_10341.jpg /media/data/images/14082025/00/55/image_14082025_00_55_08_10325.jpg /media/data/images/14082025/00/55/image_14082025_00_55_19_10333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979524","1376979527","1376979509","1376979520","1376979513","1376979504"],"photo_ids_order":["1376979504","1376979509","1376979513","1376979520","1376979524","1376979527"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3455a9f6176ea1ab0734ef6419c06907.jpg","text":"TemporaryFile(/tmp/multipartBody149577539644947562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162663323,"filename":"image_14082025_00_55_08_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a0d0e9ebf3463a3ece4dc9d3c5d3fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1446727487944768127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162663323,"filename":"image_14082025_00_55_19_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9294e058a522b8c7727ce41816c03100.jpg","text":"TemporaryFile(/tmp/multipartBody7134766827539691681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162663323,"filename":"image_14082025_00_54_28_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2b11ad5ec1a0dfc3355985becebf227.jpg","text":"TemporaryFile(/tmp/multipartBody8548974804463420408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162663323,"filename":"image_14082025_00_54_49_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43e3dd0f5465737932b5fbb092821377.jpg","text":"TemporaryFile(/tmp/multipartBody1586012954247194426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162663323,"filename":"image_14082025_00_54_39_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f804834e90b4922f35fda4a9defb55e0.jpg","text":"TemporaryFile(/tmp/multipartBody7932006149314481438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162663323,"filename":"image_14082025_00_54_19_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979513","file1":"1376979509","file0":"1376979504","file4":"1376979524","file5":"1376979527","file3":"1376979520"},"map_files_photo_id_array":[{"photo_id":"1376979527","filename":"file5"},{"photo_id":"1376979513","filename":"file2"},{"photo_id":"1376979524","filename":"file4"},{"photo_id":"1376979509","filename":"file1"},{"photo_id":"1376979504","filename":"file0"},{"photo_id":"1376979520","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979524":["hashtag1","hashtag2"]},{"1376979527":["hashtag1","hashtag2"]},{"1376979509":["hashtag1","hashtag2"]},{"1376979520":["hashtag1","hashtag2"]},{"1376979513":["hashtag1","hashtag2"]},{"1376979504":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979524, 1376979527, 1376979509, 1376979520, 1376979513, 1376979504)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.602704763412476 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:11:02.869439 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/55/image_14082025_00_55_28_9104.jpg', '/media/data/images/14082025/00/55/image_14082025_00_55_38_10330.jpg', '/media/data/images/14082025/00/55/image_14082025_00_55_49_10391.jpg', '/media/data/images/14082025/00/55/image_14082025_00_55_59_10331.jpg', '/media/data/images/14082025/00/56/image_14082025_00_56_08_9097.jpg', '/media/data/images/14082025/00/56/image_14082025_00_56_18_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/55/image_14082025_00_55_28_9104.jpg /media/data/images/14082025/00/55/image_14082025_00_55_38_10330.jpg /media/data/images/14082025/00/55/image_14082025_00_55_49_10391.jpg /media/data/images/14082025/00/55/image_14082025_00_55_59_10331.jpg /media/data/images/14082025/00/56/image_14082025_00_56_08_9097.jpg /media/data/images/14082025/00/56/image_14082025_00_56_18_10363.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979554","1376979578","1376979563","1376979557","1376979576","1376979566"],"photo_ids_order":["1376979554","1376979557","1376979563","1376979566","1376979576","1376979578"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e53a47d3598593e31d52d61a6b2868b3.jpg","text":"TemporaryFile(/tmp/multipartBody5060359321826116818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162723838,"filename":"image_14082025_00_55_28_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39cd93f8b072de1072c69c0b2c242bbd.jpg","text":"TemporaryFile(/tmp/multipartBody1014254184210574628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162723838,"filename":"image_14082025_00_56_18_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a0a125d5a85369c74fee99de7955f00.jpg","text":"TemporaryFile(/tmp/multipartBody5514762632204677862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162723838,"filename":"image_14082025_00_55_49_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81c7b8b6afe6dd54dbbe111459712c5b.jpg","text":"TemporaryFile(/tmp/multipartBody842648195735202624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162723838,"filename":"image_14082025_00_55_38_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf68c34584e55c4338c2b8f22f7d6661.jpg","text":"TemporaryFile(/tmp/multipartBody1448000950008415428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162723838,"filename":"image_14082025_00_56_08_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13ea5aead15e75c824e2ca25ee963284.jpg","text":"TemporaryFile(/tmp/multipartBody2904209824208126697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162723838,"filename":"image_14082025_00_55_59_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979563","file1":"1376979557","file0":"1376979554","file4":"1376979576","file5":"1376979578","file3":"1376979566"},"map_files_photo_id_array":[{"photo_id":"1376979578","filename":"file5"},{"photo_id":"1376979563","filename":"file2"},{"photo_id":"1376979576","filename":"file4"},{"photo_id":"1376979557","filename":"file1"},{"photo_id":"1376979554","filename":"file0"},{"photo_id":"1376979566","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979554":["hashtag1","hashtag2"]},{"1376979578":["hashtag1","hashtag2"]},{"1376979563":["hashtag1","hashtag2"]},{"1376979557":["hashtag1","hashtag2"]},{"1376979576":["hashtag1","hashtag2"]},{"1376979566":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979554, 1376979578, 1376979563, 1376979557, 1376979576, 1376979566)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.133888244628906 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:12:02.719876 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/56/image_14082025_00_56_29_10428.jpg', '/media/data/images/14082025/00/56/image_14082025_00_56_38_9183.jpg', '/media/data/images/14082025/00/56/image_14082025_00_56_48_10344.jpg', '/media/data/images/14082025/00/56/image_14082025_00_56_59_10348.jpg', '/media/data/images/14082025/00/57/image_14082025_00_57_08_9174.jpg', '/media/data/images/14082025/00/57/image_14082025_00_57_18_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/56/image_14082025_00_56_29_10428.jpg /media/data/images/14082025/00/56/image_14082025_00_56_38_9183.jpg /media/data/images/14082025/00/56/image_14082025_00_56_48_10344.jpg /media/data/images/14082025/00/56/image_14082025_00_56_59_10348.jpg /media/data/images/14082025/00/57/image_14082025_00_57_08_9174.jpg /media/data/images/14082025/00/57/image_14082025_00_57_18_10413.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979677","1376979656","1376979672","1376979681","1376979660","1376979663"],"photo_ids_order":["1376979656","1376979660","1376979663","1376979672","1376979677","1376979681"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88d9f366a3c94cc3e2855e10931aff41.jpg","text":"TemporaryFile(/tmp/multipartBody2175740884786106329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162783702,"filename":"image_14082025_00_57_08_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c867b2b25e9cd6716f784eb947dcbe0.jpg","text":"TemporaryFile(/tmp/multipartBody2106546124128475826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162783702,"filename":"image_14082025_00_56_29_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a576bcee879a65263379f129d6c15d0.jpg","text":"TemporaryFile(/tmp/multipartBody1128158740496658815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162783702,"filename":"image_14082025_00_56_59_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07a93c134b0c3bbec3e32f6807f22d47.jpg","text":"TemporaryFile(/tmp/multipartBody8750313372934100470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162783702,"filename":"image_14082025_00_57_18_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95b1da17e8b5dedc4f12af6de08a8789.jpg","text":"TemporaryFile(/tmp/multipartBody5495302960210543059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162783702,"filename":"image_14082025_00_56_38_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c984ecd9c78970eb2636e63c4831338.jpg","text":"TemporaryFile(/tmp/multipartBody3295116994121565127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162783702,"filename":"image_14082025_00_56_48_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979663","file1":"1376979660","file0":"1376979656","file4":"1376979677","file5":"1376979681","file3":"1376979672"},"map_files_photo_id_array":[{"photo_id":"1376979681","filename":"file5"},{"photo_id":"1376979663","filename":"file2"},{"photo_id":"1376979677","filename":"file4"},{"photo_id":"1376979660","filename":"file1"},{"photo_id":"1376979656","filename":"file0"},{"photo_id":"1376979672","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979677":["hashtag1","hashtag2"]},{"1376979656":["hashtag1","hashtag2"]},{"1376979672":["hashtag1","hashtag2"]},{"1376979681":["hashtag1","hashtag2"]},{"1376979660":["hashtag1","hashtag2"]},{"1376979663":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979677, 1376979656, 1376979672, 1376979681, 1376979660, 1376979663)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.78689384460449 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:13:03.060275 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/57/image_14082025_00_57_39_10335.jpg', '/media/data/images/14082025/00/57/image_14082025_00_57_58_10333.jpg', '/media/data/images/14082025/00/58/image_14082025_00_58_09_10165.jpg', '/media/data/images/14082025/00/58/image_14082025_00_58_19_10354.jpg', '/media/data/images/14082025/00/58/image_14082025_00_58_28_9114.jpg', '/media/data/images/14082025/00/58/image_14082025_00_58_38_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/57/image_14082025_00_57_39_10335.jpg /media/data/images/14082025/00/57/image_14082025_00_57_58_10333.jpg /media/data/images/14082025/00/58/image_14082025_00_58_09_10165.jpg /media/data/images/14082025/00/58/image_14082025_00_58_19_10354.jpg /media/data/images/14082025/00/58/image_14082025_00_58_28_9114.jpg /media/data/images/14082025/00/58/image_14082025_00_58_38_10338.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979799","1376979786","1376979795","1376979774","1376979797","1376979779"],"photo_ids_order":["1376979774","1376979779","1376979786","1376979795","1376979797","1376979799"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8040ebf7a1fcc4b0eae40f29e1f95598.jpg","text":"TemporaryFile(/tmp/multipartBody8831920999344958030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162844024,"filename":"image_14082025_00_58_38_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76cf45d6c3f0b90210cdd7d1475b6fa8.jpg","text":"TemporaryFile(/tmp/multipartBody7978035685519337100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162844024,"filename":"image_14082025_00_58_09_10165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1d710ac603342b26de8c868dba18f412.jpg","text":"TemporaryFile(/tmp/multipartBody49384965152849101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162844024,"filename":"image_14082025_00_58_19_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96b8904b2beefbd808d31cc00400e7d6.jpg","text":"TemporaryFile(/tmp/multipartBody2974570916454324176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162844024,"filename":"image_14082025_00_57_39_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1bf7368d1d014797f7ef00e6a38d55d4.jpg","text":"TemporaryFile(/tmp/multipartBody6173058206427769066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162844024,"filename":"image_14082025_00_58_28_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0226d141936ba0c3a881a0951b3e606e.jpg","text":"TemporaryFile(/tmp/multipartBody6330540910257193646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162844024,"filename":"image_14082025_00_57_58_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979786","file1":"1376979779","file0":"1376979774","file4":"1376979797","file5":"1376979799","file3":"1376979795"},"map_files_photo_id_array":[{"photo_id":"1376979799","filename":"file5"},{"photo_id":"1376979786","filename":"file2"},{"photo_id":"1376979797","filename":"file4"},{"photo_id":"1376979779","filename":"file1"},{"photo_id":"1376979774","filename":"file0"},{"photo_id":"1376979795","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979799":["hashtag1","hashtag2"]},{"1376979786":["hashtag1","hashtag2"]},{"1376979795":["hashtag1","hashtag2"]},{"1376979774":["hashtag1","hashtag2"]},{"1376979797":["hashtag1","hashtag2"]},{"1376979779":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979799, 1376979786, 1376979795, 1376979774, 1376979797, 1376979779)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.41025161743164 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:14:02.899403 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/00/58/image_14082025_00_58_49_10341.jpg', '/media/data/images/14082025/00/58/image_14082025_00_58_59_10338.jpg', '/media/data/images/14082025/00/59/image_14082025_00_59_18_10339.jpg', '/media/data/images/14082025/00/59/image_14082025_00_59_29_10345.jpg', '/media/data/images/14082025/00/59/image_14082025_00_59_38_9151.jpg', '/media/data/images/14082025/00/59/image_14082025_00_59_48_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/00/58/image_14082025_00_58_49_10341.jpg /media/data/images/14082025/00/58/image_14082025_00_58_59_10338.jpg /media/data/images/14082025/00/59/image_14082025_00_59_18_10339.jpg /media/data/images/14082025/00/59/image_14082025_00_59_29_10345.jpg /media/data/images/14082025/00/59/image_14082025_00_59_38_9151.jpg /media/data/images/14082025/00/59/image_14082025_00_59_48_10341.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979854","1376979848","1376979833","1376979842","1376979824","1376979829"],"photo_ids_order":["1376979824","1376979829","1376979833","1376979842","1376979848","1376979854"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1cceca4ddb60fb52cd0f64de59d733e2.jpg","text":"TemporaryFile(/tmp/multipartBody6919884759992575518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162903854,"filename":"image_14082025_00_59_48_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/927afda7900c33eac944047c303cbdf8.jpg","text":"TemporaryFile(/tmp/multipartBody3242417675480203505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162903854,"filename":"image_14082025_00_59_38_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d55e43ba7d174582e822d096659e78ce.jpg","text":"TemporaryFile(/tmp/multipartBody2250527421337743319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162903854,"filename":"image_14082025_00_59_18_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/748b2680f209209d0b896ba43c6ec7cd.jpg","text":"TemporaryFile(/tmp/multipartBody8835746620713571346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162903854,"filename":"image_14082025_00_59_29_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8169e062fbcfe2aff6725bd8ee3803d9.jpg","text":"TemporaryFile(/tmp/multipartBody732433450061111604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162903854,"filename":"image_14082025_00_58_49_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/861ee0fc9f76116e0c82db3ccbd5a6e8.jpg","text":"TemporaryFile(/tmp/multipartBody1199506721215404395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162903854,"filename":"image_14082025_00_58_59_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979833","file1":"1376979829","file0":"1376979824","file4":"1376979848","file5":"1376979854","file3":"1376979842"},"map_files_photo_id_array":[{"photo_id":"1376979854","filename":"file5"},{"photo_id":"1376979833","filename":"file2"},{"photo_id":"1376979848","filename":"file4"},{"photo_id":"1376979829","filename":"file1"},{"photo_id":"1376979824","filename":"file0"},{"photo_id":"1376979842","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979854":["hashtag1","hashtag2"]},{"1376979848":["hashtag1","hashtag2"]},{"1376979833":["hashtag1","hashtag2"]},{"1376979842":["hashtag1","hashtag2"]},{"1376979824":["hashtag1","hashtag2"]},{"1376979829":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979854, 1376979848, 1376979833, 1376979842, 1376979824, 1376979829)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.953267097473145 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:15:03.141300 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/00/image_14082025_01_00_39_10335.jpg', '/media/data/images/14082025/01/01/image_14082025_01_01_09_10215.jpg', '/media/data/images/14082025/01/01/image_14082025_01_01_18_9100.jpg', '/media/data/images/14082025/01/01/image_14082025_01_01_49_10399.jpg', '/media/data/images/14082025/01/01/image_14082025_01_01_58_9149.jpg', '/media/data/images/14082025/01/02/image_14082025_01_02_19_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/00/image_14082025_01_00_39_10335.jpg /media/data/images/14082025/01/01/image_14082025_01_01_09_10215.jpg /media/data/images/14082025/01/01/image_14082025_01_01_18_9100.jpg /media/data/images/14082025/01/01/image_14082025_01_01_49_10399.jpg /media/data/images/14082025/01/01/image_14082025_01_01_58_9149.jpg /media/data/images/14082025/01/02/image_14082025_01_02_19_10364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376979908","1376979897","1376979901","1376979885","1376979876","1376979906"],"photo_ids_order":["1376979876","1376979885","1376979897","1376979901","1376979906","1376979908"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab35cf00729ca811821a965613f6610e.jpg","text":"TemporaryFile(/tmp/multipartBody5885714686571733161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162964146,"filename":"image_14082025_01_02_19_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84837a42eb88e61d6c2221249c20c03b.jpg","text":"TemporaryFile(/tmp/multipartBody7910877759628757731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162964146,"filename":"image_14082025_01_01_18_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dafea9c6f8e08ccd0f690aabdee9bca0.jpg","text":"TemporaryFile(/tmp/multipartBody2599456901790631588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162964146,"filename":"image_14082025_01_01_49_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee2780085fe85b553bd70baa0017ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody6848693532072803174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162964146,"filename":"image_14082025_01_01_09_10215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b4742d99dce60db957548b363d25e40.jpg","text":"TemporaryFile(/tmp/multipartBody3197561174803285164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162964146,"filename":"image_14082025_01_00_39_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4beeece172dc44ad6e44eee5022d4114.jpg","text":"TemporaryFile(/tmp/multipartBody3263990975686281590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755162964146,"filename":"image_14082025_01_01_58_9149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376979897","file1":"1376979885","file0":"1376979876","file4":"1376979906","file5":"1376979908","file3":"1376979901"},"map_files_photo_id_array":[{"photo_id":"1376979908","filename":"file5"},{"photo_id":"1376979897","filename":"file2"},{"photo_id":"1376979906","filename":"file4"},{"photo_id":"1376979885","filename":"file1"},{"photo_id":"1376979876","filename":"file0"},{"photo_id":"1376979901","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376979908":["hashtag1","hashtag2"]},{"1376979897":["hashtag1","hashtag2"]},{"1376979901":["hashtag1","hashtag2"]},{"1376979885":["hashtag1","hashtag2"]},{"1376979876":["hashtag1","hashtag2"]},{"1376979906":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376979908, 1376979897, 1376979901, 1376979885, 1376979876, 1376979906)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 46.94618082046509 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:16:03.052662 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/02/image_14082025_01_02_28_9253.jpg', '/media/data/images/14082025/01/02/image_14082025_01_02_48_9223.jpg', '/media/data/images/14082025/01/02/image_14082025_01_02_58_10522.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_19_10350.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_28_9157.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_39_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/02/image_14082025_01_02_28_9253.jpg /media/data/images/14082025/01/02/image_14082025_01_02_48_9223.jpg /media/data/images/14082025/01/02/image_14082025_01_02_58_10522.jpg /media/data/images/14082025/01/03/image_14082025_01_03_19_10350.jpg /media/data/images/14082025/01/03/image_14082025_01_03_28_9157.jpg /media/data/images/14082025/01/03/image_14082025_01_03_39_10323.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5276434421539307 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:16:22.469073 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/02/image_14082025_01_02_28_9253.jpg', '/media/data/images/14082025/01/02/image_14082025_01_02_48_9223.jpg', '/media/data/images/14082025/01/02/image_14082025_01_02_58_10522.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_19_10350.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_28_9157.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_39_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/02/image_14082025_01_02_28_9253.jpg /media/data/images/14082025/01/02/image_14082025_01_02_48_9223.jpg /media/data/images/14082025/01/02/image_14082025_01_02_58_10522.jpg /media/data/images/14082025/01/03/image_14082025_01_03_19_10350.jpg /media/data/images/14082025/01/03/image_14082025_01_03_28_9157.jpg /media/data/images/14082025/01/03/image_14082025_01_03_39_10323.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980032","1376980028","1376980004","1376980030","1376979987","1376980015"],"photo_ids_order":["1376979987","1376980004","1376980015","1376980028","1376980030","1376980032"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0f9c6bff5e611d79a36241214b0d4b5.jpg","text":"TemporaryFile(/tmp/multipartBody8570600305608884997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163043364,"filename":"image_14082025_01_03_39_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60df0eecd56c9bc6a9f37daf5ee9a745.jpg","text":"TemporaryFile(/tmp/multipartBody8193402249224144549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163043364,"filename":"image_14082025_01_03_19_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8755209552dc61ac008c3f09d97ca3d.jpg","text":"TemporaryFile(/tmp/multipartBody8479403111416465165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163043364,"filename":"image_14082025_01_02_48_9223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49f045d88de47f87e20478852ffa426a.jpg","text":"TemporaryFile(/tmp/multipartBody7080413836102193343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163043364,"filename":"image_14082025_01_03_28_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef0e20a8636f6137f913467f2e91026a.jpg","text":"TemporaryFile(/tmp/multipartBody4007632504917353375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163043364,"filename":"image_14082025_01_02_28_9253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03ce97258981a4da8556eaf88f98b8dc.jpg","text":"TemporaryFile(/tmp/multipartBody7651388814973099812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163043364,"filename":"image_14082025_01_02_58_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980015","file1":"1376980004","file0":"1376979987","file4":"1376980030","file5":"1376980032","file3":"1376980028"},"map_files_photo_id_array":[{"photo_id":"1376980032","filename":"file5"},{"photo_id":"1376980015","filename":"file2"},{"photo_id":"1376980030","filename":"file4"},{"photo_id":"1376980004","filename":"file1"},{"photo_id":"1376979987","filename":"file0"},{"photo_id":"1376980028","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980032":["hashtag1","hashtag2"]},{"1376980028":["hashtag1","hashtag2"]},{"1376980004":["hashtag1","hashtag2"]},{"1376980030":["hashtag1","hashtag2"]},{"1376979987":["hashtag1","hashtag2"]},{"1376980015":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980032, 1376980028, 1376980004, 1376980030, 1376979987, 1376980015)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.062753438949585 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:17:22.560462 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/03/image_14082025_01_03_49_10400.jpg', '/media/data/images/14082025/01/03/image_14082025_01_03_58_9128.jpg', '/media/data/images/14082025/01/03/image_14082025_01_04_09_10729.jpg', '/media/data/images/14082025/01/04/image_14082025_01_04_18_9137.jpg', '/media/data/images/14082025/01/04/image_14082025_01_04_28_10400.jpg', '/media/data/images/14082025/01/04/image_14082025_01_04_39_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/03/image_14082025_01_03_49_10400.jpg /media/data/images/14082025/01/03/image_14082025_01_03_58_9128.jpg /media/data/images/14082025/01/03/image_14082025_01_04_09_10729.jpg /media/data/images/14082025/01/04/image_14082025_01_04_18_9137.jpg /media/data/images/14082025/01/04/image_14082025_01_04_28_10400.jpg /media/data/images/14082025/01/04/image_14082025_01_04_39_10390.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980122","1376980119","1376980110","1376980121","1376980100","1376980105"],"photo_ids_order":["1376980100","1376980105","1376980110","1376980119","1376980121","1376980122"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfa2ced1482ae1d85b01e2a28b8f2c11.jpg","text":"TemporaryFile(/tmp/multipartBody3296972556159994695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163103517,"filename":"image_14082025_01_04_39_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b78ec73f76d038dcca38a633fd94b55b.jpg","text":"TemporaryFile(/tmp/multipartBody4761294870094654788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163103517,"filename":"image_14082025_01_04_18_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e01a209d3e24356cab31960f500f80d.jpg","text":"TemporaryFile(/tmp/multipartBody6866424610621886922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163103517,"filename":"image_14082025_01_04_09_10729.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a98056d1894f5ed4762bc0ea16c209c.jpg","text":"TemporaryFile(/tmp/multipartBody787472874989692947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163103517,"filename":"image_14082025_01_04_28_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e04144cf9cbc1fcd68bd015fcbe5244f.jpg","text":"TemporaryFile(/tmp/multipartBody4143253902117734368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163103517,"filename":"image_14082025_01_03_49_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e5426e94ea55f1f365b6565da19ac41.jpg","text":"TemporaryFile(/tmp/multipartBody6453565072653699790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163103517,"filename":"image_14082025_01_03_58_9128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980110","file1":"1376980105","file0":"1376980100","file4":"1376980121","file5":"1376980122","file3":"1376980119"},"map_files_photo_id_array":[{"photo_id":"1376980122","filename":"file5"},{"photo_id":"1376980110","filename":"file2"},{"photo_id":"1376980121","filename":"file4"},{"photo_id":"1376980105","filename":"file1"},{"photo_id":"1376980100","filename":"file0"},{"photo_id":"1376980119","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980122":["hashtag1","hashtag2"]},{"1376980119":["hashtag1","hashtag2"]},{"1376980110":["hashtag1","hashtag2"]},{"1376980121":["hashtag1","hashtag2"]},{"1376980100":["hashtag1","hashtag2"]},{"1376980105":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980122, 1376980119, 1376980110, 1376980121, 1376980100, 1376980105)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.97743892669678 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:18:22.645103 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/04/image_14082025_01_04_49_10338.jpg', '/media/data/images/14082025/01/05/image_14082025_01_05_08_10237.jpg', '/media/data/images/14082025/01/05/image_14082025_01_05_28_9165.jpg', '/media/data/images/14082025/01/05/image_14082025_01_05_38_10382.jpg', '/media/data/images/14082025/01/05/image_14082025_01_05_49_10378.jpg', '/media/data/images/14082025/01/05/image_14082025_01_06_08_10618.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/04/image_14082025_01_04_49_10338.jpg /media/data/images/14082025/01/05/image_14082025_01_05_08_10237.jpg /media/data/images/14082025/01/05/image_14082025_01_05_28_9165.jpg /media/data/images/14082025/01/05/image_14082025_01_05_38_10382.jpg /media/data/images/14082025/01/05/image_14082025_01_05_49_10378.jpg /media/data/images/14082025/01/05/image_14082025_01_06_08_10618.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980158","1376980171","1376980150","1376980167","1376980152","1376980155"],"photo_ids_order":["1376980150","1376980152","1376980155","1376980158","1376980167","1376980171"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c68c362d6058c08dd4673e66ef36385a.jpg","text":"TemporaryFile(/tmp/multipartBody5688978771336199140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163163610,"filename":"image_14082025_01_05_38_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07e3ec7dc73591a8dad62782a42e4916.jpg","text":"TemporaryFile(/tmp/multipartBody1790564965333859757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163163610,"filename":"image_14082025_01_06_08_10618.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61b6a25b0a1bcab8b2acbaf358fc8dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2984886102755961734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163163610,"filename":"image_14082025_01_04_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae84182799147b703c3249fbce735f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3468619683278660298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163163610,"filename":"image_14082025_01_05_49_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0268cc2c48c3956f0a7b4cff392bd58a.jpg","text":"TemporaryFile(/tmp/multipartBody3836499962804432957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163163610,"filename":"image_14082025_01_05_08_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/630dd7ac398c23933f94ccbf2a9b6052.jpg","text":"TemporaryFile(/tmp/multipartBody5512848974190572137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163163610,"filename":"image_14082025_01_05_28_9165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980155","file1":"1376980152","file0":"1376980150","file4":"1376980167","file5":"1376980171","file3":"1376980158"},"map_files_photo_id_array":[{"photo_id":"1376980171","filename":"file5"},{"photo_id":"1376980155","filename":"file2"},{"photo_id":"1376980167","filename":"file4"},{"photo_id":"1376980152","filename":"file1"},{"photo_id":"1376980150","filename":"file0"},{"photo_id":"1376980158","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980158":["hashtag1","hashtag2"]},{"1376980171":["hashtag1","hashtag2"]},{"1376980150":["hashtag1","hashtag2"]},{"1376980167":["hashtag1","hashtag2"]},{"1376980152":["hashtag1","hashtag2"]},{"1376980155":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980158, 1376980171, 1376980150, 1376980167, 1376980152, 1376980155)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.63689637184143 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:19:22.849092 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/06/image_14082025_01_06_19_10397.jpg', '/media/data/images/14082025/01/06/image_14082025_01_06_28_9101.jpg', '/media/data/images/14082025/01/06/image_14082025_01_06_49_10376.jpg', '/media/data/images/14082025/01/06/image_14082025_01_06_58_9165.jpg', '/media/data/images/14082025/01/06/image_14082025_01_07_08_10477.jpg', '/media/data/images/14082025/01/07/image_14082025_01_07_19_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/06/image_14082025_01_06_19_10397.jpg /media/data/images/14082025/01/06/image_14082025_01_06_28_9101.jpg /media/data/images/14082025/01/06/image_14082025_01_06_49_10376.jpg /media/data/images/14082025/01/06/image_14082025_01_06_58_9165.jpg /media/data/images/14082025/01/06/image_14082025_01_07_08_10477.jpg /media/data/images/14082025/01/07/image_14082025_01_07_19_10371.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980242","1376980232","1376980226","1376980229","1376980279","1376980276"],"photo_ids_order":["1376980226","1376980229","1376980232","1376980242","1376980276","1376980279"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/234e6212c9b77a90e7b1c5e2bc209a99.jpg","text":"TemporaryFile(/tmp/multipartBody2559536192332230515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163223818,"filename":"image_14082025_01_06_58_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0988efd804bb696ae8c472924949ec9b.jpg","text":"TemporaryFile(/tmp/multipartBody6712412888151586204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163223818,"filename":"image_14082025_01_06_49_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b9f6b8a5b167e9bfa36b3d3ce6e30b7.jpg","text":"TemporaryFile(/tmp/multipartBody3947719806906417535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163223818,"filename":"image_14082025_01_06_19_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/172ce76d933060b0294ce6939c0f02d2.jpg","text":"TemporaryFile(/tmp/multipartBody887443952690053881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163223818,"filename":"image_14082025_01_06_28_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/309e2d68c8be7f009cb32a124df1c3bf.jpg","text":"TemporaryFile(/tmp/multipartBody9168045663861776926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163223818,"filename":"image_14082025_01_07_19_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a70c93ed91aa9140752785ada29612a.jpg","text":"TemporaryFile(/tmp/multipartBody4083711632818724928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163223818,"filename":"image_14082025_01_07_08_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980232","file1":"1376980229","file0":"1376980226","file4":"1376980276","file5":"1376980279","file3":"1376980242"},"map_files_photo_id_array":[{"photo_id":"1376980279","filename":"file5"},{"photo_id":"1376980232","filename":"file2"},{"photo_id":"1376980276","filename":"file4"},{"photo_id":"1376980229","filename":"file1"},{"photo_id":"1376980226","filename":"file0"},{"photo_id":"1376980242","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980242":["hashtag1","hashtag2"]},{"1376980232":["hashtag1","hashtag2"]},{"1376980226":["hashtag1","hashtag2"]},{"1376980229":["hashtag1","hashtag2"]},{"1376980279":["hashtag1","hashtag2"]},{"1376980276":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980242, 1376980232, 1376980226, 1376980229, 1376980279, 1376980276)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.21928548812866 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:20:21.908689 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/07/image_14082025_01_07_28_9154.jpg', '/media/data/images/14082025/01/07/image_14082025_01_07_49_10326.jpg', '/media/data/images/14082025/01/07/image_14082025_01_07_59_10414.jpg', '/media/data/images/14082025/01/08/image_14082025_01_08_18_10363.jpg', '/media/data/images/14082025/01/08/image_14082025_01_08_29_10332.jpg', '/media/data/images/14082025/01/08/image_14082025_01_08_39_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/07/image_14082025_01_07_28_9154.jpg /media/data/images/14082025/01/07/image_14082025_01_07_49_10326.jpg /media/data/images/14082025/01/07/image_14082025_01_07_59_10414.jpg /media/data/images/14082025/01/08/image_14082025_01_08_18_10363.jpg /media/data/images/14082025/01/08/image_14082025_01_08_29_10332.jpg /media/data/images/14082025/01/08/image_14082025_01_08_39_10343.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980314","1376980308","1376980311","1376980328","1376980324","1376980306"],"photo_ids_order":["1376980306","1376980308","1376980311","1376980314","1376980324","1376980328"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c728f107197ddcced61f15c308ffc730.jpg","text":"TemporaryFile(/tmp/multipartBody3761988300777685370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163282874,"filename":"image_14082025_01_08_18_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/656fd164e2280e3ff288094ac67062d3.jpg","text":"TemporaryFile(/tmp/multipartBody6335565070094234024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163282874,"filename":"image_14082025_01_07_49_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/397a2d877e183795137d2304a22ecb24.jpg","text":"TemporaryFile(/tmp/multipartBody1407927687520652598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163282874,"filename":"image_14082025_01_07_59_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69b63465b6b3bdef93844a0ce306113b.jpg","text":"TemporaryFile(/tmp/multipartBody3230247388159024148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163282874,"filename":"image_14082025_01_08_39_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/55f95bc263025f9708690bb22d45b50c.jpg","text":"TemporaryFile(/tmp/multipartBody2598573274517410669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163282874,"filename":"image_14082025_01_08_29_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b648e799414edc4168f7ba24c527e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6326689252305292375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163282874,"filename":"image_14082025_01_07_28_9154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980311","file1":"1376980308","file0":"1376980306","file4":"1376980324","file5":"1376980328","file3":"1376980314"},"map_files_photo_id_array":[{"photo_id":"1376980328","filename":"file5"},{"photo_id":"1376980311","filename":"file2"},{"photo_id":"1376980324","filename":"file4"},{"photo_id":"1376980308","filename":"file1"},{"photo_id":"1376980306","filename":"file0"},{"photo_id":"1376980314","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980314":["hashtag1","hashtag2"]},{"1376980308":["hashtag1","hashtag2"]},{"1376980311":["hashtag1","hashtag2"]},{"1376980328":["hashtag1","hashtag2"]},{"1376980324":["hashtag1","hashtag2"]},{"1376980306":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980314, 1376980308, 1376980311, 1376980328, 1376980324, 1376980306)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.16407632827759 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:21:22.021710 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/08/image_14082025_01_08_48_9103.jpg', '/media/data/images/14082025/01/09/image_14082025_01_09_19_10343.jpg', '/media/data/images/14082025/01/09/image_14082025_01_09_49_10338.jpg', '/media/data/images/14082025/01/10/image_14082025_01_10_28_9131.jpg', '/media/data/images/14082025/01/10/image_14082025_01_10_39_10438.jpg', '/media/data/images/14082025/01/10/image_14082025_01_10_58_9185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/08/image_14082025_01_08_48_9103.jpg /media/data/images/14082025/01/09/image_14082025_01_09_19_10343.jpg /media/data/images/14082025/01/09/image_14082025_01_09_49_10338.jpg /media/data/images/14082025/01/10/image_14082025_01_10_28_9131.jpg /media/data/images/14082025/01/10/image_14082025_01_10_39_10438.jpg /media/data/images/14082025/01/10/image_14082025_01_10_58_9185.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980367","1376980364","1376980351","1376980356","1376980365","1376980347"],"photo_ids_order":["1376980347","1376980351","1376980356","1376980364","1376980365","1376980367"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62d662cf2b27ddf15cb737c1f364d403.jpg","text":"TemporaryFile(/tmp/multipartBody2981888827193887935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163342964,"filename":"image_14082025_01_10_58_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e9aca2b1108ab511297a266bb2be66c.jpg","text":"TemporaryFile(/tmp/multipartBody5446606544803235340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163342964,"filename":"image_14082025_01_10_28_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/571fbdddad4502e38131f95f58bd6973.jpg","text":"TemporaryFile(/tmp/multipartBody210072940036621866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163342964,"filename":"image_14082025_01_09_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/073bb5741e23bebe9e97e32a501c67e1.jpg","text":"TemporaryFile(/tmp/multipartBody8913948233311987705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163342964,"filename":"image_14082025_01_09_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75fc3d5f219106a40448a293b9198f8c.jpg","text":"TemporaryFile(/tmp/multipartBody1832365608267412447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163342964,"filename":"image_14082025_01_10_39_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/afcf5d4bbdbf750fef019f16279c1d6e.jpg","text":"TemporaryFile(/tmp/multipartBody173841041411127710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163342964,"filename":"image_14082025_01_08_48_9103.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980356","file1":"1376980351","file0":"1376980347","file4":"1376980365","file5":"1376980367","file3":"1376980364"},"map_files_photo_id_array":[{"photo_id":"1376980367","filename":"file5"},{"photo_id":"1376980356","filename":"file2"},{"photo_id":"1376980365","filename":"file4"},{"photo_id":"1376980351","filename":"file1"},{"photo_id":"1376980347","filename":"file0"},{"photo_id":"1376980364","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980367":["hashtag1","hashtag2"]},{"1376980364":["hashtag1","hashtag2"]},{"1376980351":["hashtag1","hashtag2"]},{"1376980356":["hashtag1","hashtag2"]},{"1376980365":["hashtag1","hashtag2"]},{"1376980347":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980367, 1376980364, 1376980351, 1376980356, 1376980365, 1376980347)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.36541986465454 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:22:22.134644 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/11/image_14082025_01_11_19_10497.jpg', '/media/data/images/14082025/01/11/image_14082025_01_11_49_10384.jpg', '/media/data/images/14082025/01/11/image_14082025_01_11_58_9131.jpg', '/media/data/images/14082025/01/12/image_14082025_01_12_19_10479.jpg', '/media/data/images/14082025/01/12/image_14082025_01_12_49_10352.jpg', '/media/data/images/14082025/01/12/image_14082025_01_12_58_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/11/image_14082025_01_11_19_10497.jpg /media/data/images/14082025/01/11/image_14082025_01_11_49_10384.jpg /media/data/images/14082025/01/11/image_14082025_01_11_58_9131.jpg /media/data/images/14082025/01/12/image_14082025_01_12_19_10479.jpg /media/data/images/14082025/01/12/image_14082025_01_12_49_10352.jpg /media/data/images/14082025/01/12/image_14082025_01_12_58_9133.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980401","1376980404","1376980397","1376980406","1376980414","1376980417"],"photo_ids_order":["1376980397","1376980401","1376980404","1376980406","1376980414","1376980417"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25c4868fe64596a0c4495cde6c758a94.jpg","text":"TemporaryFile(/tmp/multipartBody1754321812385049126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163403091,"filename":"image_14082025_01_11_49_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a973baddee12cb0b9efdd8d65b108b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4576300496164433082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163403091,"filename":"image_14082025_01_11_58_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/383d2b3124da9614ef66c77c9a72cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody7416521063865197884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163403091,"filename":"image_14082025_01_11_19_10497.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8a988ef28f4d39dfe1fdccf38779116.jpg","text":"TemporaryFile(/tmp/multipartBody1257661423646068681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163403091,"filename":"image_14082025_01_12_19_10479.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/493c8db4f497c8f9fb481328cc22b591.jpg","text":"TemporaryFile(/tmp/multipartBody4581167638527166409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163403091,"filename":"image_14082025_01_12_49_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/220d6783255ce8e620d441b44b06e9d6.jpg","text":"TemporaryFile(/tmp/multipartBody3665456599432706449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163403091,"filename":"image_14082025_01_12_58_9133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980404","file1":"1376980401","file0":"1376980397","file4":"1376980414","file5":"1376980417","file3":"1376980406"},"map_files_photo_id_array":[{"photo_id":"1376980417","filename":"file5"},{"photo_id":"1376980404","filename":"file2"},{"photo_id":"1376980414","filename":"file4"},{"photo_id":"1376980401","filename":"file1"},{"photo_id":"1376980397","filename":"file0"},{"photo_id":"1376980406","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980401":["hashtag1","hashtag2"]},{"1376980404":["hashtag1","hashtag2"]},{"1376980397":["hashtag1","hashtag2"]},{"1376980406":["hashtag1","hashtag2"]},{"1376980414":["hashtag1","hashtag2"]},{"1376980417":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980401, 1376980404, 1376980397, 1376980406, 1376980414, 1376980417)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.1358437538147 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:23:22.314075 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/13/image_14082025_01_13_09_10442.jpg', '/media/data/images/14082025/01/13/image_14082025_01_13_28_9135.jpg', '/media/data/images/14082025/01/13/image_14082025_01_13_58_9137.jpg', '/media/data/images/14082025/01/14/image_14082025_01_14_19_10536.jpg', '/media/data/images/14082025/01/14/image_14082025_01_14_28_9184.jpg', '/media/data/images/14082025/01/14/image_14082025_01_14_39_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/13/image_14082025_01_13_09_10442.jpg /media/data/images/14082025/01/13/image_14082025_01_13_28_9135.jpg /media/data/images/14082025/01/13/image_14082025_01_13_58_9137.jpg /media/data/images/14082025/01/14/image_14082025_01_14_19_10536.jpg /media/data/images/14082025/01/14/image_14082025_01_14_28_9184.jpg /media/data/images/14082025/01/14/image_14082025_01_14_39_10350.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980466","1376980448","1376980451","1376980445","1376980461","1376980464"],"photo_ids_order":["1376980445","1376980448","1376980451","1376980461","1376980464","1376980466"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32ca39f9c3f34553784e7bb642a27ada.jpg","text":"TemporaryFile(/tmp/multipartBody8842270475437349364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163463252,"filename":"image_14082025_01_14_39_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/508a22a655d119b7b67f3d52b9083681.jpg","text":"TemporaryFile(/tmp/multipartBody2227845359646295499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163463252,"filename":"image_14082025_01_13_28_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80cc77b076345ff78dd6b3ed031e396e.jpg","text":"TemporaryFile(/tmp/multipartBody3290468781608490590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163463252,"filename":"image_14082025_01_13_58_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78c304483a1bc333a0b3b91223c5574b.jpg","text":"TemporaryFile(/tmp/multipartBody4942892222237994005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163463252,"filename":"image_14082025_01_13_09_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1590f230c902a5f2784d4f9937222bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4236735941580934573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163463252,"filename":"image_14082025_01_14_19_10536.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93be5bdc0cf8b336e62a7542a582bb4f.jpg","text":"TemporaryFile(/tmp/multipartBody5264243507119505169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163463252,"filename":"image_14082025_01_14_28_9184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980451","file1":"1376980448","file0":"1376980445","file4":"1376980464","file5":"1376980466","file3":"1376980461"},"map_files_photo_id_array":[{"photo_id":"1376980466","filename":"file5"},{"photo_id":"1376980451","filename":"file2"},{"photo_id":"1376980464","filename":"file4"},{"photo_id":"1376980448","filename":"file1"},{"photo_id":"1376980445","filename":"file0"},{"photo_id":"1376980461","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980466":["hashtag1","hashtag2"]},{"1376980448":["hashtag1","hashtag2"]},{"1376980451":["hashtag1","hashtag2"]},{"1376980445":["hashtag1","hashtag2"]},{"1376980461":["hashtag1","hashtag2"]},{"1376980464":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980466, 1376980448, 1376980451, 1376980445, 1376980461, 1376980464)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.09312057495117 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:24:22.448695 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/15/image_14082025_01_15_28_9252.jpg', '/media/data/images/14082025/01/15/image_14082025_01_15_38_10375.jpg', '/media/data/images/14082025/01/15/image_14082025_01_15_49_10363.jpg', '/media/data/images/14082025/01/15/image_14082025_01_16_08_10448.jpg', '/media/data/images/14082025/01/16/image_14082025_01_16_19_10440.jpg', '/media/data/images/14082025/01/16/image_14082025_01_16_28_9247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/15/image_14082025_01_15_28_9252.jpg /media/data/images/14082025/01/15/image_14082025_01_15_38_10375.jpg /media/data/images/14082025/01/15/image_14082025_01_15_49_10363.jpg /media/data/images/14082025/01/15/image_14082025_01_16_08_10448.jpg /media/data/images/14082025/01/16/image_14082025_01_16_19_10440.jpg /media/data/images/14082025/01/16/image_14082025_01_16_28_9247.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980506","1376980509","1376980500","1376980523","1376980522","1376980518"],"photo_ids_order":["1376980500","1376980506","1376980509","1376980518","1376980522","1376980523"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ae3ec2ce0ca5639bbddd841b2c15b92.jpg","text":"TemporaryFile(/tmp/multipartBody5796986367821190388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163523415,"filename":"image_14082025_01_15_38_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54f8a31cad06e21c2d2f08c4abaf3c60.jpg","text":"TemporaryFile(/tmp/multipartBody8641677373715275455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163523415,"filename":"image_14082025_01_15_49_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3bb9aa9281620dcd395c7f67a45fd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5147645659683879974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163523415,"filename":"image_14082025_01_15_28_9252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d84e843c0a684f45a7ecb41135c0f08d.jpg","text":"TemporaryFile(/tmp/multipartBody929613434220061424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163523415,"filename":"image_14082025_01_16_28_9247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd71691e1e06477a9ad6563c8e99f3cd.jpg","text":"TemporaryFile(/tmp/multipartBody5120342160324433643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163523415,"filename":"image_14082025_01_16_19_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d341efb3804cb7f952954ba796e80d9.jpg","text":"TemporaryFile(/tmp/multipartBody95952284585160446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163523415,"filename":"image_14082025_01_16_08_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980509","file1":"1376980506","file0":"1376980500","file4":"1376980522","file5":"1376980523","file3":"1376980518"},"map_files_photo_id_array":[{"photo_id":"1376980523","filename":"file5"},{"photo_id":"1376980509","filename":"file2"},{"photo_id":"1376980522","filename":"file4"},{"photo_id":"1376980506","filename":"file1"},{"photo_id":"1376980500","filename":"file0"},{"photo_id":"1376980518","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980506":["hashtag1","hashtag2"]},{"1376980509":["hashtag1","hashtag2"]},{"1376980500":["hashtag1","hashtag2"]},{"1376980523":["hashtag1","hashtag2"]},{"1376980522":["hashtag1","hashtag2"]},{"1376980518":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980506, 1376980509, 1376980500, 1376980523, 1376980522, 1376980518)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.00014352798462 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:25:22.559811 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/16/image_14082025_01_16_38_10371.jpg', '/media/data/images/14082025/01/16/image_14082025_01_16_49_10352.jpg', '/media/data/images/14082025/01/16/image_14082025_01_17_08_10419.jpg', '/media/data/images/14082025/01/17/image_14082025_01_17_38_10453.jpg', '/media/data/images/14082025/01/17/image_14082025_01_17_58_9195.jpg', '/media/data/images/14082025/01/18/image_14082025_01_18_09_10503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/16/image_14082025_01_16_38_10371.jpg /media/data/images/14082025/01/16/image_14082025_01_16_49_10352.jpg /media/data/images/14082025/01/16/image_14082025_01_17_08_10419.jpg /media/data/images/14082025/01/17/image_14082025_01_17_38_10453.jpg /media/data/images/14082025/01/17/image_14082025_01_17_58_9195.jpg /media/data/images/14082025/01/18/image_14082025_01_18_09_10503.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980604","1376980570","1376980564","1376980558","1376980609","1376980572"],"photo_ids_order":["1376980558","1376980564","1376980570","1376980572","1376980604","1376980609"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b3e98eccc4fb216c75ae5faf855758a.jpg","text":"TemporaryFile(/tmp/multipartBody1180490343999022432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163583495,"filename":"image_14082025_01_17_58_9195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4be680854a6c63cfe53d37d2f3d76f1c.jpg","text":"TemporaryFile(/tmp/multipartBody5116376528550057794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163583495,"filename":"image_14082025_01_17_08_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a30ae159d92e47b0a13693c040c85609.jpg","text":"TemporaryFile(/tmp/multipartBody2426371167271162120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163583495,"filename":"image_14082025_01_16_49_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f366feb7e9e7955514a99629a95f498.jpg","text":"TemporaryFile(/tmp/multipartBody4361788671300388088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163583495,"filename":"image_14082025_01_16_38_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fea212c3616202bd48cbcb323e2cfcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4310537144603008159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163583495,"filename":"image_14082025_01_18_09_10503.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0621efde0a46eb8facb1623f05a8e1e1.jpg","text":"TemporaryFile(/tmp/multipartBody3664158516135807946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163583495,"filename":"image_14082025_01_17_38_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980570","file1":"1376980564","file0":"1376980558","file4":"1376980604","file5":"1376980609","file3":"1376980572"},"map_files_photo_id_array":[{"photo_id":"1376980609","filename":"file5"},{"photo_id":"1376980570","filename":"file2"},{"photo_id":"1376980604","filename":"file4"},{"photo_id":"1376980564","filename":"file1"},{"photo_id":"1376980558","filename":"file0"},{"photo_id":"1376980572","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980604":["hashtag1","hashtag2"]},{"1376980570":["hashtag1","hashtag2"]},{"1376980564":["hashtag1","hashtag2"]},{"1376980558":["hashtag1","hashtag2"]},{"1376980609":["hashtag1","hashtag2"]},{"1376980572":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980604, 1376980570, 1376980564, 1376980558, 1376980609, 1376980572)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.044240951538086 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:26:22.667719 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/18/image_14082025_01_18_19_10394.jpg', '/media/data/images/14082025/01/18/image_14082025_01_18_38_10342.jpg', '/media/data/images/14082025/01/18/image_14082025_01_19_09_10648.jpg', '/media/data/images/14082025/01/19/image_14082025_01_19_18_9302.jpg', '/media/data/images/14082025/01/19/image_14082025_01_19_28_10346.jpg', '/media/data/images/14082025/01/19/image_14082025_01_19_39_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/18/image_14082025_01_18_19_10394.jpg /media/data/images/14082025/01/18/image_14082025_01_18_38_10342.jpg /media/data/images/14082025/01/18/image_14082025_01_19_09_10648.jpg /media/data/images/14082025/01/19/image_14082025_01_19_18_9302.jpg /media/data/images/14082025/01/19/image_14082025_01_19_28_10346.jpg /media/data/images/14082025/01/19/image_14082025_01_19_39_10338.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980676","1376980652","1376980661","1376980655","1376980657","1376980672"],"photo_ids_order":["1376980652","1376980655","1376980657","1376980661","1376980672","1376980676"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74fd364900082b8975dd3fa2ebac662b.jpg","text":"TemporaryFile(/tmp/multipartBody8178077124505975627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163643611,"filename":"image_14082025_01_19_39_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d561af2c616b2007deb4d8fbf5b830d.jpg","text":"TemporaryFile(/tmp/multipartBody1009213079917064933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163643611,"filename":"image_14082025_01_18_19_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/952a0e9e19b93ac594aee1bb41f568fa.jpg","text":"TemporaryFile(/tmp/multipartBody8292741955179336207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163643611,"filename":"image_14082025_01_19_18_9302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/697f2e17e6e4e517ef2714f2f2efdd20.jpg","text":"TemporaryFile(/tmp/multipartBody5204207678555653423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163643611,"filename":"image_14082025_01_18_38_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61905756098830c3e6da374e9642e5da.jpg","text":"TemporaryFile(/tmp/multipartBody5964762979308696314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163643611,"filename":"image_14082025_01_19_09_10648.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37c73db174752a3f7622edb32e5d793b.jpg","text":"TemporaryFile(/tmp/multipartBody950667507148533941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163643611,"filename":"image_14082025_01_19_28_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980657","file1":"1376980655","file0":"1376980652","file4":"1376980672","file5":"1376980676","file3":"1376980661"},"map_files_photo_id_array":[{"photo_id":"1376980676","filename":"file5"},{"photo_id":"1376980657","filename":"file2"},{"photo_id":"1376980672","filename":"file4"},{"photo_id":"1376980655","filename":"file1"},{"photo_id":"1376980652","filename":"file0"},{"photo_id":"1376980661","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980676":["hashtag1","hashtag2"]},{"1376980652":["hashtag1","hashtag2"]},{"1376980661":["hashtag1","hashtag2"]},{"1376980655":["hashtag1","hashtag2"]},{"1376980657":["hashtag1","hashtag2"]},{"1376980672":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980676, 1376980652, 1376980661, 1376980655, 1376980657, 1376980672)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.10544681549072 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:27:22.749235 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/19/image_14082025_01_19_49_10406.jpg', '/media/data/images/14082025/01/19/image_14082025_01_19_58_9183.jpg', '/media/data/images/14082025/01/20/image_14082025_01_20_08_10292.jpg', '/media/data/images/14082025/01/20/image_14082025_01_20_19_10353.jpg', '/media/data/images/14082025/01/20/image_14082025_01_20_28_9111.jpg', '/media/data/images/14082025/01/20/image_14082025_01_20_49_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/19/image_14082025_01_19_49_10406.jpg /media/data/images/14082025/01/19/image_14082025_01_19_58_9183.jpg /media/data/images/14082025/01/20/image_14082025_01_20_08_10292.jpg /media/data/images/14082025/01/20/image_14082025_01_20_19_10353.jpg /media/data/images/14082025/01/20/image_14082025_01_20_28_9111.jpg /media/data/images/14082025/01/20/image_14082025_01_20_49_10401.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980719","1376980704","1376980727","1376980715","1376980699","1376980714"],"photo_ids_order":["1376980699","1376980704","1376980714","1376980715","1376980719","1376980727"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43a59fba7c5e1fb44f272325d5556577.jpg","text":"TemporaryFile(/tmp/multipartBody6289807365896127318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163703715,"filename":"image_14082025_01_20_28_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47ac26c7b2b9ac190ad77adb53047d7d.jpg","text":"TemporaryFile(/tmp/multipartBody3818079644236300753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163703715,"filename":"image_14082025_01_19_58_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d7cb4c082f296a54144e3af04158a41.jpg","text":"TemporaryFile(/tmp/multipartBody5765473145720046873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163703715,"filename":"image_14082025_01_20_49_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/55c8981f8e26210bf60d43a8325c6a20.jpg","text":"TemporaryFile(/tmp/multipartBody2100626633057331317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163703715,"filename":"image_14082025_01_20_19_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61487ad8523ef865460cb3ed5129e322.jpg","text":"TemporaryFile(/tmp/multipartBody2735897978724189951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163703715,"filename":"image_14082025_01_19_49_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f7f75ccd5fc79f1348707fa1bd65444.jpg","text":"TemporaryFile(/tmp/multipartBody1022703867429766937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163703715,"filename":"image_14082025_01_20_08_10292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980714","file1":"1376980704","file0":"1376980699","file4":"1376980719","file5":"1376980727","file3":"1376980715"},"map_files_photo_id_array":[{"photo_id":"1376980727","filename":"file5"},{"photo_id":"1376980714","filename":"file2"},{"photo_id":"1376980719","filename":"file4"},{"photo_id":"1376980704","filename":"file1"},{"photo_id":"1376980699","filename":"file0"},{"photo_id":"1376980715","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980719":["hashtag1","hashtag2"]},{"1376980704":["hashtag1","hashtag2"]},{"1376980727":["hashtag1","hashtag2"]},{"1376980715":["hashtag1","hashtag2"]},{"1376980699":["hashtag1","hashtag2"]},{"1376980714":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980719, 1376980704, 1376980727, 1376980715, 1376980699, 1376980714)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.429563999176025 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:28:21.884727 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/20/image_14082025_01_20_58_9159.jpg', '/media/data/images/14082025/01/21/image_14082025_01_21_19_10370.jpg', '/media/data/images/14082025/01/21/image_14082025_01_21_49_10348.jpg', '/media/data/images/14082025/01/22/image_14082025_01_22_18_10365.jpg', '/media/data/images/14082025/01/22/image_14082025_01_22_29_10672.jpg', '/media/data/images/14082025/01/22/image_14082025_01_22_38_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/20/image_14082025_01_20_58_9159.jpg /media/data/images/14082025/01/21/image_14082025_01_21_19_10370.jpg /media/data/images/14082025/01/21/image_14082025_01_21_49_10348.jpg /media/data/images/14082025/01/22/image_14082025_01_22_18_10365.jpg /media/data/images/14082025/01/22/image_14082025_01_22_29_10672.jpg /media/data/images/14082025/01/22/image_14082025_01_22_38_9111.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980751","1376980748","1376980768","1376980765","1376980759","1376980761"],"photo_ids_order":["1376980748","1376980751","1376980759","1376980761","1376980765","1376980768"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9835e4d1423230fdd258548896e1ba8f.jpg","text":"TemporaryFile(/tmp/multipartBody4123125096134190902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163762834,"filename":"image_14082025_01_21_19_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21e08f3a90556d399ac77f0a04f5a623.jpg","text":"TemporaryFile(/tmp/multipartBody7295254236318160454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163762834,"filename":"image_14082025_01_20_58_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0da4fed4dbbe28c70fc3e2f4c62d4871.jpg","text":"TemporaryFile(/tmp/multipartBody4225511290780182747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163762834,"filename":"image_14082025_01_22_38_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fc0e0cac449fa5cc7c4b0bf27694534.jpg","text":"TemporaryFile(/tmp/multipartBody4347681132210671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163762834,"filename":"image_14082025_01_22_29_10672.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5955fde7b5ffc331bf4292fd79717545.jpg","text":"TemporaryFile(/tmp/multipartBody8795865820847722168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163762834,"filename":"image_14082025_01_21_49_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/08c99709889e0fc8986794726df1f00b.jpg","text":"TemporaryFile(/tmp/multipartBody1533477140895130728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163762834,"filename":"image_14082025_01_22_18_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980759","file1":"1376980751","file0":"1376980748","file4":"1376980765","file5":"1376980768","file3":"1376980761"},"map_files_photo_id_array":[{"photo_id":"1376980768","filename":"file5"},{"photo_id":"1376980759","filename":"file2"},{"photo_id":"1376980765","filename":"file4"},{"photo_id":"1376980751","filename":"file1"},{"photo_id":"1376980748","filename":"file0"},{"photo_id":"1376980761","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980751":["hashtag1","hashtag2"]},{"1376980748":["hashtag1","hashtag2"]},{"1376980768":["hashtag1","hashtag2"]},{"1376980765":["hashtag1","hashtag2"]},{"1376980759":["hashtag1","hashtag2"]},{"1376980761":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980751, 1376980748, 1376980768, 1376980765, 1376980759, 1376980761)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.015718936920166 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:29:21.916226 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/22/image_14082025_01_22_59_10341.jpg', '/media/data/images/14082025/01/23/image_14082025_01_23_08_9082.jpg', '/media/data/images/14082025/01/23/image_14082025_01_23_18_10392.jpg', '/media/data/images/14082025/01/23/image_14082025_01_23_29_10508.jpg', '/media/data/images/14082025/01/23/image_14082025_01_23_38_9121.jpg', '/media/data/images/14082025/01/24/image_14082025_01_24_08_9316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/22/image_14082025_01_22_59_10341.jpg /media/data/images/14082025/01/23/image_14082025_01_23_08_9082.jpg /media/data/images/14082025/01/23/image_14082025_01_23_18_10392.jpg /media/data/images/14082025/01/23/image_14082025_01_23_29_10508.jpg /media/data/images/14082025/01/23/image_14082025_01_23_38_9121.jpg /media/data/images/14082025/01/24/image_14082025_01_24_08_9316.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980812","1376980800","1376980789","1376980810","1376980804","1376980807"],"photo_ids_order":["1376980789","1376980800","1376980804","1376980807","1376980810","1376980812"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9b4a06a73021898f11f159ac2947990.jpg","text":"TemporaryFile(/tmp/multipartBody5382556914994087526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163822953,"filename":"image_14082025_01_24_08_9316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa81bb7ac77a56e765155a79c2d8933b.jpg","text":"TemporaryFile(/tmp/multipartBody6540510509831772288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163822953,"filename":"image_14082025_01_23_08_9082.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/309882b13837f1ddc71d157e082edddf.jpg","text":"TemporaryFile(/tmp/multipartBody5456061101922423054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163822953,"filename":"image_14082025_01_22_59_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b611fad83ddf420502a60d8ab724247e.jpg","text":"TemporaryFile(/tmp/multipartBody5620828490305648773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163822953,"filename":"image_14082025_01_23_38_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d88372ead339c208dfc31dcb73ab31d.jpg","text":"TemporaryFile(/tmp/multipartBody6242919559615313296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163822953,"filename":"image_14082025_01_23_18_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63b9d4230a77ed01628f95308ebc5ced.jpg","text":"TemporaryFile(/tmp/multipartBody648860912045789196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163822953,"filename":"image_14082025_01_23_29_10508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980804","file1":"1376980800","file0":"1376980789","file4":"1376980810","file5":"1376980812","file3":"1376980807"},"map_files_photo_id_array":[{"photo_id":"1376980812","filename":"file5"},{"photo_id":"1376980804","filename":"file2"},{"photo_id":"1376980810","filename":"file4"},{"photo_id":"1376980800","filename":"file1"},{"photo_id":"1376980789","filename":"file0"},{"photo_id":"1376980807","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980812":["hashtag1","hashtag2"]},{"1376980800":["hashtag1","hashtag2"]},{"1376980789":["hashtag1","hashtag2"]},{"1376980810":["hashtag1","hashtag2"]},{"1376980804":["hashtag1","hashtag2"]},{"1376980807":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980812, 1376980800, 1376980789, 1376980810, 1376980804, 1376980807)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.07886075973511 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:30:22.079463 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/24/image_14082025_01_24_59_10485.jpg', '/media/data/images/14082025/01/25/image_14082025_01_25_08_9152.jpg', '/media/data/images/14082025/01/25/image_14082025_01_25_19_10342.jpg', '/media/data/images/14082025/01/25/image_14082025_01_25_49_10964.jpg', '/media/data/images/14082025/01/26/image_14082025_01_26_09_10384.jpg', '/media/data/images/14082025/01/26/image_14082025_01_26_19_10423.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/24/image_14082025_01_24_59_10485.jpg /media/data/images/14082025/01/25/image_14082025_01_25_08_9152.jpg /media/data/images/14082025/01/25/image_14082025_01_25_19_10342.jpg /media/data/images/14082025/01/25/image_14082025_01_25_49_10964.jpg /media/data/images/14082025/01/26/image_14082025_01_26_09_10384.jpg /media/data/images/14082025/01/26/image_14082025_01_26_19_10423.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980856","1376980841","1376980861","1376980900","1376980890","1376980848"],"photo_ids_order":["1376980841","1376980848","1376980856","1376980861","1376980890","1376980900"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/141011a5c0f30224167eed0b439d0019.jpg","text":"TemporaryFile(/tmp/multipartBody2389539687019466053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163882996,"filename":"image_14082025_01_25_19_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a918e22a1872f24758fb2f321124818.jpg","text":"TemporaryFile(/tmp/multipartBody76005517267629386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163882996,"filename":"image_14082025_01_24_59_10485.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae98ebc1fa317781a0a8a775ebb7acb7.jpg","text":"TemporaryFile(/tmp/multipartBody121674007114432573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163882996,"filename":"image_14082025_01_25_49_10964.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c868b1ab02eab377ccba415d19036fa.jpg","text":"TemporaryFile(/tmp/multipartBody1659013808185089559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163882996,"filename":"image_14082025_01_26_19_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5bef43b4697fb1a0e607521d18f118f2.jpg","text":"TemporaryFile(/tmp/multipartBody6355086810142588882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163882996,"filename":"image_14082025_01_26_09_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09b6afc938318436d6d31fd92e9e683e.jpg","text":"TemporaryFile(/tmp/multipartBody3710453711866607917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163882996,"filename":"image_14082025_01_25_08_9152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980856","file1":"1376980848","file0":"1376980841","file4":"1376980890","file5":"1376980900","file3":"1376980861"},"map_files_photo_id_array":[{"photo_id":"1376980900","filename":"file5"},{"photo_id":"1376980856","filename":"file2"},{"photo_id":"1376980890","filename":"file4"},{"photo_id":"1376980848","filename":"file1"},{"photo_id":"1376980841","filename":"file0"},{"photo_id":"1376980861","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980856":["hashtag1","hashtag2"]},{"1376980841":["hashtag1","hashtag2"]},{"1376980861":["hashtag1","hashtag2"]},{"1376980900":["hashtag1","hashtag2"]},{"1376980890":["hashtag1","hashtag2"]},{"1376980848":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980856, 1376980841, 1376980861, 1376980900, 1376980890, 1376980848)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.09527587890625 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:31:22.168862 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/26/image_14082025_01_27_08_10508.jpg', '/media/data/images/14082025/01/27/image_14082025_01_27_38_10352.jpg', '/media/data/images/14082025/01/27/image_14082025_01_27_59_10360.jpg', '/media/data/images/14082025/01/28/image_14082025_01_28_48_10448.jpg', '/media/data/images/14082025/01/28/image_14082025_01_28_59_10414.jpg', '/media/data/images/14082025/01/29/image_14082025_01_29_08_8985.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/26/image_14082025_01_27_08_10508.jpg /media/data/images/14082025/01/27/image_14082025_01_27_38_10352.jpg /media/data/images/14082025/01/27/image_14082025_01_27_59_10360.jpg /media/data/images/14082025/01/28/image_14082025_01_28_48_10448.jpg /media/data/images/14082025/01/28/image_14082025_01_28_59_10414.jpg /media/data/images/14082025/01/29/image_14082025_01_29_08_8985.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request val : 1 : upload photos already in processing! b'{"photo_ids":["1376980922","1376980948","1376980936","1376980939","1376980932","1376980941"],"photo_ids_order":["1376980922","1376980932","1376980936","1376980939","1376980941","1376980948"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/084737b8d425896b81775e97c7c1dde9.jpg","text":"TemporaryFile(/tmp/multipartBody222118540812391153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163943100,"filename":"image_14082025_01_27_08_10508.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb7a07827e9e8777a43bed1615e893cd.jpg","text":"TemporaryFile(/tmp/multipartBody2139087077565033138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163943100,"filename":"image_14082025_01_29_08_8985.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc37310189bd563f1ce650541924e618.jpg","text":"TemporaryFile(/tmp/multipartBody6322246273401017456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163943100,"filename":"image_14082025_01_27_59_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e9506a4e415df0d76f83db774a96ac8.jpg","text":"TemporaryFile(/tmp/multipartBody5825300308030956713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163943100,"filename":"image_14082025_01_28_48_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d36335ef1b58b8068e153e803fc2c3f4.jpg","text":"TemporaryFile(/tmp/multipartBody7323021104479415356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163943100,"filename":"image_14082025_01_27_38_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4e1558ab79e7c53880b0b442c87258c.jpg","text":"TemporaryFile(/tmp/multipartBody234613887619688423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755163943100,"filename":"image_14082025_01_28_59_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980936","file1":"1376980932","file0":"1376980922","file4":"1376980941","file5":"1376980948","file3":"1376980939"},"map_files_photo_id_array":[{"photo_id":"1376980948","filename":"file5"},{"photo_id":"1376980936","filename":"file2"},{"photo_id":"1376980941","filename":"file4"},{"photo_id":"1376980932","filename":"file1"},{"photo_id":"1376980922","filename":"file0"},{"photo_id":"1376980939","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980922":["hashtag1","hashtag2"]},{"1376980948":["hashtag1","hashtag2"]},{"1376980936":["hashtag1","hashtag2"]},{"1376980939":["hashtag1","hashtag2"]},{"1376980932":["hashtag1","hashtag2"]},{"1376980941":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980922, 1376980948, 1376980936, 1376980939, 1376980932, 1376980941)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.73321080207825 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:32:22.274762 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/29/image_14082025_01_29_18_10328.jpg', '/media/data/images/14082025/01/29/image_14082025_01_29_48_9165.jpg', '/media/data/images/14082025/01/29/image_14082025_01_29_58_10334.jpg', '/media/data/images/14082025/01/30/image_14082025_01_30_48_9106.jpg', '/media/data/images/14082025/01/31/image_14082025_01_31_18_9123.jpg', '/media/data/images/14082025/01/31/image_14082025_01_31_58_9087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/29/image_14082025_01_29_18_10328.jpg /media/data/images/14082025/01/29/image_14082025_01_29_48_9165.jpg /media/data/images/14082025/01/29/image_14082025_01_29_58_10334.jpg /media/data/images/14082025/01/30/image_14082025_01_30_48_9106.jpg /media/data/images/14082025/01/31/image_14082025_01_31_18_9123.jpg /media/data/images/14082025/01/31/image_14082025_01_31_58_9087.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376980979","1376980970","1376980990","1376981002","1376980983","1376980986"],"photo_ids_order":["1376980970","1376980979","1376980983","1376980986","1376980990","1376981002"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/697883f35f92992f802843dd3a1f8e25.jpg","text":"TemporaryFile(/tmp/multipartBody1860801325611701511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164003214,"filename":"image_14082025_01_29_48_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/083bcd8b83f9329d35578aa9648a6d08.jpg","text":"TemporaryFile(/tmp/multipartBody8249529120563649311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164003214,"filename":"image_14082025_01_29_18_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67c2193bee0c029b1ad21d9043068aee.jpg","text":"TemporaryFile(/tmp/multipartBody859387748034953957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164003214,"filename":"image_14082025_01_31_18_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50cc51af51e58b8bacb3dd6c5581118e.jpg","text":"TemporaryFile(/tmp/multipartBody2384042146630363931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164003214,"filename":"image_14082025_01_31_58_9087.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52b45649ef21e4f5b511e561d7dbf994.jpg","text":"TemporaryFile(/tmp/multipartBody6631173021873323776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164003214,"filename":"image_14082025_01_29_58_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d00719b795e95e318ab8f8e36df68c4.jpg","text":"TemporaryFile(/tmp/multipartBody7122224672278010989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164003214,"filename":"image_14082025_01_30_48_9106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376980983","file1":"1376980979","file0":"1376980970","file4":"1376980990","file5":"1376981002","file3":"1376980986"},"map_files_photo_id_array":[{"photo_id":"1376981002","filename":"file5"},{"photo_id":"1376980983","filename":"file2"},{"photo_id":"1376980990","filename":"file4"},{"photo_id":"1376980979","filename":"file1"},{"photo_id":"1376980970","filename":"file0"},{"photo_id":"1376980986","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376980979":["hashtag1","hashtag2"]},{"1376980970":["hashtag1","hashtag2"]},{"1376980990":["hashtag1","hashtag2"]},{"1376981002":["hashtag1","hashtag2"]},{"1376980983":["hashtag1","hashtag2"]},{"1376980986":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376980979, 1376980970, 1376980990, 1376981002, 1376980983, 1376980986)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.44105792045593 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:33:22.392160 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/31/image_14082025_01_32_08_10469.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_19_10354.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_28_9104.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_38_10335.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_49_10460.jpg', '/media/data/images/14082025/01/33/image_14082025_01_33_28_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/31/image_14082025_01_32_08_10469.jpg /media/data/images/14082025/01/32/image_14082025_01_32_19_10354.jpg /media/data/images/14082025/01/32/image_14082025_01_32_28_9104.jpg /media/data/images/14082025/01/32/image_14082025_01_32_38_10335.jpg /media/data/images/14082025/01/32/image_14082025_01_32_49_10460.jpg /media/data/images/14082025/01/33/image_14082025_01_33_28_9105.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5370223522186279 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:33:42.398655 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/31/image_14082025_01_32_08_10469.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_19_10354.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_28_9104.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_38_10335.jpg', '/media/data/images/14082025/01/32/image_14082025_01_32_49_10460.jpg', '/media/data/images/14082025/01/33/image_14082025_01_33_28_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/31/image_14082025_01_32_08_10469.jpg /media/data/images/14082025/01/32/image_14082025_01_32_19_10354.jpg /media/data/images/14082025/01/32/image_14082025_01_32_28_9104.jpg /media/data/images/14082025/01/32/image_14082025_01_32_38_10335.jpg /media/data/images/14082025/01/32/image_14082025_01_32_49_10460.jpg /media/data/images/14082025/01/33/image_14082025_01_33_28_9105.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981044","1376981052","1376981046","1376981031","1376981049","1376981034"],"photo_ids_order":["1376981031","1376981034","1376981044","1376981046","1376981049","1376981052"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f3b0a98252cd8137c9e113e6dfd2ae79.jpg","text":"TemporaryFile(/tmp/multipartBody1367159261263564962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164083310,"filename":"image_14082025_01_32_28_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a760f0df9de4d19de27010d1826b01a.jpg","text":"TemporaryFile(/tmp/multipartBody2166648666963725050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164083310,"filename":"image_14082025_01_33_28_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5891fa8378f3b1efadc0dc4d696ffce6.jpg","text":"TemporaryFile(/tmp/multipartBody6996982017390308870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164083310,"filename":"image_14082025_01_32_38_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb57c1395be72cbacc8f40dcde193304.jpg","text":"TemporaryFile(/tmp/multipartBody5852340375200552125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164083310,"filename":"image_14082025_01_32_08_10469.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39fb0f634d20bef8fa533d379420e36f.jpg","text":"TemporaryFile(/tmp/multipartBody4777191362962927320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164083310,"filename":"image_14082025_01_32_49_10460.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/db43c27b444ff6586da39f8d8c2455ee.jpg","text":"TemporaryFile(/tmp/multipartBody6584752537596799718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164083310,"filename":"image_14082025_01_32_19_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981044","file1":"1376981034","file0":"1376981031","file4":"1376981049","file5":"1376981052","file3":"1376981046"},"map_files_photo_id_array":[{"photo_id":"1376981052","filename":"file5"},{"photo_id":"1376981044","filename":"file2"},{"photo_id":"1376981049","filename":"file4"},{"photo_id":"1376981034","filename":"file1"},{"photo_id":"1376981031","filename":"file0"},{"photo_id":"1376981046","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981044":["hashtag1","hashtag2"]},{"1376981052":["hashtag1","hashtag2"]},{"1376981046":["hashtag1","hashtag2"]},{"1376981031":["hashtag1","hashtag2"]},{"1376981049":["hashtag1","hashtag2"]},{"1376981034":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981044, 1376981052, 1376981046, 1376981031, 1376981049, 1376981034)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.658881187438965 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:34:42.486692 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/33/image_14082025_01_33_38_10337.jpg', '/media/data/images/14082025/01/33/image_14082025_01_33_59_10334.jpg', '/media/data/images/14082025/01/34/image_14082025_01_34_08_8932.jpg', '/media/data/images/14082025/01/34/image_14082025_01_34_18_10341.jpg', '/media/data/images/14082025/01/34/image_14082025_01_34_29_10336.jpg', '/media/data/images/14082025/01/34/image_14082025_01_34_38_9179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/33/image_14082025_01_33_38_10337.jpg /media/data/images/14082025/01/33/image_14082025_01_33_59_10334.jpg /media/data/images/14082025/01/34/image_14082025_01_34_08_8932.jpg /media/data/images/14082025/01/34/image_14082025_01_34_18_10341.jpg /media/data/images/14082025/01/34/image_14082025_01_34_29_10336.jpg /media/data/images/14082025/01/34/image_14082025_01_34_38_9179.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981096","1376981083","1376981092","1376981080","1376981091","1376981093"],"photo_ids_order":["1376981080","1376981083","1376981091","1376981092","1376981093","1376981096"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63de839c3228cf17cd06c110c17d57d7.jpg","text":"TemporaryFile(/tmp/multipartBody2084103911206434152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164143434,"filename":"image_14082025_01_34_38_9179.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75d2780bf60357fb27c204a9a60938ca.jpg","text":"TemporaryFile(/tmp/multipartBody4153206053133449733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164143434,"filename":"image_14082025_01_33_59_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/021388d2efad24bdfb431e3f0328ee7f.jpg","text":"TemporaryFile(/tmp/multipartBody589862250724305141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164143434,"filename":"image_14082025_01_34_18_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/926fa7b22ed0f8258f01b8261b72b195.jpg","text":"TemporaryFile(/tmp/multipartBody1473283964300069838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164143434,"filename":"image_14082025_01_33_38_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24093f06a4d54039762dd53ae2bdb602.jpg","text":"TemporaryFile(/tmp/multipartBody7491872936977057442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164143434,"filename":"image_14082025_01_34_08_8932.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a18e5c5b2c732dfa8f34ea51f0dadd1.jpg","text":"TemporaryFile(/tmp/multipartBody6956015362795605585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164143434,"filename":"image_14082025_01_34_29_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981091","file1":"1376981083","file0":"1376981080","file4":"1376981093","file5":"1376981096","file3":"1376981092"},"map_files_photo_id_array":[{"photo_id":"1376981096","filename":"file5"},{"photo_id":"1376981091","filename":"file2"},{"photo_id":"1376981093","filename":"file4"},{"photo_id":"1376981083","filename":"file1"},{"photo_id":"1376981080","filename":"file0"},{"photo_id":"1376981092","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981096":["hashtag1","hashtag2"]},{"1376981083":["hashtag1","hashtag2"]},{"1376981092":["hashtag1","hashtag2"]},{"1376981080":["hashtag1","hashtag2"]},{"1376981091":["hashtag1","hashtag2"]},{"1376981093":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981096, 1376981083, 1376981092, 1376981080, 1376981091, 1376981093)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.19767928123474 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:35:42.671048 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/34/image_14082025_01_34_48_10334.jpg', '/media/data/images/14082025/01/34/image_14082025_01_34_59_10336.jpg', '/media/data/images/14082025/01/35/image_14082025_01_35_09_10170.jpg', '/media/data/images/14082025/01/35/image_14082025_01_35_18_9153.jpg', '/media/data/images/14082025/01/35/image_14082025_01_35_28_10381.jpg', '/media/data/images/14082025/01/35/image_14082025_01_35_49_10401.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/34/image_14082025_01_34_48_10334.jpg /media/data/images/14082025/01/34/image_14082025_01_34_59_10336.jpg /media/data/images/14082025/01/35/image_14082025_01_35_09_10170.jpg /media/data/images/14082025/01/35/image_14082025_01_35_18_9153.jpg /media/data/images/14082025/01/35/image_14082025_01_35_28_10381.jpg /media/data/images/14082025/01/35/image_14082025_01_35_49_10401.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981168","1376981156","1376981123","1376981147","1376981158","1376981124"],"photo_ids_order":["1376981123","1376981124","1376981147","1376981156","1376981158","1376981168"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/04bf381d2e5d1af3e9bd2b4d080c738a.jpg","text":"TemporaryFile(/tmp/multipartBody4985417391479606553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164203665,"filename":"image_14082025_01_35_49_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3c375c6edaba7650cd47e4ec7e624e4.jpg","text":"TemporaryFile(/tmp/multipartBody6436211421320276003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164203665,"filename":"image_14082025_01_35_18_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/beda9796163bb2736338c879f8e4a238.jpg","text":"TemporaryFile(/tmp/multipartBody6806665033881659533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164203665,"filename":"image_14082025_01_34_48_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e084813ffdb0d5a31d3b6b6c7f18e59b.jpg","text":"TemporaryFile(/tmp/multipartBody2832151032386549671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164203665,"filename":"image_14082025_01_35_09_10170.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28bb25ec34bd949711a2108b9561bdd3.jpg","text":"TemporaryFile(/tmp/multipartBody113843473659627976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164203665,"filename":"image_14082025_01_35_28_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c022a67d165ea63ad1089992fe39f6d6.jpg","text":"TemporaryFile(/tmp/multipartBody6310507209417492339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164203665,"filename":"image_14082025_01_34_59_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981147","file1":"1376981124","file0":"1376981123","file4":"1376981158","file5":"1376981168","file3":"1376981156"},"map_files_photo_id_array":[{"photo_id":"1376981168","filename":"file5"},{"photo_id":"1376981147","filename":"file2"},{"photo_id":"1376981158","filename":"file4"},{"photo_id":"1376981124","filename":"file1"},{"photo_id":"1376981123","filename":"file0"},{"photo_id":"1376981156","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981168":["hashtag1","hashtag2"]},{"1376981156":["hashtag1","hashtag2"]},{"1376981123":["hashtag1","hashtag2"]},{"1376981147":["hashtag1","hashtag2"]},{"1376981158":["hashtag1","hashtag2"]},{"1376981124":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981168, 1376981156, 1376981123, 1376981147, 1376981158, 1376981124)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.80967164039612 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:36:41.778207 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/35/image_14082025_01_35_58_9095.jpg', '/media/data/images/14082025/01/36/image_14082025_01_36_08_10317.jpg', '/media/data/images/14082025/01/36/image_14082025_01_36_38_10422.jpg', '/media/data/images/14082025/01/36/image_14082025_01_36_58_9151.jpg', '/media/data/images/14082025/01/36/image_14082025_01_37_08_10482.jpg', '/media/data/images/14082025/01/37/image_14082025_01_37_28_9110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/35/image_14082025_01_35_58_9095.jpg /media/data/images/14082025/01/36/image_14082025_01_36_08_10317.jpg /media/data/images/14082025/01/36/image_14082025_01_36_38_10422.jpg /media/data/images/14082025/01/36/image_14082025_01_36_58_9151.jpg /media/data/images/14082025/01/36/image_14082025_01_37_08_10482.jpg /media/data/images/14082025/01/37/image_14082025_01_37_28_9110.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981189","1376981201","1376981203","1376981206","1376981202","1376981192"],"photo_ids_order":["1376981189","1376981192","1376981201","1376981202","1376981203","1376981206"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7072b61ddeb3a9a7e95f48d349271c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7652750377893541757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164262779,"filename":"image_14082025_01_35_58_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c560140eb4ccb550807192ba8f4c05a2.jpg","text":"TemporaryFile(/tmp/multipartBody2982156165372116184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164262779,"filename":"image_14082025_01_36_38_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f57f365ef98a91701707188e97a760bf.jpg","text":"TemporaryFile(/tmp/multipartBody9001743537705777971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164262779,"filename":"image_14082025_01_37_08_10482.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f5a80c141620bdf7c210450874ee38ce.jpg","text":"TemporaryFile(/tmp/multipartBody4108631259055483111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164262779,"filename":"image_14082025_01_37_28_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2705a98a7d8c0715efc649907d750408.jpg","text":"TemporaryFile(/tmp/multipartBody1798087817095608323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164262779,"filename":"image_14082025_01_36_58_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d618cb0ee8b2f250fbda0de04bef3b29.jpg","text":"TemporaryFile(/tmp/multipartBody1562958162515087423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164262779,"filename":"image_14082025_01_36_08_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981201","file1":"1376981192","file0":"1376981189","file4":"1376981203","file5":"1376981206","file3":"1376981202"},"map_files_photo_id_array":[{"photo_id":"1376981206","filename":"file5"},{"photo_id":"1376981201","filename":"file2"},{"photo_id":"1376981203","filename":"file4"},{"photo_id":"1376981192","filename":"file1"},{"photo_id":"1376981189","filename":"file0"},{"photo_id":"1376981202","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981189":["hashtag1","hashtag2"]},{"1376981201":["hashtag1","hashtag2"]},{"1376981203":["hashtag1","hashtag2"]},{"1376981206":["hashtag1","hashtag2"]},{"1376981202":["hashtag1","hashtag2"]},{"1376981192":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981189, 1376981201, 1376981203, 1376981206, 1376981202, 1376981192)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.5814471244812 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:37:41.901890 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/37/image_14082025_01_37_38_10425.jpg', '/media/data/images/14082025/01/38/image_14082025_01_38_09_9594.jpg', '/media/data/images/14082025/01/38/image_14082025_01_38_28_9157.jpg', '/media/data/images/14082025/01/38/image_14082025_01_38_58_9102.jpg', '/media/data/images/14082025/01/39/image_14082025_01_39_19_10437.jpg', '/media/data/images/14082025/01/39/image_14082025_01_39_28_9107.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/37/image_14082025_01_37_38_10425.jpg /media/data/images/14082025/01/38/image_14082025_01_38_09_9594.jpg /media/data/images/14082025/01/38/image_14082025_01_38_28_9157.jpg /media/data/images/14082025/01/38/image_14082025_01_38_58_9102.jpg /media/data/images/14082025/01/39/image_14082025_01_39_19_10437.jpg /media/data/images/14082025/01/39/image_14082025_01_39_28_9107.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981233","1376981259","1376981250","1376981244","1376981247","1376981235"],"photo_ids_order":["1376981233","1376981235","1376981244","1376981247","1376981250","1376981259"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ba3248f0c146877c166eb94a8edd2d1.jpg","text":"TemporaryFile(/tmp/multipartBody7794414123611845504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164322867,"filename":"image_14082025_01_37_38_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e405eef3b2a951368830f3ee6064c14.jpg","text":"TemporaryFile(/tmp/multipartBody3478020750597084130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164322867,"filename":"image_14082025_01_39_28_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39c050c29a9f7e33b36786335543655a.jpg","text":"TemporaryFile(/tmp/multipartBody440615930949860838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164322867,"filename":"image_14082025_01_39_19_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df0d532a081f70c53c273269f547104a.jpg","text":"TemporaryFile(/tmp/multipartBody2186677172569753155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164322867,"filename":"image_14082025_01_38_28_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e304eff6fda87b88b8ccf82f2a7a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1859519169114162989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164322867,"filename":"image_14082025_01_38_58_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f561e39e45ffeecc8ead038edfd56a1.jpg","text":"TemporaryFile(/tmp/multipartBody6459060821819402699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164322867,"filename":"image_14082025_01_38_09_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981244","file1":"1376981235","file0":"1376981233","file4":"1376981250","file5":"1376981259","file3":"1376981247"},"map_files_photo_id_array":[{"photo_id":"1376981259","filename":"file5"},{"photo_id":"1376981244","filename":"file2"},{"photo_id":"1376981250","filename":"file4"},{"photo_id":"1376981235","filename":"file1"},{"photo_id":"1376981233","filename":"file0"},{"photo_id":"1376981247","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981233":["hashtag1","hashtag2"]},{"1376981259":["hashtag1","hashtag2"]},{"1376981250":["hashtag1","hashtag2"]},{"1376981244":["hashtag1","hashtag2"]},{"1376981247":["hashtag1","hashtag2"]},{"1376981235":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981233, 1376981259, 1376981250, 1376981244, 1376981247, 1376981235)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.30395865440369 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:38:42.015039 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/39/image_14082025_01_39_39_10409.jpg', '/media/data/images/14082025/01/39/image_14082025_01_40_09_10531.jpg', '/media/data/images/14082025/01/40/image_14082025_01_40_38_10329.jpg', '/media/data/images/14082025/01/40/image_14082025_01_40_49_10414.jpg', '/media/data/images/14082025/01/40/image_14082025_01_40_58_9099.jpg', '/media/data/images/14082025/01/41/image_14082025_01_41_19_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/39/image_14082025_01_39_39_10409.jpg /media/data/images/14082025/01/39/image_14082025_01_40_09_10531.jpg /media/data/images/14082025/01/40/image_14082025_01_40_38_10329.jpg /media/data/images/14082025/01/40/image_14082025_01_40_49_10414.jpg /media/data/images/14082025/01/40/image_14082025_01_40_58_9099.jpg /media/data/images/14082025/01/41/image_14082025_01_41_19_10394.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981294","1376981306","1376981296","1376981292","1376981283","1376981279"],"photo_ids_order":["1376981279","1376981283","1376981292","1376981294","1376981296","1376981306"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae26d5490ad26bb49ff0a07391819666.jpg","text":"TemporaryFile(/tmp/multipartBody3506988621626589595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164382969,"filename":"image_14082025_01_40_49_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d685f1660674bedebc99bb6ac5bece27.jpg","text":"TemporaryFile(/tmp/multipartBody3278658546629126608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164382969,"filename":"image_14082025_01_41_19_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ed2a242f7491d1d472dc69df5b08239.jpg","text":"TemporaryFile(/tmp/multipartBody5544037961326447331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164382969,"filename":"image_14082025_01_40_58_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3eb97716b129f763b2ac8ec954e8edde.jpg","text":"TemporaryFile(/tmp/multipartBody1155005986255305470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164382969,"filename":"image_14082025_01_40_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/377ff4b2e5829bddef15b3e9a79b8e75.jpg","text":"TemporaryFile(/tmp/multipartBody5187623714230454592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164382969,"filename":"image_14082025_01_40_09_10531.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1effa27d48ced80017250af692cc143c.jpg","text":"TemporaryFile(/tmp/multipartBody7828939501775671725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164382969,"filename":"image_14082025_01_39_39_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981292","file1":"1376981283","file0":"1376981279","file4":"1376981296","file5":"1376981306","file3":"1376981294"},"map_files_photo_id_array":[{"photo_id":"1376981306","filename":"file5"},{"photo_id":"1376981292","filename":"file2"},{"photo_id":"1376981296","filename":"file4"},{"photo_id":"1376981283","filename":"file1"},{"photo_id":"1376981279","filename":"file0"},{"photo_id":"1376981294","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981294":["hashtag1","hashtag2"]},{"1376981306":["hashtag1","hashtag2"]},{"1376981296":["hashtag1","hashtag2"]},{"1376981292":["hashtag1","hashtag2"]},{"1376981283":["hashtag1","hashtag2"]},{"1376981279":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981294, 1376981306, 1376981296, 1376981292, 1376981283, 1376981279)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07977890968323 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:39:42.134020 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/41/image_14082025_01_41_28_9202.jpg', '/media/data/images/14082025/01/41/image_14082025_01_41_59_10339.jpg', '/media/data/images/14082025/01/42/image_14082025_01_42_39_10374.jpg', '/media/data/images/14082025/01/42/image_14082025_01_42_48_9146.jpg', '/media/data/images/14082025/01/42/image_14082025_01_42_59_10349.jpg', '/media/data/images/14082025/01/43/image_14082025_01_43_18_9110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/41/image_14082025_01_41_28_9202.jpg /media/data/images/14082025/01/41/image_14082025_01_41_59_10339.jpg /media/data/images/14082025/01/42/image_14082025_01_42_39_10374.jpg /media/data/images/14082025/01/42/image_14082025_01_42_48_9146.jpg /media/data/images/14082025/01/42/image_14082025_01_42_59_10349.jpg /media/data/images/14082025/01/43/image_14082025_01_43_18_9110.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.556617259979248 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:40:02.877518 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/41/image_14082025_01_41_28_9202.jpg', '/media/data/images/14082025/01/41/image_14082025_01_41_59_10339.jpg', '/media/data/images/14082025/01/42/image_14082025_01_42_39_10374.jpg', '/media/data/images/14082025/01/42/image_14082025_01_42_48_9146.jpg', '/media/data/images/14082025/01/42/image_14082025_01_42_59_10349.jpg', '/media/data/images/14082025/01/43/image_14082025_01_43_18_9110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/41/image_14082025_01_41_28_9202.jpg /media/data/images/14082025/01/41/image_14082025_01_41_59_10339.jpg /media/data/images/14082025/01/42/image_14082025_01_42_39_10374.jpg /media/data/images/14082025/01/42/image_14082025_01_42_48_9146.jpg /media/data/images/14082025/01/42/image_14082025_01_42_59_10349.jpg /media/data/images/14082025/01/43/image_14082025_01_43_18_9110.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981345","1376981360","1376981356","1376981367","1376981376","1376981363"],"photo_ids_order":["1376981345","1376981356","1376981360","1376981363","1376981367","1376981376"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b0a99086e9fede97ca1e2e3bc97d066.jpg","text":"TemporaryFile(/tmp/multipartBody1011626754945650637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164463760,"filename":"image_14082025_01_41_28_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f143dcbe1dcad332ac57e116102b6312.jpg","text":"TemporaryFile(/tmp/multipartBody5276710265313854247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164463760,"filename":"image_14082025_01_42_39_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5f12b4ed4ee9533e94354bcf7a0e260.jpg","text":"TemporaryFile(/tmp/multipartBody208881334350510359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164463760,"filename":"image_14082025_01_41_59_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bbc9bd14c81e0a39430436594e27fe4c.jpg","text":"TemporaryFile(/tmp/multipartBody8371062055461631868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164463760,"filename":"image_14082025_01_42_59_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/486aca5f9613718c321661eea46abc9f.jpg","text":"TemporaryFile(/tmp/multipartBody5348649596520730283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164463760,"filename":"image_14082025_01_43_18_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/beb1d4a8bff1c2b8737c4806caea8e20.jpg","text":"TemporaryFile(/tmp/multipartBody1143648536566960524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164463760,"filename":"image_14082025_01_42_48_9146.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981360","file1":"1376981356","file0":"1376981345","file4":"1376981367","file5":"1376981376","file3":"1376981363"},"map_files_photo_id_array":[{"photo_id":"1376981376","filename":"file5"},{"photo_id":"1376981360","filename":"file2"},{"photo_id":"1376981367","filename":"file4"},{"photo_id":"1376981356","filename":"file1"},{"photo_id":"1376981345","filename":"file0"},{"photo_id":"1376981363","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981345":["hashtag1","hashtag2"]},{"1376981360":["hashtag1","hashtag2"]},{"1376981356":["hashtag1","hashtag2"]},{"1376981367":["hashtag1","hashtag2"]},{"1376981376":["hashtag1","hashtag2"]},{"1376981363":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981345, 1376981360, 1376981356, 1376981367, 1376981376, 1376981363)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.866915225982666 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:41:03.175312 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/43/image_14082025_01_43_28_10369.jpg', '/media/data/images/14082025/01/43/image_14082025_01_43_39_10359.jpg', '/media/data/images/14082025/01/43/image_14082025_01_43_49_10386.jpg', '/media/data/images/14082025/01/43/image_14082025_01_43_58_9320.jpg', '/media/data/images/14082025/01/44/image_14082025_01_44_09_10389.jpg', '/media/data/images/14082025/01/44/image_14082025_01_44_18_9146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/43/image_14082025_01_43_28_10369.jpg /media/data/images/14082025/01/43/image_14082025_01_43_39_10359.jpg /media/data/images/14082025/01/43/image_14082025_01_43_49_10386.jpg /media/data/images/14082025/01/43/image_14082025_01_43_58_9320.jpg /media/data/images/14082025/01/44/image_14082025_01_44_09_10389.jpg /media/data/images/14082025/01/44/image_14082025_01_44_18_9146.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981444","1376981405","1376981410","1376981434","1376981422","1376981394"],"photo_ids_order":["1376981394","1376981405","1376981410","1376981422","1376981434","1376981444"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2014e5a6f4cb4705bec00ac7ca41c13.jpg","text":"TemporaryFile(/tmp/multipartBody910961972355563529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164524176,"filename":"image_14082025_01_44_18_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/877104069888b2d7a43279d2dd297955.jpg","text":"TemporaryFile(/tmp/multipartBody6532946986994004719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164524176,"filename":"image_14082025_01_43_39_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65dd2e82c04900f0a9343c31528eb012.jpg","text":"TemporaryFile(/tmp/multipartBody6654721057716581793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164524176,"filename":"image_14082025_01_43_49_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88e300b72cbb1c8a65fe54b9e775af19.jpg","text":"TemporaryFile(/tmp/multipartBody3256338321264351490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164524176,"filename":"image_14082025_01_44_09_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0930146228356f416e27e6cb2da5ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1400004616175243983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164524176,"filename":"image_14082025_01_43_58_9320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/864f1d17d1f5ed4922fde01548ea3977.jpg","text":"TemporaryFile(/tmp/multipartBody4094812538167065898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164524176,"filename":"image_14082025_01_43_28_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981410","file1":"1376981405","file0":"1376981394","file4":"1376981434","file5":"1376981444","file3":"1376981422"},"map_files_photo_id_array":[{"photo_id":"1376981444","filename":"file5"},{"photo_id":"1376981410","filename":"file2"},{"photo_id":"1376981434","filename":"file4"},{"photo_id":"1376981405","filename":"file1"},{"photo_id":"1376981394","filename":"file0"},{"photo_id":"1376981422","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981444":["hashtag1","hashtag2"]},{"1376981405":["hashtag1","hashtag2"]},{"1376981410":["hashtag1","hashtag2"]},{"1376981434":["hashtag1","hashtag2"]},{"1376981422":["hashtag1","hashtag2"]},{"1376981394":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981444, 1376981405, 1376981410, 1376981434, 1376981422, 1376981394)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.43518614768982 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:42:03.197245 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/44/image_14082025_01_44_28_10372.jpg', '/media/data/images/14082025/01/44/image_14082025_01_44_39_10365.jpg', '/media/data/images/14082025/01/44/image_14082025_01_44_58_9120.jpg', '/media/data/images/14082025/01/45/image_14082025_01_45_08_10320.jpg', '/media/data/images/14082025/01/45/image_14082025_01_45_19_10499.jpg', '/media/data/images/14082025/01/45/image_14082025_01_45_28_9193.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/44/image_14082025_01_44_28_10372.jpg /media/data/images/14082025/01/44/image_14082025_01_44_39_10365.jpg /media/data/images/14082025/01/44/image_14082025_01_44_58_9120.jpg /media/data/images/14082025/01/45/image_14082025_01_45_08_10320.jpg /media/data/images/14082025/01/45/image_14082025_01_45_19_10499.jpg /media/data/images/14082025/01/45/image_14082025_01_45_28_9193.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981507","1376981519","1376981510","1376981500","1376981503","1376981487"],"photo_ids_order":["1376981487","1376981500","1376981503","1376981507","1376981510","1376981519"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/987643ef20cbb16d1a298c2f844792e8.jpg","text":"TemporaryFile(/tmp/multipartBody996045006360025883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164584162,"filename":"image_14082025_01_45_08_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/176df5710a31e27e79f7674e35624a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7694771071154568470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164584162,"filename":"image_14082025_01_45_28_9193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c636fcb37921ff6c2a3e911e419adc1.jpg","text":"TemporaryFile(/tmp/multipartBody3672978843064707642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164584162,"filename":"image_14082025_01_45_19_10499.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/acebdca004ccc2a9a0b1c4ce748eb845.jpg","text":"TemporaryFile(/tmp/multipartBody1234304392432452341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164584162,"filename":"image_14082025_01_44_39_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/553b7b4ef4bee7dd074abc01af74f389.jpg","text":"TemporaryFile(/tmp/multipartBody8886327237290191875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164584162,"filename":"image_14082025_01_44_58_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/48dffe28206ee633622f7b1cfeec5bc5.jpg","text":"TemporaryFile(/tmp/multipartBody8622618694212403016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164584162,"filename":"image_14082025_01_44_28_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981503","file1":"1376981500","file0":"1376981487","file4":"1376981510","file5":"1376981519","file3":"1376981507"},"map_files_photo_id_array":[{"photo_id":"1376981519","filename":"file5"},{"photo_id":"1376981503","filename":"file2"},{"photo_id":"1376981510","filename":"file4"},{"photo_id":"1376981500","filename":"file1"},{"photo_id":"1376981487","filename":"file0"},{"photo_id":"1376981507","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981507":["hashtag1","hashtag2"]},{"1376981519":["hashtag1","hashtag2"]},{"1376981510":["hashtag1","hashtag2"]},{"1376981500":["hashtag1","hashtag2"]},{"1376981503":["hashtag1","hashtag2"]},{"1376981487":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981507, 1376981519, 1376981510, 1376981500, 1376981503, 1376981487)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.17157244682312 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:43:03.607462 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/45/image_14082025_01_45_49_10344.jpg', '/media/data/images/14082025/01/46/image_14082025_01_46_28_10343.jpg', '/media/data/images/14082025/01/46/image_14082025_01_46_39_10368.jpg', '/media/data/images/14082025/01/46/image_14082025_01_46_49_10459.jpg', '/media/data/images/14082025/01/47/image_14082025_01_47_08_10330.jpg', '/media/data/images/14082025/01/47/image_14082025_01_47_19_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/45/image_14082025_01_45_49_10344.jpg /media/data/images/14082025/01/46/image_14082025_01_46_28_10343.jpg /media/data/images/14082025/01/46/image_14082025_01_46_39_10368.jpg /media/data/images/14082025/01/46/image_14082025_01_46_49_10459.jpg /media/data/images/14082025/01/47/image_14082025_01_47_08_10330.jpg /media/data/images/14082025/01/47/image_14082025_01_47_19_10369.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981567","1376981551","1376981547","1376981556","1376981535","1376981544"],"photo_ids_order":["1376981535","1376981544","1376981547","1376981551","1376981556","1376981567"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c51e9d33814400a918ec62bda658dbde.jpg","text":"TemporaryFile(/tmp/multipartBody2571453326886839426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164644602,"filename":"image_14082025_01_47_19_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e80deb174f99f300099c33a61b94b5a.jpg","text":"TemporaryFile(/tmp/multipartBody2819290363084058980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164644602,"filename":"image_14082025_01_46_49_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9232c66b8a10f11efbdf690b12ab6260.jpg","text":"TemporaryFile(/tmp/multipartBody3934497070439301198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164644602,"filename":"image_14082025_01_46_39_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/48a4f8e7d13bc3fe90df9f33013d3262.jpg","text":"TemporaryFile(/tmp/multipartBody6781503175901456900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164644602,"filename":"image_14082025_01_47_08_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a7f44578c3923c2bdc0f8a9a8166af0.jpg","text":"TemporaryFile(/tmp/multipartBody4042030763093022925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164644602,"filename":"image_14082025_01_45_49_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a62a0abf2af66800a73bbca22029764f.jpg","text":"TemporaryFile(/tmp/multipartBody8411753021278093325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164644602,"filename":"image_14082025_01_46_28_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981547","file1":"1376981544","file0":"1376981535","file4":"1376981556","file5":"1376981567","file3":"1376981551"},"map_files_photo_id_array":[{"photo_id":"1376981567","filename":"file5"},{"photo_id":"1376981547","filename":"file2"},{"photo_id":"1376981556","filename":"file4"},{"photo_id":"1376981544","filename":"file1"},{"photo_id":"1376981535","filename":"file0"},{"photo_id":"1376981551","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981567":["hashtag1","hashtag2"]},{"1376981551":["hashtag1","hashtag2"]},{"1376981547":["hashtag1","hashtag2"]},{"1376981556":["hashtag1","hashtag2"]},{"1376981535":["hashtag1","hashtag2"]},{"1376981544":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981567, 1376981551, 1376981547, 1376981556, 1376981535, 1376981544)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.848798990249634 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:44:03.397352 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/47/image_14082025_01_47_28_9103.jpg', '/media/data/images/14082025/01/47/image_14082025_01_47_38_10404.jpg', '/media/data/images/14082025/01/47/image_14082025_01_47_49_10334.jpg', '/media/data/images/14082025/01/47/image_14082025_01_48_09_10775.jpg', '/media/data/images/14082025/01/48/image_14082025_01_48_19_10362.jpg', '/media/data/images/14082025/01/48/image_14082025_01_48_38_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/47/image_14082025_01_47_28_9103.jpg /media/data/images/14082025/01/47/image_14082025_01_47_38_10404.jpg /media/data/images/14082025/01/47/image_14082025_01_47_49_10334.jpg /media/data/images/14082025/01/47/image_14082025_01_48_09_10775.jpg /media/data/images/14082025/01/48/image_14082025_01_48_19_10362.jpg /media/data/images/14082025/01/48/image_14082025_01_48_38_10352.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981606","1376981596","1376981592","1376981580","1376981601","1376981619"],"photo_ids_order":["1376981580","1376981592","1376981596","1376981601","1376981606","1376981619"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9cc5c45ce8b3e81941906e79086257f4.jpg","text":"TemporaryFile(/tmp/multipartBody2098293377561533420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164704386,"filename":"image_14082025_01_48_19_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef2368c413eaae487fa468a03e66c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody8879279542145071622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164704386,"filename":"image_14082025_01_47_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76b4045d5bb943d54fd75cf743ded42d.jpg","text":"TemporaryFile(/tmp/multipartBody5487747393877737882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164704386,"filename":"image_14082025_01_47_38_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d4f5b9ecc3205de9595429dc1c1fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody7766988693911967833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164704386,"filename":"image_14082025_01_47_28_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1da13e1cebfa05e4e0925ca0d87cd22.jpg","text":"TemporaryFile(/tmp/multipartBody3020762612206201062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164704386,"filename":"image_14082025_01_48_09_10775.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20b220b99243662ae27131b6678b55f6.jpg","text":"TemporaryFile(/tmp/multipartBody2413906739570828584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164704386,"filename":"image_14082025_01_48_38_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981596","file1":"1376981592","file0":"1376981580","file4":"1376981606","file5":"1376981619","file3":"1376981601"},"map_files_photo_id_array":[{"photo_id":"1376981619","filename":"file5"},{"photo_id":"1376981596","filename":"file2"},{"photo_id":"1376981606","filename":"file4"},{"photo_id":"1376981592","filename":"file1"},{"photo_id":"1376981580","filename":"file0"},{"photo_id":"1376981601","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981606":["hashtag1","hashtag2"]},{"1376981596":["hashtag1","hashtag2"]},{"1376981592":["hashtag1","hashtag2"]},{"1376981580":["hashtag1","hashtag2"]},{"1376981601":["hashtag1","hashtag2"]},{"1376981619":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981606, 1376981596, 1376981592, 1376981580, 1376981601, 1376981619)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.959993839263916 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:45:02.609523 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/49/image_14082025_01_49_08_10279.jpg', '/media/data/images/14082025/01/49/image_14082025_01_49_29_10344.jpg', '/media/data/images/14082025/01/49/image_14082025_01_49_38_9097.jpg', '/media/data/images/14082025/01/49/image_14082025_01_49_48_10347.jpg', '/media/data/images/14082025/01/49/image_14082025_01_49_59_10342.jpg', '/media/data/images/14082025/01/50/image_14082025_01_50_18_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/49/image_14082025_01_49_08_10279.jpg /media/data/images/14082025/01/49/image_14082025_01_49_29_10344.jpg /media/data/images/14082025/01/49/image_14082025_01_49_38_9097.jpg /media/data/images/14082025/01/49/image_14082025_01_49_48_10347.jpg /media/data/images/14082025/01/49/image_14082025_01_49_59_10342.jpg /media/data/images/14082025/01/50/image_14082025_01_50_18_10379.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981666","1376981645","1376981648","1376981656","1376981635","1376981652"],"photo_ids_order":["1376981635","1376981645","1376981648","1376981652","1376981656","1376981666"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ce9971129ab03720293556f314a1f4f.jpg","text":"TemporaryFile(/tmp/multipartBody1802481191747742082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164763619,"filename":"image_14082025_01_50_18_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30bb4448f4ff7dfd56c2bd6045190c65.jpg","text":"TemporaryFile(/tmp/multipartBody2286167912851185946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164763619,"filename":"image_14082025_01_49_29_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c59d0635e0e1a30b94186b8abc2121bb.jpg","text":"TemporaryFile(/tmp/multipartBody6758541151001349122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164763619,"filename":"image_14082025_01_49_38_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9916cd8195d11b1e74e11447910481eb.jpg","text":"TemporaryFile(/tmp/multipartBody6223856801477291235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164763619,"filename":"image_14082025_01_49_59_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7adaf13826d1abe4d688867b64146bba.jpg","text":"TemporaryFile(/tmp/multipartBody2385147357604364189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164763619,"filename":"image_14082025_01_49_08_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3404300793c189639d1b90a847f41138.jpg","text":"TemporaryFile(/tmp/multipartBody200338288551361804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164763619,"filename":"image_14082025_01_49_48_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981648","file1":"1376981645","file0":"1376981635","file4":"1376981656","file5":"1376981666","file3":"1376981652"},"map_files_photo_id_array":[{"photo_id":"1376981666","filename":"file5"},{"photo_id":"1376981648","filename":"file2"},{"photo_id":"1376981656","filename":"file4"},{"photo_id":"1376981645","filename":"file1"},{"photo_id":"1376981635","filename":"file0"},{"photo_id":"1376981652","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981666":["hashtag1","hashtag2"]},{"1376981645":["hashtag1","hashtag2"]},{"1376981648":["hashtag1","hashtag2"]},{"1376981656":["hashtag1","hashtag2"]},{"1376981635":["hashtag1","hashtag2"]},{"1376981652":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981666, 1376981645, 1376981648, 1376981656, 1376981635, 1376981652)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.836912631988525 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:46:02.690581 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/50/image_14082025_01_50_29_10342.jpg', '/media/data/images/14082025/01/50/image_14082025_01_50_38_9124.jpg', '/media/data/images/14082025/01/50/image_14082025_01_50_48_10386.jpg', '/media/data/images/14082025/01/50/image_14082025_01_50_59_10398.jpg', '/media/data/images/14082025/01/51/image_14082025_01_51_18_9128.jpg', '/media/data/images/14082025/01/51/image_14082025_01_51_29_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/50/image_14082025_01_50_29_10342.jpg /media/data/images/14082025/01/50/image_14082025_01_50_38_9124.jpg /media/data/images/14082025/01/50/image_14082025_01_50_48_10386.jpg /media/data/images/14082025/01/50/image_14082025_01_50_59_10398.jpg /media/data/images/14082025/01/51/image_14082025_01_51_18_9128.jpg /media/data/images/14082025/01/51/image_14082025_01_51_29_10344.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981684","1376981729","1376981702","1376981716","1376981760","1376981748"],"photo_ids_order":["1376981684","1376981702","1376981716","1376981729","1376981748","1376981760"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38b6e3509a01b4aeda0b54bd6e890375.jpg","text":"TemporaryFile(/tmp/multipartBody9180269383998612910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164823673,"filename":"image_14082025_01_50_29_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/355dc4af8ed3e36bc2e5800a7bb28310.jpg","text":"TemporaryFile(/tmp/multipartBody3150526781275461764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164823673,"filename":"image_14082025_01_50_59_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8a351d09269316db69d5727603caf2d.jpg","text":"TemporaryFile(/tmp/multipartBody5556399475095516238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164823673,"filename":"image_14082025_01_50_38_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84d80104486a58f6e4a4a7b8413adf98.jpg","text":"TemporaryFile(/tmp/multipartBody3466426714853045991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164823673,"filename":"image_14082025_01_50_48_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9aba638c9fea6ea7a42dc8a5cf346b85.jpg","text":"TemporaryFile(/tmp/multipartBody7151757842571596831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164823673,"filename":"image_14082025_01_51_29_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cad77f02fd9f929b3fe12cf2fc0f98ff.jpg","text":"TemporaryFile(/tmp/multipartBody7129745778032971214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164823673,"filename":"image_14082025_01_51_18_9128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981716","file1":"1376981702","file0":"1376981684","file4":"1376981748","file5":"1376981760","file3":"1376981729"},"map_files_photo_id_array":[{"photo_id":"1376981760","filename":"file5"},{"photo_id":"1376981716","filename":"file2"},{"photo_id":"1376981748","filename":"file4"},{"photo_id":"1376981702","filename":"file1"},{"photo_id":"1376981684","filename":"file0"},{"photo_id":"1376981729","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981684":["hashtag1","hashtag2"]},{"1376981729":["hashtag1","hashtag2"]},{"1376981702":["hashtag1","hashtag2"]},{"1376981716":["hashtag1","hashtag2"]},{"1376981760":["hashtag1","hashtag2"]},{"1376981748":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981684, 1376981729, 1376981702, 1376981716, 1376981760, 1376981748)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.30412554740906 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:47:02.941338 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/51/image_14082025_01_51_48_9110.jpg', '/media/data/images/14082025/01/52/image_14082025_01_52_28_9160.jpg', '/media/data/images/14082025/01/52/image_14082025_01_52_39_10407.jpg', '/media/data/images/14082025/01/52/image_14082025_01_52_49_10340.jpg', '/media/data/images/14082025/01/53/image_14082025_01_53_08_10320.jpg', '/media/data/images/14082025/01/53/image_14082025_01_53_19_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/51/image_14082025_01_51_48_9110.jpg /media/data/images/14082025/01/52/image_14082025_01_52_28_9160.jpg /media/data/images/14082025/01/52/image_14082025_01_52_39_10407.jpg /media/data/images/14082025/01/52/image_14082025_01_52_49_10340.jpg /media/data/images/14082025/01/53/image_14082025_01_53_08_10320.jpg /media/data/images/14082025/01/53/image_14082025_01_53_19_10369.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981777","1376981787","1376981808","1376981798","1376981792","1376981789"],"photo_ids_order":["1376981777","1376981787","1376981789","1376981792","1376981798","1376981808"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd5c01cc47afd3491a14eab45d763f6f.jpg","text":"TemporaryFile(/tmp/multipartBody832327746402131244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164883919,"filename":"image_14082025_01_51_48_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dca4fd35b0f5946ff2111b4e6997b3f7.jpg","text":"TemporaryFile(/tmp/multipartBody7448107638575416642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164883919,"filename":"image_14082025_01_52_28_9160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/834d68f46389060971d7ae3ea136edca.jpg","text":"TemporaryFile(/tmp/multipartBody9049552230745203790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164883919,"filename":"image_14082025_01_53_19_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3be392d0bd0ec7917344ec5c73e84abc.jpg","text":"TemporaryFile(/tmp/multipartBody7520620784046930261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164883919,"filename":"image_14082025_01_53_08_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fac99e789124e6e1b10094219aeb36b7.jpg","text":"TemporaryFile(/tmp/multipartBody8845972676010153550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164883919,"filename":"image_14082025_01_52_49_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35aca90a9243cfb95385993bb7f7f73b.jpg","text":"TemporaryFile(/tmp/multipartBody4788282595322048353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164883919,"filename":"image_14082025_01_52_39_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981789","file1":"1376981787","file0":"1376981777","file4":"1376981798","file5":"1376981808","file3":"1376981792"},"map_files_photo_id_array":[{"photo_id":"1376981808","filename":"file5"},{"photo_id":"1376981789","filename":"file2"},{"photo_id":"1376981798","filename":"file4"},{"photo_id":"1376981787","filename":"file1"},{"photo_id":"1376981777","filename":"file0"},{"photo_id":"1376981792","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981777":["hashtag1","hashtag2"]},{"1376981787":["hashtag1","hashtag2"]},{"1376981808":["hashtag1","hashtag2"]},{"1376981798":["hashtag1","hashtag2"]},{"1376981792":["hashtag1","hashtag2"]},{"1376981789":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981777, 1376981787, 1376981808, 1376981798, 1376981792, 1376981789)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.831751108169556 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:48:02.895882 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/53/image_14082025_01_53_29_10343.jpg', '/media/data/images/14082025/01/53/image_14082025_01_53_38_9148.jpg', '/media/data/images/14082025/01/53/image_14082025_01_53_49_10459.jpg', '/media/data/images/14082025/01/53/image_14082025_01_53_59_10343.jpg', '/media/data/images/14082025/01/54/image_14082025_01_54_08_9147.jpg', '/media/data/images/14082025/01/54/image_14082025_01_54_18_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/53/image_14082025_01_53_29_10343.jpg /media/data/images/14082025/01/53/image_14082025_01_53_38_9148.jpg /media/data/images/14082025/01/53/image_14082025_01_53_49_10459.jpg /media/data/images/14082025/01/53/image_14082025_01_53_59_10343.jpg /media/data/images/14082025/01/54/image_14082025_01_54_08_9147.jpg /media/data/images/14082025/01/54/image_14082025_01_54_18_10340.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981846","1376981825","1376981833","1376981830","1376981850","1376981835"],"photo_ids_order":["1376981825","1376981830","1376981833","1376981835","1376981846","1376981850"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/397b851e73a44a7130bd02163bab03f8.jpg","text":"TemporaryFile(/tmp/multipartBody9188879994982877242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164943881,"filename":"image_14082025_01_54_08_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e932146d0e1d8d38390c7b842e20174b.jpg","text":"TemporaryFile(/tmp/multipartBody9099686816868705580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164943881,"filename":"image_14082025_01_53_29_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0cb23a72b3c54ef0871f4dae05610fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8221739700498748088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164943881,"filename":"image_14082025_01_53_49_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9aae6e705c0d02a8b2e95e047d277a1.jpg","text":"TemporaryFile(/tmp/multipartBody4980089580852280872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164943881,"filename":"image_14082025_01_53_38_9148.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/85dfcfaa1e1f3f54ec90a8c84e4f1200.jpg","text":"TemporaryFile(/tmp/multipartBody208547042718530281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164943881,"filename":"image_14082025_01_54_18_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3e6611b11347d25460193fb85676c68.jpg","text":"TemporaryFile(/tmp/multipartBody6733549890855885081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755164943881,"filename":"image_14082025_01_53_59_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981833","file1":"1376981830","file0":"1376981825","file4":"1376981846","file5":"1376981850","file3":"1376981835"},"map_files_photo_id_array":[{"photo_id":"1376981850","filename":"file5"},{"photo_id":"1376981833","filename":"file2"},{"photo_id":"1376981846","filename":"file4"},{"photo_id":"1376981830","filename":"file1"},{"photo_id":"1376981825","filename":"file0"},{"photo_id":"1376981835","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981846":["hashtag1","hashtag2"]},{"1376981825":["hashtag1","hashtag2"]},{"1376981833":["hashtag1","hashtag2"]},{"1376981830":["hashtag1","hashtag2"]},{"1376981850":["hashtag1","hashtag2"]},{"1376981835":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981846, 1376981825, 1376981833, 1376981830, 1376981850, 1376981835)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.26437282562256 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:49:03.189729 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/54/image_14082025_01_54_29_10343.jpg', '/media/data/images/14082025/01/54/image_14082025_01_54_38_9097.jpg', '/media/data/images/14082025/01/55/image_14082025_01_55_09_10129.jpg', '/media/data/images/14082025/01/55/image_14082025_01_55_39_10382.jpg', '/media/data/images/14082025/01/55/image_14082025_01_55_58_10331.jpg', '/media/data/images/14082025/01/56/image_14082025_01_56_28_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/54/image_14082025_01_54_29_10343.jpg /media/data/images/14082025/01/54/image_14082025_01_54_38_9097.jpg /media/data/images/14082025/01/55/image_14082025_01_55_09_10129.jpg /media/data/images/14082025/01/55/image_14082025_01_55_39_10382.jpg /media/data/images/14082025/01/55/image_14082025_01_55_58_10331.jpg /media/data/images/14082025/01/56/image_14082025_01_56_28_10344.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5322549343109131 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:49:22.209225 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/54/image_14082025_01_54_29_10343.jpg', '/media/data/images/14082025/01/54/image_14082025_01_54_38_9097.jpg', '/media/data/images/14082025/01/55/image_14082025_01_55_09_10129.jpg', '/media/data/images/14082025/01/55/image_14082025_01_55_39_10382.jpg', '/media/data/images/14082025/01/55/image_14082025_01_55_58_10331.jpg', '/media/data/images/14082025/01/56/image_14082025_01_56_28_10344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/54/image_14082025_01_54_29_10343.jpg /media/data/images/14082025/01/54/image_14082025_01_54_38_9097.jpg /media/data/images/14082025/01/55/image_14082025_01_55_09_10129.jpg /media/data/images/14082025/01/55/image_14082025_01_55_39_10382.jpg /media/data/images/14082025/01/55/image_14082025_01_55_58_10331.jpg /media/data/images/14082025/01/56/image_14082025_01_56_28_10344.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981912","1376981906","1376981896","1376981902","1376981913","1376981891"],"photo_ids_order":["1376981891","1376981896","1376981902","1376981906","1376981912","1376981913"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1fffb265b3fe364b555eb0ce92eebed.jpg","text":"TemporaryFile(/tmp/multipartBody5509153334282274940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165023115,"filename":"image_14082025_01_55_58_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f695b4c5aa6a1a50aa8e2d193e6a66b.jpg","text":"TemporaryFile(/tmp/multipartBody8236447589208183131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165023115,"filename":"image_14082025_01_55_39_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c96a311c594e4f5e59266f4f6f9b0fc.jpg","text":"TemporaryFile(/tmp/multipartBody5288286980315012296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165023115,"filename":"image_14082025_01_54_38_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f0942e37ebb30284504381e79b385d7d.jpg","text":"TemporaryFile(/tmp/multipartBody348390476916159038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165023115,"filename":"image_14082025_01_55_09_10129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8446d479fa4ea71b9e7d564522f802f8.jpg","text":"TemporaryFile(/tmp/multipartBody9131604778695232375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165023115,"filename":"image_14082025_01_56_28_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/623ce59e13d9bc68665ab3d122007d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3610502614704743342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165023115,"filename":"image_14082025_01_54_29_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981902","file1":"1376981896","file0":"1376981891","file4":"1376981912","file5":"1376981913","file3":"1376981906"},"map_files_photo_id_array":[{"photo_id":"1376981913","filename":"file5"},{"photo_id":"1376981902","filename":"file2"},{"photo_id":"1376981912","filename":"file4"},{"photo_id":"1376981896","filename":"file1"},{"photo_id":"1376981891","filename":"file0"},{"photo_id":"1376981906","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981912":["hashtag1","hashtag2"]},{"1376981906":["hashtag1","hashtag2"]},{"1376981896":["hashtag1","hashtag2"]},{"1376981902":["hashtag1","hashtag2"]},{"1376981913":["hashtag1","hashtag2"]},{"1376981891":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981912, 1376981906, 1376981896, 1376981902, 1376981913, 1376981891)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.06288385391235 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:50:22.449412 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/01/56/image_14082025_01_56_39_10342.jpg', '/media/data/images/14082025/01/57/image_14082025_01_57_29_10347.jpg', '/media/data/images/14082025/01/57/image_14082025_01_57_38_9121.jpg', '/media/data/images/14082025/01/58/image_14082025_01_58_19_10403.jpg', '/media/data/images/14082025/01/58/image_14082025_01_58_29_10341.jpg', '/media/data/images/14082025/01/58/image_14082025_01_58_48_10422.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/01/56/image_14082025_01_56_39_10342.jpg /media/data/images/14082025/01/57/image_14082025_01_57_29_10347.jpg /media/data/images/14082025/01/57/image_14082025_01_57_38_9121.jpg /media/data/images/14082025/01/58/image_14082025_01_58_19_10403.jpg /media/data/images/14082025/01/58/image_14082025_01_58_29_10341.jpg /media/data/images/14082025/01/58/image_14082025_01_58_48_10422.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376981963","1376981945","1376981950","1376981941","1376981961","1376981958"],"photo_ids_order":["1376981941","1376981945","1376981950","1376981958","1376981961","1376981963"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e534b39e3191cb01deeaa00eb26d58b.jpg","text":"TemporaryFile(/tmp/multipartBody6922547883863274432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165083407,"filename":"image_14082025_01_58_48_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ea19c74a1391c886be266eb9e0be9df.jpg","text":"TemporaryFile(/tmp/multipartBody9026570906736493580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165083407,"filename":"image_14082025_01_57_29_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/660aab00709b829fde29211dffaa2899.jpg","text":"TemporaryFile(/tmp/multipartBody3937225192970541085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165083407,"filename":"image_14082025_01_57_38_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/923e4228c3544208c6ad148b0a7a496d.jpg","text":"TemporaryFile(/tmp/multipartBody1855124648797909039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165083407,"filename":"image_14082025_01_56_39_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c16cdcd41935565a4b94ddd7ff376072.jpg","text":"TemporaryFile(/tmp/multipartBody3160770314941285478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165083407,"filename":"image_14082025_01_58_29_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80b96a904d8520551cfaa0880af94f0a.jpg","text":"TemporaryFile(/tmp/multipartBody1478560448535577979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165083407,"filename":"image_14082025_01_58_19_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376981950","file1":"1376981945","file0":"1376981941","file4":"1376981961","file5":"1376981963","file3":"1376981958"},"map_files_photo_id_array":[{"photo_id":"1376981963","filename":"file5"},{"photo_id":"1376981950","filename":"file2"},{"photo_id":"1376981961","filename":"file4"},{"photo_id":"1376981945","filename":"file1"},{"photo_id":"1376981941","filename":"file0"},{"photo_id":"1376981958","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376981963":["hashtag1","hashtag2"]},{"1376981945":["hashtag1","hashtag2"]},{"1376981950":["hashtag1","hashtag2"]},{"1376981941":["hashtag1","hashtag2"]},{"1376981961":["hashtag1","hashtag2"]},{"1376981958":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376981963, 1376981945, 1376981950, 1376981941, 1376981961, 1376981958)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36273121833801 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:51:22.476160 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/00/image_14082025_02_00_08_10253.jpg', '/media/data/images/14082025/02/00/image_14082025_02_00_28_9141.jpg', '/media/data/images/14082025/02/00/image_14082025_02_00_38_10429.jpg', '/media/data/images/14082025/02/00/image_14082025_02_00_49_10337.jpg', '/media/data/images/14082025/02/00/image_14082025_02_00_59_10332.jpg', '/media/data/images/14082025/02/01/image_14082025_02_01_18_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/00/image_14082025_02_00_08_10253.jpg /media/data/images/14082025/02/00/image_14082025_02_00_28_9141.jpg /media/data/images/14082025/02/00/image_14082025_02_00_38_10429.jpg /media/data/images/14082025/02/00/image_14082025_02_00_49_10337.jpg /media/data/images/14082025/02/00/image_14082025_02_00_59_10332.jpg /media/data/images/14082025/02/01/image_14082025_02_01_18_10343.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982002","1376982013","1376982016","1376982024","1376982033","1376982021"],"photo_ids_order":["1376982002","1376982013","1376982016","1376982021","1376982024","1376982033"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/904a1866e125ea761528cd38de05d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody8262570843623622499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165143439,"filename":"image_14082025_02_00_08_10253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ed7ed854a2deba4cb8ec880708ea9da.jpg","text":"TemporaryFile(/tmp/multipartBody8308267717271089623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165143439,"filename":"image_14082025_02_00_28_9141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/41d59e93d3fc8b7a992cc6fcfded9d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4228372852575211346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165143439,"filename":"image_14082025_02_00_38_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90364b2de17f92577530aadd54357ef9.jpg","text":"TemporaryFile(/tmp/multipartBody1797910329766146794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165143439,"filename":"image_14082025_02_00_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8439ca1d0f604a6ba45ee80f4b5ccda.jpg","text":"TemporaryFile(/tmp/multipartBody940953565151837756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165143439,"filename":"image_14082025_02_01_18_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71bcd39521a9a80eaf5c156c581ffd4a.jpg","text":"TemporaryFile(/tmp/multipartBody4138073713362000159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165143439,"filename":"image_14082025_02_00_49_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982016","file1":"1376982013","file0":"1376982002","file4":"1376982024","file5":"1376982033","file3":"1376982021"},"map_files_photo_id_array":[{"photo_id":"1376982033","filename":"file5"},{"photo_id":"1376982016","filename":"file2"},{"photo_id":"1376982024","filename":"file4"},{"photo_id":"1376982013","filename":"file1"},{"photo_id":"1376982002","filename":"file0"},{"photo_id":"1376982021","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982002":["hashtag1","hashtag2"]},{"1376982013":["hashtag1","hashtag2"]},{"1376982016":["hashtag1","hashtag2"]},{"1376982024":["hashtag1","hashtag2"]},{"1376982033":["hashtag1","hashtag2"]},{"1376982021":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982002, 1376982013, 1376982016, 1376982024, 1376982033, 1376982021)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.49413228034973 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:52:22.608585 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/01/image_14082025_02_01_29_10443.jpg', '/media/data/images/14082025/02/01/image_14082025_02_01_38_9172.jpg', '/media/data/images/14082025/02/02/image_14082025_02_02_18_10368.jpg', '/media/data/images/14082025/02/02/image_14082025_02_02_29_10342.jpg', '/media/data/images/14082025/02/02/image_14082025_02_02_38_9165.jpg', '/media/data/images/14082025/02/02/image_14082025_02_02_48_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/01/image_14082025_02_01_29_10443.jpg /media/data/images/14082025/02/01/image_14082025_02_01_38_9172.jpg /media/data/images/14082025/02/02/image_14082025_02_02_18_10368.jpg /media/data/images/14082025/02/02/image_14082025_02_02_29_10342.jpg /media/data/images/14082025/02/02/image_14082025_02_02_38_9165.jpg /media/data/images/14082025/02/02/image_14082025_02_02_48_10413.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982058","1376982073","1376982054","1376982066","1376982071","1376982068"],"photo_ids_order":["1376982054","1376982058","1376982066","1376982068","1376982071","1376982073"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f5d023679b6c2e73274c6868d9b6656.jpg","text":"TemporaryFile(/tmp/multipartBody2314559258871929919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165203571,"filename":"image_14082025_02_01_38_9172.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68c65b1246684ff1fbc1c49ddbbac654.jpg","text":"TemporaryFile(/tmp/multipartBody3792912900704700175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165203571,"filename":"image_14082025_02_02_48_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9bc8e957dce4cdf7d0497b0e5e78c46e.jpg","text":"TemporaryFile(/tmp/multipartBody2578044427339392476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165203571,"filename":"image_14082025_02_01_29_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4451f7f6f94ec62737f8e1a815e9f44c.jpg","text":"TemporaryFile(/tmp/multipartBody5508771910512236548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165203571,"filename":"image_14082025_02_02_18_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2079851c7340ff54a2a78ab0a567812.jpg","text":"TemporaryFile(/tmp/multipartBody3546160590353514000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165203571,"filename":"image_14082025_02_02_38_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0319f8933569c05c66ee246839c73942.jpg","text":"TemporaryFile(/tmp/multipartBody5428956082172490338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165203571,"filename":"image_14082025_02_02_29_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982066","file1":"1376982058","file0":"1376982054","file4":"1376982071","file5":"1376982073","file3":"1376982068"},"map_files_photo_id_array":[{"photo_id":"1376982073","filename":"file5"},{"photo_id":"1376982066","filename":"file2"},{"photo_id":"1376982071","filename":"file4"},{"photo_id":"1376982058","filename":"file1"},{"photo_id":"1376982054","filename":"file0"},{"photo_id":"1376982068","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982058":["hashtag1","hashtag2"]},{"1376982073":["hashtag1","hashtag2"]},{"1376982054":["hashtag1","hashtag2"]},{"1376982066":["hashtag1","hashtag2"]},{"1376982071":["hashtag1","hashtag2"]},{"1376982068":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982058, 1376982073, 1376982054, 1376982066, 1376982071, 1376982068)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.76096987724304 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:53:22.721317 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/03/image_14082025_02_03_09_10173.jpg', '/media/data/images/14082025/02/03/image_14082025_02_03_18_9113.jpg', '/media/data/images/14082025/02/03/image_14082025_02_03_39_10399.jpg', '/media/data/images/14082025/02/03/image_14082025_02_03_48_9224.jpg', '/media/data/images/14082025/02/04/image_14082025_02_04_09_10434.jpg', '/media/data/images/14082025/02/04/image_14082025_02_04_28_9168.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/03/image_14082025_02_03_09_10173.jpg /media/data/images/14082025/02/03/image_14082025_02_03_18_9113.jpg /media/data/images/14082025/02/03/image_14082025_02_03_39_10399.jpg /media/data/images/14082025/02/03/image_14082025_02_03_48_9224.jpg /media/data/images/14082025/02/04/image_14082025_02_04_09_10434.jpg /media/data/images/14082025/02/04/image_14082025_02_04_28_9168.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982116","1376982119","1376982118","1376982103","1376982098","1376982113"],"photo_ids_order":["1376982098","1376982103","1376982113","1376982116","1376982118","1376982119"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53d96e95f3d9fc8c0416768c463627a0.jpg","text":"TemporaryFile(/tmp/multipartBody8484068135599603520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165263697,"filename":"image_14082025_02_03_48_9224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1be01b50c70ea435eb0db98a7574ae34.jpg","text":"TemporaryFile(/tmp/multipartBody116381899592805171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165263697,"filename":"image_14082025_02_04_28_9168.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fae3beabf472747fe88280e23d29cd00.jpg","text":"TemporaryFile(/tmp/multipartBody1958607162213596949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165263697,"filename":"image_14082025_02_04_09_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a385f0f0bedd1a48e0c50391d657b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4412917003903677210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165263697,"filename":"image_14082025_02_03_18_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fdede205f7d084e4d86e96d2b2e9326c.jpg","text":"TemporaryFile(/tmp/multipartBody1726840065550836367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165263697,"filename":"image_14082025_02_03_09_10173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5efbc99dc14f845f2cc31d687c25bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody4170288089644491487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165263697,"filename":"image_14082025_02_03_39_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982113","file1":"1376982103","file0":"1376982098","file4":"1376982118","file5":"1376982119","file3":"1376982116"},"map_files_photo_id_array":[{"photo_id":"1376982119","filename":"file5"},{"photo_id":"1376982113","filename":"file2"},{"photo_id":"1376982118","filename":"file4"},{"photo_id":"1376982103","filename":"file1"},{"photo_id":"1376982098","filename":"file0"},{"photo_id":"1376982116","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982116":["hashtag1","hashtag2"]},{"1376982119":["hashtag1","hashtag2"]},{"1376982118":["hashtag1","hashtag2"]},{"1376982103":["hashtag1","hashtag2"]},{"1376982098":["hashtag1","hashtag2"]},{"1376982113":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982116, 1376982119, 1376982118, 1376982103, 1376982098, 1376982113)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.82243013381958 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:54:21.833029 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/04/image_14082025_02_04_38_10335.jpg', '/media/data/images/14082025/02/04/image_14082025_02_04_49_10455.jpg', '/media/data/images/14082025/02/04/image_14082025_02_04_58_9100.jpg', '/media/data/images/14082025/02/05/image_14082025_02_05_19_10336.jpg', '/media/data/images/14082025/02/05/image_14082025_02_05_38_10339.jpg', '/media/data/images/14082025/02/05/image_14082025_02_05_58_9096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/04/image_14082025_02_04_38_10335.jpg /media/data/images/14082025/02/04/image_14082025_02_04_49_10455.jpg /media/data/images/14082025/02/04/image_14082025_02_04_58_9100.jpg /media/data/images/14082025/02/05/image_14082025_02_05_19_10336.jpg /media/data/images/14082025/02/05/image_14082025_02_05_38_10339.jpg /media/data/images/14082025/02/05/image_14082025_02_05_58_9096.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982169","1376982148","1376982153","1376982170","1376982164","1376982167"],"photo_ids_order":["1376982148","1376982153","1376982164","1376982167","1376982169","1376982170"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5acc9b826ae0fd18c13cc4eaea751a08.jpg","text":"TemporaryFile(/tmp/multipartBody2908902428228983997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165322781,"filename":"image_14082025_02_05_38_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8a013d85e8f9162a6150d5e25762270.jpg","text":"TemporaryFile(/tmp/multipartBody7890322818708613100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165322781,"filename":"image_14082025_02_04_38_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33b1a3b8cbc196d35ee5fa7fcf3a4626.jpg","text":"TemporaryFile(/tmp/multipartBody5976321380300482012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165322781,"filename":"image_14082025_02_04_49_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18d95e72785d5809fee39249e2456ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8220100864312772366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165322781,"filename":"image_14082025_02_05_58_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f57f81555066df31bac62ee6c2ad0979.jpg","text":"TemporaryFile(/tmp/multipartBody5659743913463544407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165322781,"filename":"image_14082025_02_04_58_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/958d1a72d29720adf46808469e2c1e87.jpg","text":"TemporaryFile(/tmp/multipartBody3477596043676952889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165322781,"filename":"image_14082025_02_05_19_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982164","file1":"1376982153","file0":"1376982148","file4":"1376982169","file5":"1376982170","file3":"1376982167"},"map_files_photo_id_array":[{"photo_id":"1376982170","filename":"file5"},{"photo_id":"1376982164","filename":"file2"},{"photo_id":"1376982169","filename":"file4"},{"photo_id":"1376982153","filename":"file1"},{"photo_id":"1376982148","filename":"file0"},{"photo_id":"1376982167","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982169":["hashtag1","hashtag2"]},{"1376982148":["hashtag1","hashtag2"]},{"1376982153":["hashtag1","hashtag2"]},{"1376982170":["hashtag1","hashtag2"]},{"1376982164":["hashtag1","hashtag2"]},{"1376982167":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982169, 1376982148, 1376982153, 1376982170, 1376982164, 1376982167)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.73465847969055 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:55:21.983798 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/06/image_14082025_02_06_28_9202.jpg', '/media/data/images/14082025/02/06/image_14082025_02_06_39_10335.jpg', '/media/data/images/14082025/02/06/image_14082025_02_06_49_10358.jpg', '/media/data/images/14082025/02/06/image_14082025_02_06_58_9093.jpg', '/media/data/images/14082025/02/07/image_14082025_02_07_08_10397.jpg', '/media/data/images/14082025/02/07/image_14082025_02_07_19_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/06/image_14082025_02_06_28_9202.jpg /media/data/images/14082025/02/06/image_14082025_02_06_39_10335.jpg /media/data/images/14082025/02/06/image_14082025_02_06_49_10358.jpg /media/data/images/14082025/02/06/image_14082025_02_06_58_9093.jpg /media/data/images/14082025/02/07/image_14082025_02_07_08_10397.jpg /media/data/images/14082025/02/07/image_14082025_02_07_19_10341.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982203","1376982199","1376982204","1376982201","1376982191","1376982188"],"photo_ids_order":["1376982188","1376982191","1376982199","1376982201","1376982203","1376982204"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9a5cc1e8bf81d2afc633f3424e28859.jpg","text":"TemporaryFile(/tmp/multipartBody198707930832334181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165382964,"filename":"image_14082025_02_07_08_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f12b0fadce2953c0aa8ca7a50495ed73.jpg","text":"TemporaryFile(/tmp/multipartBody1714702005909947584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165382964,"filename":"image_14082025_02_06_49_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b2f012ad1db8502331ef1a69f764bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8893909109885869400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165382964,"filename":"image_14082025_02_07_19_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0311407e26cff29f9089eea0d9517c4.jpg","text":"TemporaryFile(/tmp/multipartBody1151009692897811425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165382964,"filename":"image_14082025_02_06_58_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/48f0844cc460b1362941d68d8be4d7b7.jpg","text":"TemporaryFile(/tmp/multipartBody2653731825067644887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165382964,"filename":"image_14082025_02_06_39_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25059824c2c966e967582d7803fe0431.jpg","text":"TemporaryFile(/tmp/multipartBody2040938833388907950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165382964,"filename":"image_14082025_02_06_28_9202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982199","file1":"1376982191","file0":"1376982188","file4":"1376982203","file5":"1376982204","file3":"1376982201"},"map_files_photo_id_array":[{"photo_id":"1376982204","filename":"file5"},{"photo_id":"1376982199","filename":"file2"},{"photo_id":"1376982203","filename":"file4"},{"photo_id":"1376982191","filename":"file1"},{"photo_id":"1376982188","filename":"file0"},{"photo_id":"1376982201","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982203":["hashtag1","hashtag2"]},{"1376982199":["hashtag1","hashtag2"]},{"1376982204":["hashtag1","hashtag2"]},{"1376982201":["hashtag1","hashtag2"]},{"1376982191":["hashtag1","hashtag2"]},{"1376982188":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982203, 1376982199, 1376982204, 1376982201, 1376982191, 1376982188)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.659810304641724 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:56:22.133565 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/07/image_14082025_02_07_28_9107.jpg', '/media/data/images/14082025/02/07/image_14082025_02_07_38_10332.jpg', '/media/data/images/14082025/02/07/image_14082025_02_07_49_10342.jpg', '/media/data/images/14082025/02/08/image_14082025_02_08_08_9128.jpg', '/media/data/images/14082025/02/08/image_14082025_02_08_18_10345.jpg', '/media/data/images/14082025/02/08/image_14082025_02_08_38_9106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/07/image_14082025_02_07_28_9107.jpg /media/data/images/14082025/02/07/image_14082025_02_07_38_10332.jpg /media/data/images/14082025/02/07/image_14082025_02_07_49_10342.jpg /media/data/images/14082025/02/08/image_14082025_02_08_08_9128.jpg /media/data/images/14082025/02/08/image_14082025_02_08_18_10345.jpg /media/data/images/14082025/02/08/image_14082025_02_08_38_9106.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982277","1376982244","1376982291","1376982270","1376982222","1376982281"],"photo_ids_order":["1376982222","1376982244","1376982270","1376982277","1376982281","1376982291"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/461651e888d492cadaac75962b3f6c05.jpg","text":"TemporaryFile(/tmp/multipartBody367073259248267778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165443082,"filename":"image_14082025_02_08_08_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f754f79c82fb6a6175f2720406b3b15.jpg","text":"TemporaryFile(/tmp/multipartBody8475306275411769276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165443082,"filename":"image_14082025_02_07_38_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6fec50c2fce080860646ee605f51895.jpg","text":"TemporaryFile(/tmp/multipartBody1823096605454837266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165443082,"filename":"image_14082025_02_08_38_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cbfb63f04a36dfd519442403580c0cde.jpg","text":"TemporaryFile(/tmp/multipartBody4810026386290198262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165443082,"filename":"image_14082025_02_07_49_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a3ce2f26e5b8be2cce4cbf2947f05e1.jpg","text":"TemporaryFile(/tmp/multipartBody652147717441361668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165443082,"filename":"image_14082025_02_07_28_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/98df43654a97b0eefd2d955d85151ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2766394626003617159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165443082,"filename":"image_14082025_02_08_18_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982270","file1":"1376982244","file0":"1376982222","file4":"1376982281","file5":"1376982291","file3":"1376982277"},"map_files_photo_id_array":[{"photo_id":"1376982291","filename":"file5"},{"photo_id":"1376982270","filename":"file2"},{"photo_id":"1376982281","filename":"file4"},{"photo_id":"1376982244","filename":"file1"},{"photo_id":"1376982222","filename":"file0"},{"photo_id":"1376982277","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982277":["hashtag1","hashtag2"]},{"1376982244":["hashtag1","hashtag2"]},{"1376982291":["hashtag1","hashtag2"]},{"1376982270":["hashtag1","hashtag2"]},{"1376982222":["hashtag1","hashtag2"]},{"1376982281":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982277, 1376982244, 1376982291, 1376982270, 1376982222, 1376982281)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.03562140464783 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:57:22.248884 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/08/image_14082025_02_08_48_10331.jpg', '/media/data/images/14082025/02/08/image_14082025_02_08_59_10402.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_18_9095.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_28_10340.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_39_10337.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_48_9177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/08/image_14082025_02_08_48_10331.jpg /media/data/images/14082025/02/08/image_14082025_02_08_59_10402.jpg /media/data/images/14082025/02/09/image_14082025_02_09_18_9095.jpg /media/data/images/14082025/02/09/image_14082025_02_09_28_10340.jpg /media/data/images/14082025/02/09/image_14082025_02_09_39_10337.jpg /media/data/images/14082025/02/09/image_14082025_02_09_48_9177.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5297017097473145 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:57:42.267386 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/08/image_14082025_02_08_48_10331.jpg', '/media/data/images/14082025/02/08/image_14082025_02_08_59_10402.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_18_9095.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_28_10340.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_39_10337.jpg', '/media/data/images/14082025/02/09/image_14082025_02_09_48_9177.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/08/image_14082025_02_08_48_10331.jpg /media/data/images/14082025/02/08/image_14082025_02_08_59_10402.jpg /media/data/images/14082025/02/09/image_14082025_02_09_18_9095.jpg /media/data/images/14082025/02/09/image_14082025_02_09_28_10340.jpg /media/data/images/14082025/02/09/image_14082025_02_09_39_10337.jpg /media/data/images/14082025/02/09/image_14082025_02_09_48_9177.jpg after data_to_send, before sending request after request b'{"photo_ids":["1376982349","1376982334","1376982351","1376982345","1376982330","1376982347"],"photo_ids_order":["1376982330","1376982334","1376982345","1376982347","1376982349","1376982351"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/154879800424e1349e2b9495fb3e5e0f.jpg","text":"TemporaryFile(/tmp/multipartBody9031694273948298227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165523169,"filename":"image_14082025_02_09_39_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e2a06f622e34486ffd75418dddefcad.jpg","text":"TemporaryFile(/tmp/multipartBody8824095452903433305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165523169,"filename":"image_14082025_02_08_59_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61258cadd8159c0a2a81c3ec5811173b.jpg","text":"TemporaryFile(/tmp/multipartBody4878143924855202890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165523169,"filename":"image_14082025_02_09_48_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92a26216402cd312181fc6a287dc9a0a.jpg","text":"TemporaryFile(/tmp/multipartBody1681625312998184863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165523169,"filename":"image_14082025_02_09_18_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f5aa3f954ebaabe1fbc5fd0c75b35d73.jpg","text":"TemporaryFile(/tmp/multipartBody6591657690644264360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165523169,"filename":"image_14082025_02_08_48_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1efaa7e1deb7839b0703cfea2931940.jpg","text":"TemporaryFile(/tmp/multipartBody6350603352504845737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165523169,"filename":"image_14082025_02_09_28_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982345","file1":"1376982334","file0":"1376982330","file4":"1376982349","file5":"1376982351","file3":"1376982347"},"map_files_photo_id_array":[{"photo_id":"1376982351","filename":"file5"},{"photo_id":"1376982345","filename":"file2"},{"photo_id":"1376982349","filename":"file4"},{"photo_id":"1376982334","filename":"file1"},{"photo_id":"1376982330","filename":"file0"},{"photo_id":"1376982347","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982349":["hashtag1","hashtag2"]},{"1376982334":["hashtag1","hashtag2"]},{"1376982351":["hashtag1","hashtag2"]},{"1376982345":["hashtag1","hashtag2"]},{"1376982330":["hashtag1","hashtag2"]},{"1376982347":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982349, 1376982334, 1376982351, 1376982345, 1376982330, 1376982347)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.617793560028076 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 11:59:03.141045 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/10/image_14082025_02_10_19_10359.jpg', '/media/data/images/14082025/02/10/image_14082025_02_10_28_9155.jpg', '/media/data/images/14082025/02/10/image_14082025_02_10_39_10409.jpg', '/media/data/images/14082025/02/10/image_14082025_02_10_49_10454.jpg', '/media/data/images/14082025/02/11/image_14082025_02_11_08_10274.jpg', '/media/data/images/14082025/02/11/image_14082025_02_11_19_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/10/image_14082025_02_10_19_10359.jpg /media/data/images/14082025/02/10/image_14082025_02_10_28_9155.jpg /media/data/images/14082025/02/10/image_14082025_02_10_39_10409.jpg /media/data/images/14082025/02/10/image_14082025_02_10_49_10454.jpg /media/data/images/14082025/02/11/image_14082025_02_11_08_10274.jpg /media/data/images/14082025/02/11/image_14082025_02_11_19_10374.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982385","1376982382","1376982361","1376982370","1376982366","1376982354"],"photo_ids_order":["1376982354","1376982361","1376982366","1376982370","1376982382","1376982385"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f0105d11238c51e7064b2545e1159f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3493453210686135250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165604134,"filename":"image_14082025_02_11_19_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d97122af60cb709410b15165b0da597e.jpg","text":"TemporaryFile(/tmp/multipartBody786233614548540941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165604134,"filename":"image_14082025_02_11_08_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd3dde782858235d7f89e73bafb032b4.jpg","text":"TemporaryFile(/tmp/multipartBody2998797051743361432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165604134,"filename":"image_14082025_02_10_28_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/370bd951a18235b94082d0a87b94f6a5.jpg","text":"TemporaryFile(/tmp/multipartBody8743150130269240178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165604134,"filename":"image_14082025_02_10_49_10454.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8da8578af9a553d2aa959a7a1f3cba2.jpg","text":"TemporaryFile(/tmp/multipartBody423839204850761222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165604134,"filename":"image_14082025_02_10_39_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/800a164466a7285699d501d96b851822.jpg","text":"TemporaryFile(/tmp/multipartBody1362194765986039387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165604134,"filename":"image_14082025_02_10_19_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982366","file1":"1376982361","file0":"1376982354","file4":"1376982382","file5":"1376982385","file3":"1376982370"},"map_files_photo_id_array":[{"photo_id":"1376982385","filename":"file5"},{"photo_id":"1376982366","filename":"file2"},{"photo_id":"1376982382","filename":"file4"},{"photo_id":"1376982361","filename":"file1"},{"photo_id":"1376982354","filename":"file0"},{"photo_id":"1376982370","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982385":["hashtag1","hashtag2"]},{"1376982382":["hashtag1","hashtag2"]},{"1376982361":["hashtag1","hashtag2"]},{"1376982370":["hashtag1","hashtag2"]},{"1376982366":["hashtag1","hashtag2"]},{"1376982354":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982385, 1376982382, 1376982361, 1376982370, 1376982366, 1376982354)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.956632137298584 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:00:02.757828 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/11/image_14082025_02_11_28_9149.jpg', '/media/data/images/14082025/02/11/image_14082025_02_11_49_10358.jpg', '/media/data/images/14082025/02/11/image_14082025_02_11_58_9162.jpg', '/media/data/images/14082025/02/11/image_14082025_02_12_08_10566.jpg', '/media/data/images/14082025/02/12/image_14082025_02_12_19_10368.jpg', '/media/data/images/14082025/02/12/image_14082025_02_12_28_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/11/image_14082025_02_11_28_9149.jpg /media/data/images/14082025/02/11/image_14082025_02_11_49_10358.jpg /media/data/images/14082025/02/11/image_14082025_02_11_58_9162.jpg /media/data/images/14082025/02/11/image_14082025_02_12_08_10566.jpg /media/data/images/14082025/02/12/image_14082025_02_12_19_10368.jpg /media/data/images/14082025/02/12/image_14082025_02_12_28_9111.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982449","1376982433","1376982436","1376982430","1376982446","1376982425"],"photo_ids_order":["1376982425","1376982430","1376982433","1376982436","1376982446","1376982449"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28406ecbd5a36626995a0bc5afd3cc79.jpg","text":"TemporaryFile(/tmp/multipartBody1583670080132043594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165663749,"filename":"image_14082025_02_12_28_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abdf768d7af071df65ca5a98c48631bf.jpg","text":"TemporaryFile(/tmp/multipartBody8647282145641707896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165663749,"filename":"image_14082025_02_11_58_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9891b6ae26293d6f7d7d5d2ce21c95c0.jpg","text":"TemporaryFile(/tmp/multipartBody8418076321385248597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165663749,"filename":"image_14082025_02_12_08_10566.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5f2ede7e2ae845ed9b3d63431a102cc.jpg","text":"TemporaryFile(/tmp/multipartBody6866863490851653998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165663749,"filename":"image_14082025_02_11_49_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28cd0cbc8d32ae41eaaab4e672dcf619.jpg","text":"TemporaryFile(/tmp/multipartBody1253948784932848817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165663749,"filename":"image_14082025_02_12_19_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e40f879782a4d5edae2c6eb2379b978.jpg","text":"TemporaryFile(/tmp/multipartBody6602220060683010393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165663749,"filename":"image_14082025_02_11_28_9149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982433","file1":"1376982430","file0":"1376982425","file4":"1376982446","file5":"1376982449","file3":"1376982436"},"map_files_photo_id_array":[{"photo_id":"1376982449","filename":"file5"},{"photo_id":"1376982433","filename":"file2"},{"photo_id":"1376982446","filename":"file4"},{"photo_id":"1376982430","filename":"file1"},{"photo_id":"1376982425","filename":"file0"},{"photo_id":"1376982436","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982449":["hashtag1","hashtag2"]},{"1376982433":["hashtag1","hashtag2"]},{"1376982436":["hashtag1","hashtag2"]},{"1376982430":["hashtag1","hashtag2"]},{"1376982446":["hashtag1","hashtag2"]},{"1376982425":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982449, 1376982433, 1376982436, 1376982430, 1376982446, 1376982425)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.939778566360474 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:01:03.061609 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/12/image_14082025_02_12_38_10332.jpg', '/media/data/images/14082025/02/12/image_14082025_02_12_49_10410.jpg', '/media/data/images/14082025/02/12/image_14082025_02_12_59_10339.jpg', '/media/data/images/14082025/02/13/image_14082025_02_13_08_9216.jpg', '/media/data/images/14082025/02/13/image_14082025_02_13_19_10340.jpg', '/media/data/images/14082025/02/13/image_14082025_02_13_29_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/12/image_14082025_02_12_38_10332.jpg /media/data/images/14082025/02/12/image_14082025_02_12_49_10410.jpg /media/data/images/14082025/02/12/image_14082025_02_12_59_10339.jpg /media/data/images/14082025/02/13/image_14082025_02_13_08_9216.jpg /media/data/images/14082025/02/13/image_14082025_02_13_19_10340.jpg /media/data/images/14082025/02/13/image_14082025_02_13_29_10338.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982515","1376982508","1376982498","1376982522","1376982516","1376982519"],"photo_ids_order":["1376982498","1376982508","1376982515","1376982516","1376982519","1376982522"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ad9423e4865e5c44690a296268ee2e1.jpg","text":"TemporaryFile(/tmp/multipartBody38514073523424985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165724065,"filename":"image_14082025_02_12_59_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45d14272d1c365dfa2d33f760dd82710.jpg","text":"TemporaryFile(/tmp/multipartBody651378629442077885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165724065,"filename":"image_14082025_02_12_49_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/245507fc8ba7521cda7eb5b1f6f8b84a.jpg","text":"TemporaryFile(/tmp/multipartBody2157081360053863937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165724065,"filename":"image_14082025_02_12_38_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f7b252d7aa1b28b3753a1b4a3557efd.jpg","text":"TemporaryFile(/tmp/multipartBody6200919684410469614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165724065,"filename":"image_14082025_02_13_29_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ed1db6d3408a0c52a21407f356d2fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4324775786111850695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165724065,"filename":"image_14082025_02_13_08_9216.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d793687214a5e2dba947a9164bbe1aeb.jpg","text":"TemporaryFile(/tmp/multipartBody8687405404250593368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165724065,"filename":"image_14082025_02_13_19_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982515","file1":"1376982508","file0":"1376982498","file4":"1376982519","file5":"1376982522","file3":"1376982516"},"map_files_photo_id_array":[{"photo_id":"1376982522","filename":"file5"},{"photo_id":"1376982515","filename":"file2"},{"photo_id":"1376982519","filename":"file4"},{"photo_id":"1376982508","filename":"file1"},{"photo_id":"1376982498","filename":"file0"},{"photo_id":"1376982516","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982515":["hashtag1","hashtag2"]},{"1376982508":["hashtag1","hashtag2"]},{"1376982498":["hashtag1","hashtag2"]},{"1376982522":["hashtag1","hashtag2"]},{"1376982516":["hashtag1","hashtag2"]},{"1376982519":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982515, 1376982508, 1376982498, 1376982522, 1376982516, 1376982519)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.287808656692505 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:02:03.132249 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/13/image_14082025_02_13_49_10409.jpg', '/media/data/images/14082025/02/13/image_14082025_02_13_59_10345.jpg', '/media/data/images/14082025/02/14/image_14082025_02_14_08_9122.jpg', '/media/data/images/14082025/02/14/image_14082025_02_14_29_10408.jpg', '/media/data/images/14082025/02/14/image_14082025_02_14_49_10354.jpg', '/media/data/images/14082025/02/14/image_14082025_02_14_59_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/13/image_14082025_02_13_49_10409.jpg /media/data/images/14082025/02/13/image_14082025_02_13_59_10345.jpg /media/data/images/14082025/02/14/image_14082025_02_14_08_9122.jpg /media/data/images/14082025/02/14/image_14082025_02_14_29_10408.jpg /media/data/images/14082025/02/14/image_14082025_02_14_49_10354.jpg /media/data/images/14082025/02/14/image_14082025_02_14_59_10412.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982598","1376982594","1376982590","1376982572","1376982581","1376982563"],"photo_ids_order":["1376982563","1376982572","1376982581","1376982590","1376982594","1376982598"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d46e2dff86973fc8efb0d1a00ebb869e.jpg","text":"TemporaryFile(/tmp/multipartBody2033444285004640572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165784107,"filename":"image_14082025_02_14_59_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f2c45096b16b3a25b0e35ac4e999321.jpg","text":"TemporaryFile(/tmp/multipartBody8325518083971887950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165784107,"filename":"image_14082025_02_14_49_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eac7a3fed20f3694f433f2d2be68a9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3520364633729573907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165784107,"filename":"image_14082025_02_14_29_10408.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d296f41917c201777ac35985cf601560.jpg","text":"TemporaryFile(/tmp/multipartBody2929084063471796239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165784107,"filename":"image_14082025_02_13_59_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ad6f81dd6f4756e4ea11a69869b4147.jpg","text":"TemporaryFile(/tmp/multipartBody4318780334890218670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165784107,"filename":"image_14082025_02_14_08_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8e39e3ee054eba4a42195d403a5fa59.jpg","text":"TemporaryFile(/tmp/multipartBody6709632135042728875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165784107,"filename":"image_14082025_02_13_49_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982581","file1":"1376982572","file0":"1376982563","file4":"1376982594","file5":"1376982598","file3":"1376982590"},"map_files_photo_id_array":[{"photo_id":"1376982598","filename":"file5"},{"photo_id":"1376982581","filename":"file2"},{"photo_id":"1376982594","filename":"file4"},{"photo_id":"1376982572","filename":"file1"},{"photo_id":"1376982563","filename":"file0"},{"photo_id":"1376982590","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982598":["hashtag1","hashtag2"]},{"1376982594":["hashtag1","hashtag2"]},{"1376982590":["hashtag1","hashtag2"]},{"1376982572":["hashtag1","hashtag2"]},{"1376982581":["hashtag1","hashtag2"]},{"1376982563":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982598, 1376982594, 1376982590, 1376982572, 1376982581, 1376982563)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.77139639854431 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:03:03.344641 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/15/image_14082025_02_15_18_10368.jpg', '/media/data/images/14082025/02/15/image_14082025_02_15_29_10333.jpg', '/media/data/images/14082025/02/15/image_14082025_02_15_48_9223.jpg', '/media/data/images/14082025/02/15/image_14082025_02_15_59_10422.jpg', '/media/data/images/14082025/02/16/image_14082025_02_16_18_10364.jpg', '/media/data/images/14082025/02/16/image_14082025_02_16_29_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/15/image_14082025_02_15_18_10368.jpg /media/data/images/14082025/02/15/image_14082025_02_15_29_10333.jpg /media/data/images/14082025/02/15/image_14082025_02_15_48_9223.jpg /media/data/images/14082025/02/15/image_14082025_02_15_59_10422.jpg /media/data/images/14082025/02/16/image_14082025_02_16_18_10364.jpg /media/data/images/14082025/02/16/image_14082025_02_16_29_10430.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982697","1376982658","1376982649","1376982660","1376982639","1376982654"],"photo_ids_order":["1376982639","1376982649","1376982654","1376982658","1376982660","1376982697"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/133ead86fb2b4dbe317f4ffba6bca586.jpg","text":"TemporaryFile(/tmp/multipartBody4212609045696585705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165844335,"filename":"image_14082025_02_16_29_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76da269f4f8c4bdd2904225ea9d07a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2471728704678214667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165844335,"filename":"image_14082025_02_15_59_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a649f44330566f8470b5894b9775a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3605386556891489484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165844335,"filename":"image_14082025_02_15_29_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38c2e5a27469d7354010e4954b505723.jpg","text":"TemporaryFile(/tmp/multipartBody3952130607644544009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165844335,"filename":"image_14082025_02_16_18_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e13547a454018cc4ca056ce2079e4c7.jpg","text":"TemporaryFile(/tmp/multipartBody5355124499901616644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165844335,"filename":"image_14082025_02_15_18_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b07d038fa107520ec4cf3ad1469eb76.jpg","text":"TemporaryFile(/tmp/multipartBody9187937052744558990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165844335,"filename":"image_14082025_02_15_48_9223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982654","file1":"1376982649","file0":"1376982639","file4":"1376982660","file5":"1376982697","file3":"1376982658"},"map_files_photo_id_array":[{"photo_id":"1376982697","filename":"file5"},{"photo_id":"1376982654","filename":"file2"},{"photo_id":"1376982660","filename":"file4"},{"photo_id":"1376982649","filename":"file1"},{"photo_id":"1376982639","filename":"file0"},{"photo_id":"1376982658","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982697":["hashtag1","hashtag2"]},{"1376982658":["hashtag1","hashtag2"]},{"1376982649":["hashtag1","hashtag2"]},{"1376982660":["hashtag1","hashtag2"]},{"1376982639":["hashtag1","hashtag2"]},{"1376982654":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982697, 1376982658, 1376982649, 1376982660, 1376982639, 1376982654)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.03453326225281 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:04:03.296291 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/16/image_14082025_02_16_39_10340.jpg', '/media/data/images/14082025/02/16/image_14082025_02_16_59_10380.jpg', '/media/data/images/14082025/02/17/image_14082025_02_17_09_10397.jpg', '/media/data/images/14082025/02/17/image_14082025_02_17_28_10403.jpg', '/media/data/images/14082025/02/17/image_14082025_02_17_39_10335.jpg', '/media/data/images/14082025/02/17/image_14082025_02_17_48_9178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/16/image_14082025_02_16_39_10340.jpg /media/data/images/14082025/02/16/image_14082025_02_16_59_10380.jpg /media/data/images/14082025/02/17/image_14082025_02_17_09_10397.jpg /media/data/images/14082025/02/17/image_14082025_02_17_28_10403.jpg /media/data/images/14082025/02/17/image_14082025_02_17_39_10335.jpg /media/data/images/14082025/02/17/image_14082025_02_17_48_9178.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376982923","1376982889","1376982961","1376982996","1376983032","1376983066"],"photo_ids_order":["1376982889","1376982923","1376982961","1376982996","1376983032","1376983066"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9363a95b78f4928ee2a908507c05dd92.jpg","text":"TemporaryFile(/tmp/multipartBody501255932960612723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165904271,"filename":"image_14082025_02_16_59_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32fc4aeb9a8584df8110c730abf7c438.jpg","text":"TemporaryFile(/tmp/multipartBody8853888377768471346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165904271,"filename":"image_14082025_02_16_39_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e097afca16a59bc690a74858d31e8ac.jpg","text":"TemporaryFile(/tmp/multipartBody7390249858033473909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165904271,"filename":"image_14082025_02_17_09_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8be4cc968ed8be0f1b5bf15d0123113.jpg","text":"TemporaryFile(/tmp/multipartBody8008216538239233698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165904271,"filename":"image_14082025_02_17_28_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2dd14076bc3a6414658d96d91b099bb.jpg","text":"TemporaryFile(/tmp/multipartBody188564982214477587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165904271,"filename":"image_14082025_02_17_39_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77d8a68ed77ab48ad44da7f0d86f98a4.jpg","text":"TemporaryFile(/tmp/multipartBody5742768499261324975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165904271,"filename":"image_14082025_02_17_48_9178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376982961","file1":"1376982923","file0":"1376982889","file4":"1376983032","file5":"1376983066","file3":"1376982996"},"map_files_photo_id_array":[{"photo_id":"1376983066","filename":"file5"},{"photo_id":"1376982961","filename":"file2"},{"photo_id":"1376983032","filename":"file4"},{"photo_id":"1376982923","filename":"file1"},{"photo_id":"1376982889","filename":"file0"},{"photo_id":"1376982996","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376982923":["hashtag1","hashtag2"]},{"1376982889":["hashtag1","hashtag2"]},{"1376982961":["hashtag1","hashtag2"]},{"1376982996":["hashtag1","hashtag2"]},{"1376983032":["hashtag1","hashtag2"]},{"1376983066":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376982923, 1376982889, 1376982961, 1376982996, 1376983032, 1376983066)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.4418523311615 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:05:03.534105 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/17/image_14082025_02_17_58_10356.jpg', '/media/data/images/14082025/02/18/image_14082025_02_18_09_10241.jpg', '/media/data/images/14082025/02/18/image_14082025_02_18_19_10379.jpg', '/media/data/images/14082025/02/18/image_14082025_02_18_28_9118.jpg', '/media/data/images/14082025/02/18/image_14082025_02_18_49_10334.jpg', '/media/data/images/14082025/02/18/image_14082025_02_18_58_9101.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/17/image_14082025_02_17_58_10356.jpg /media/data/images/14082025/02/18/image_14082025_02_18_09_10241.jpg /media/data/images/14082025/02/18/image_14082025_02_18_19_10379.jpg /media/data/images/14082025/02/18/image_14082025_02_18_28_9118.jpg /media/data/images/14082025/02/18/image_14082025_02_18_49_10334.jpg /media/data/images/14082025/02/18/image_14082025_02_18_58_9101.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376983375","1376983408","1376983405","1376983312","1376983278","1376983344"],"photo_ids_order":["1376983278","1376983312","1376983344","1376983375","1376983405","1376983408"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2fbf902706854420036dd7b45c48deb8.jpg","text":"TemporaryFile(/tmp/multipartBody2924023485152484318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165964508,"filename":"image_14082025_02_18_28_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6cdf9cbee2d0ebcc70ef3136f12ceb12.jpg","text":"TemporaryFile(/tmp/multipartBody3697296698424369689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165964508,"filename":"image_14082025_02_18_58_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4827a35984b12c462bff99788b1ceaeb.jpg","text":"TemporaryFile(/tmp/multipartBody4274262054062728061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165964508,"filename":"image_14082025_02_18_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c41df9802583f1854f1762fd6cea4f76.jpg","text":"TemporaryFile(/tmp/multipartBody1259403901830811343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165964508,"filename":"image_14082025_02_18_09_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f69704005989e7ad5e19a4b2e82c083.jpg","text":"TemporaryFile(/tmp/multipartBody5018524596725501162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165964508,"filename":"image_14082025_02_17_58_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4495c064f00578f2b9c5dafc08c90c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5685475021483126131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755165964508,"filename":"image_14082025_02_18_19_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376983344","file1":"1376983312","file0":"1376983278","file4":"1376983405","file5":"1376983408","file3":"1376983375"},"map_files_photo_id_array":[{"photo_id":"1376983408","filename":"file5"},{"photo_id":"1376983344","filename":"file2"},{"photo_id":"1376983405","filename":"file4"},{"photo_id":"1376983312","filename":"file1"},{"photo_id":"1376983278","filename":"file0"},{"photo_id":"1376983375","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376983375":["hashtag1","hashtag2"]},{"1376983408":["hashtag1","hashtag2"]},{"1376983405":["hashtag1","hashtag2"]},{"1376983312":["hashtag1","hashtag2"]},{"1376983278":["hashtag1","hashtag2"]},{"1376983344":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376983375, 1376983408, 1376983405, 1376983312, 1376983278, 1376983344)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.942339181900024 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:06:02.588027 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/18/image_14082025_02_19_08_10526.jpg', '/media/data/images/14082025/02/19/image_14082025_02_19_19_10338.jpg', '/media/data/images/14082025/02/19/image_14082025_02_19_49_10385.jpg', '/media/data/images/14082025/02/20/image_14082025_02_20_19_10370.jpg', '/media/data/images/14082025/02/20/image_14082025_02_20_28_9110.jpg', '/media/data/images/14082025/02/21/image_14082025_02_21_08_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/18/image_14082025_02_19_08_10526.jpg /media/data/images/14082025/02/19/image_14082025_02_19_19_10338.jpg /media/data/images/14082025/02/19/image_14082025_02_19_49_10385.jpg /media/data/images/14082025/02/20/image_14082025_02_20_19_10370.jpg /media/data/images/14082025/02/20/image_14082025_02_20_28_9110.jpg /media/data/images/14082025/02/21/image_14082025_02_21_08_10336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376983465","1376983534","1376983501","1376983449","1376983452","1376983454"],"photo_ids_order":["1376983449","1376983452","1376983454","1376983465","1376983501","1376983534"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ae918dfdb21b733f9a821d207bf166e.jpg","text":"TemporaryFile(/tmp/multipartBody5106101964230994339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166023558,"filename":"image_14082025_02_20_19_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c846b96742436fd4c97f90fd27a4cb4.jpg","text":"TemporaryFile(/tmp/multipartBody2223695643007476531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166023558,"filename":"image_14082025_02_21_08_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e36c0b2e1b6c120acb95d10975b6414.jpg","text":"TemporaryFile(/tmp/multipartBody7496326307578406405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166023558,"filename":"image_14082025_02_20_28_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2518815511575c3142cf76d1e777ce9.jpg","text":"TemporaryFile(/tmp/multipartBody740087338746296707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166023558,"filename":"image_14082025_02_19_08_10526.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef192704130b329f490292c6966b7b0f.jpg","text":"TemporaryFile(/tmp/multipartBody674132646619578758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166023558,"filename":"image_14082025_02_19_19_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da611abcdf44b51a41be9df37c965b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4432996999106674556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166023558,"filename":"image_14082025_02_19_49_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376983454","file1":"1376983452","file0":"1376983449","file4":"1376983501","file5":"1376983534","file3":"1376983465"},"map_files_photo_id_array":[{"photo_id":"1376983534","filename":"file5"},{"photo_id":"1376983454","filename":"file2"},{"photo_id":"1376983501","filename":"file4"},{"photo_id":"1376983452","filename":"file1"},{"photo_id":"1376983449","filename":"file0"},{"photo_id":"1376983465","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376983465":["hashtag1","hashtag2"]},{"1376983534":["hashtag1","hashtag2"]},{"1376983501":["hashtag1","hashtag2"]},{"1376983449":["hashtag1","hashtag2"]},{"1376983452":["hashtag1","hashtag2"]},{"1376983454":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376983465, 1376983534, 1376983501, 1376983449, 1376983452, 1376983454)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.09600472450256 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:07:02.829194 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/21/image_14082025_02_21_19_10351.jpg', '/media/data/images/14082025/02/21/image_14082025_02_21_28_9104.jpg', '/media/data/images/14082025/02/21/image_14082025_02_21_38_10338.jpg', '/media/data/images/14082025/02/21/image_14082025_02_21_49_10413.jpg', '/media/data/images/14082025/02/21/image_14082025_02_21_59_10353.jpg', '/media/data/images/14082025/02/22/image_14082025_02_22_29_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/21/image_14082025_02_21_19_10351.jpg /media/data/images/14082025/02/21/image_14082025_02_21_28_9104.jpg /media/data/images/14082025/02/21/image_14082025_02_21_38_10338.jpg /media/data/images/14082025/02/21/image_14082025_02_21_49_10413.jpg /media/data/images/14082025/02/21/image_14082025_02_21_59_10353.jpg /media/data/images/14082025/02/22/image_14082025_02_22_29_10397.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376983969","1376983759","1376983819","1376983927","1376983953","1376983885"],"photo_ids_order":["1376983759","1376983819","1376983885","1376983927","1376983953","1376983969"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4983b60e332bd89089750a1784d3f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody4336394408449475552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166083863,"filename":"image_14082025_02_22_29_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9e374ce06d2ce1e8d4c6f40fe72e5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8211024586435700205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166083863,"filename":"image_14082025_02_21_19_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bd562ea4dfc9c20b64d157d17eecb8a.jpg","text":"TemporaryFile(/tmp/multipartBody7392990523447869702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166083863,"filename":"image_14082025_02_21_28_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f21409fbc8a4c47141b5eb96b2917018.jpg","text":"TemporaryFile(/tmp/multipartBody184673896465964782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166083863,"filename":"image_14082025_02_21_49_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0f97250d30105c48a880ee52e6ce47d.jpg","text":"TemporaryFile(/tmp/multipartBody3504720381156655669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166083863,"filename":"image_14082025_02_21_59_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8fcd215ffd53a8349e5af94936ce0a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8563663171053129490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166083863,"filename":"image_14082025_02_21_38_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376983885","file1":"1376983819","file0":"1376983759","file4":"1376983953","file5":"1376983969","file3":"1376983927"},"map_files_photo_id_array":[{"photo_id":"1376983969","filename":"file5"},{"photo_id":"1376983885","filename":"file2"},{"photo_id":"1376983953","filename":"file4"},{"photo_id":"1376983819","filename":"file1"},{"photo_id":"1376983759","filename":"file0"},{"photo_id":"1376983927","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376983969":["hashtag1","hashtag2"]},{"1376983759":["hashtag1","hashtag2"]},{"1376983819":["hashtag1","hashtag2"]},{"1376983927":["hashtag1","hashtag2"]},{"1376983953":["hashtag1","hashtag2"]},{"1376983885":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376983969, 1376983759, 1376983819, 1376983927, 1376983953, 1376983885)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.6655478477478 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:08:02.795776 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/22/image_14082025_02_22_48_10340.jpg', '/media/data/images/14082025/02/23/image_14082025_02_23_09_10383.jpg', '/media/data/images/14082025/02/23/image_14082025_02_23_18_9112.jpg', '/media/data/images/14082025/02/23/image_14082025_02_23_28_10339.jpg', '/media/data/images/14082025/02/23/image_14082025_02_23_39_10467.jpg', '/media/data/images/14082025/02/23/image_14082025_02_23_48_9100.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/22/image_14082025_02_22_48_10340.jpg /media/data/images/14082025/02/23/image_14082025_02_23_09_10383.jpg /media/data/images/14082025/02/23/image_14082025_02_23_18_9112.jpg /media/data/images/14082025/02/23/image_14082025_02_23_28_10339.jpg /media/data/images/14082025/02/23/image_14082025_02_23_39_10467.jpg /media/data/images/14082025/02/23/image_14082025_02_23_48_9100.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376984320","1376984286","1376984505","1376984444","1376984398","1376984359"],"photo_ids_order":["1376984286","1376984320","1376984359","1376984398","1376984444","1376984505"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f90e727c2ce1ca1beed4633bea71efb.jpg","text":"TemporaryFile(/tmp/multipartBody5547572349277333164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166143755,"filename":"image_14082025_02_23_09_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87686d5d79a8581c6320bf2b1a7ee902.jpg","text":"TemporaryFile(/tmp/multipartBody6568087929608164858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166143755,"filename":"image_14082025_02_22_48_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f97f80884c7efc67c450cf4f767e5f15.jpg","text":"TemporaryFile(/tmp/multipartBody4876454670214182856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166143755,"filename":"image_14082025_02_23_48_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4623553bf529e61744dc4de9d558701.jpg","text":"TemporaryFile(/tmp/multipartBody61972434449345535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166143755,"filename":"image_14082025_02_23_39_10467.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec8cb04bfda80e397a122763737e54c5.jpg","text":"TemporaryFile(/tmp/multipartBody9094797151212703198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166143755,"filename":"image_14082025_02_23_28_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb0355abd9bd523a08aaeec9f1ac3ee4.jpg","text":"TemporaryFile(/tmp/multipartBody3434506628931369376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166143755,"filename":"image_14082025_02_23_18_9112.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376984359","file1":"1376984320","file0":"1376984286","file4":"1376984444","file5":"1376984505","file3":"1376984398"},"map_files_photo_id_array":[{"photo_id":"1376984505","filename":"file5"},{"photo_id":"1376984359","filename":"file2"},{"photo_id":"1376984444","filename":"file4"},{"photo_id":"1376984320","filename":"file1"},{"photo_id":"1376984286","filename":"file0"},{"photo_id":"1376984398","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376984320":["hashtag1","hashtag2"]},{"1376984286":["hashtag1","hashtag2"]},{"1376984505":["hashtag1","hashtag2"]},{"1376984444":["hashtag1","hashtag2"]},{"1376984398":["hashtag1","hashtag2"]},{"1376984359":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376984320, 1376984286, 1376984505, 1376984444, 1376984398, 1376984359)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.3037371635437 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:09:03.019354 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/23/image_14082025_02_23_58_10337.jpg', '/media/data/images/14082025/02/24/image_14082025_02_24_18_9111.jpg', '/media/data/images/14082025/02/24/image_14082025_02_24_28_10434.jpg', '/media/data/images/14082025/02/24/image_14082025_02_24_39_10331.jpg', '/media/data/images/14082025/02/24/image_14082025_02_24_48_9134.jpg', '/media/data/images/14082025/02/24/image_14082025_02_24_58_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/23/image_14082025_02_23_58_10337.jpg /media/data/images/14082025/02/24/image_14082025_02_24_18_9111.jpg /media/data/images/14082025/02/24/image_14082025_02_24_28_10434.jpg /media/data/images/14082025/02/24/image_14082025_02_24_39_10331.jpg /media/data/images/14082025/02/24/image_14082025_02_24_48_9134.jpg /media/data/images/14082025/02/24/image_14082025_02_24_58_10480.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376985255","1376984934","1376985133","1376985198","1376985001","1376985072"],"photo_ids_order":["1376984934","1376985001","1376985072","1376985133","1376985198","1376985255"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b4b6e653281b5b53442aa329caa02ff.jpg","text":"TemporaryFile(/tmp/multipartBody7655318443591774452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166203997,"filename":"image_14082025_02_24_58_10480.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8b634d15211f9a1aed4d326cad6098b.jpg","text":"TemporaryFile(/tmp/multipartBody3480666318115743687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166203997,"filename":"image_14082025_02_23_58_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a226f3d5446ee3fbaa89c39e75683f5.jpg","text":"TemporaryFile(/tmp/multipartBody2053497521101376885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166203997,"filename":"image_14082025_02_24_39_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ec9bce60b6ff20c08b08e7c55ebd89f.jpg","text":"TemporaryFile(/tmp/multipartBody1811224897884388443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166203997,"filename":"image_14082025_02_24_48_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a8f9aa047a1ead3843f97b3b9abc893.jpg","text":"TemporaryFile(/tmp/multipartBody4212678887348930167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166203997,"filename":"image_14082025_02_24_18_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3be1c67daae71cdc0fc7701a5b68f71b.jpg","text":"TemporaryFile(/tmp/multipartBody383230452869023211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166203997,"filename":"image_14082025_02_24_28_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376985072","file1":"1376985001","file0":"1376984934","file4":"1376985198","file5":"1376985255","file3":"1376985133"},"map_files_photo_id_array":[{"photo_id":"1376985255","filename":"file5"},{"photo_id":"1376985072","filename":"file2"},{"photo_id":"1376985198","filename":"file4"},{"photo_id":"1376985001","filename":"file1"},{"photo_id":"1376984934","filename":"file0"},{"photo_id":"1376985133","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376985255":["hashtag1","hashtag2"]},{"1376984934":["hashtag1","hashtag2"]},{"1376985133":["hashtag1","hashtag2"]},{"1376985198":["hashtag1","hashtag2"]},{"1376985001":["hashtag1","hashtag2"]},{"1376985072":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376985255, 1376984934, 1376985133, 1376985198, 1376985001, 1376985072)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.401336431503296 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:10:03.033106 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/25/image_14082025_02_25_18_9431.jpg', '/media/data/images/14082025/02/25/image_14082025_02_25_29_10335.jpg', '/media/data/images/14082025/02/26/image_14082025_02_26_29_10421.jpg', '/media/data/images/14082025/02/26/image_14082025_02_26_39_10355.jpg', '/media/data/images/14082025/02/26/image_14082025_02_26_48_9104.jpg', '/media/data/images/14082025/02/26/image_14082025_02_26_59_10425.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/25/image_14082025_02_25_18_9431.jpg /media/data/images/14082025/02/25/image_14082025_02_25_29_10335.jpg /media/data/images/14082025/02/26/image_14082025_02_26_29_10421.jpg /media/data/images/14082025/02/26/image_14082025_02_26_39_10355.jpg /media/data/images/14082025/02/26/image_14082025_02_26_48_9104.jpg /media/data/images/14082025/02/26/image_14082025_02_26_59_10425.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376985612","1376985516","1376985488","1376985497","1376985544","1376985574"],"photo_ids_order":["1376985488","1376985497","1376985516","1376985544","1376985574","1376985612"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b30f1e2a68190d880431fce451bcb849.jpg","text":"TemporaryFile(/tmp/multipartBody1637630729526162262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166264024,"filename":"image_14082025_02_26_59_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e231c0522e12dff90c02d25a7007e44.jpg","text":"TemporaryFile(/tmp/multipartBody726541308494265839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166264024,"filename":"image_14082025_02_26_29_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4eb0aa72dae0cfc1b98646dd65bf3d9.jpg","text":"TemporaryFile(/tmp/multipartBody2342868040146345662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166264024,"filename":"image_14082025_02_25_18_9431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d5f56b0419e51a69c61d5cb99febae3.jpg","text":"TemporaryFile(/tmp/multipartBody1753028791216409885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166264024,"filename":"image_14082025_02_25_29_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43ff628d38dcf2a4f391f4989fa9c6de.jpg","text":"TemporaryFile(/tmp/multipartBody5439309217222338227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166264024,"filename":"image_14082025_02_26_39_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43b3781dab07663d864c5524605da8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3860504410886142377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166264024,"filename":"image_14082025_02_26_48_9104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376985516","file1":"1376985497","file0":"1376985488","file4":"1376985574","file5":"1376985612","file3":"1376985544"},"map_files_photo_id_array":[{"photo_id":"1376985612","filename":"file5"},{"photo_id":"1376985516","filename":"file2"},{"photo_id":"1376985574","filename":"file4"},{"photo_id":"1376985497","filename":"file1"},{"photo_id":"1376985488","filename":"file0"},{"photo_id":"1376985544","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376985612":["hashtag1","hashtag2"]},{"1376985516":["hashtag1","hashtag2"]},{"1376985488":["hashtag1","hashtag2"]},{"1376985497":["hashtag1","hashtag2"]},{"1376985544":["hashtag1","hashtag2"]},{"1376985574":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376985612, 1376985516, 1376985488, 1376985497, 1376985544, 1376985574)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.43395638465881 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:11:03.210052 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/27/image_14082025_02_27_09_10268.jpg', '/media/data/images/14082025/02/27/image_14082025_02_27_18_9152.jpg', '/media/data/images/14082025/02/27/image_14082025_02_27_39_10387.jpg', '/media/data/images/14082025/02/27/image_14082025_02_27_48_9106.jpg', '/media/data/images/14082025/02/28/image_14082025_02_28_09_10322.jpg', '/media/data/images/14082025/02/28/image_14082025_02_28_19_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/27/image_14082025_02_27_09_10268.jpg /media/data/images/14082025/02/27/image_14082025_02_27_18_9152.jpg /media/data/images/14082025/02/27/image_14082025_02_27_39_10387.jpg /media/data/images/14082025/02/27/image_14082025_02_27_48_9106.jpg /media/data/images/14082025/02/28/image_14082025_02_28_09_10322.jpg /media/data/images/14082025/02/28/image_14082025_02_28_19_10388.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376985825","1376985900","1376985926","1376985860","1376985907","1376985888"],"photo_ids_order":["1376985825","1376985860","1376985888","1376985900","1376985907","1376985926"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a78db03dac4422889bf1c9c28076001.jpg","text":"TemporaryFile(/tmp/multipartBody76371952440059047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166324167,"filename":"image_14082025_02_27_09_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c58719d19ca0de5a5c350ef1694ab21.jpg","text":"TemporaryFile(/tmp/multipartBody6919654737310217531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166324167,"filename":"image_14082025_02_27_48_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a88f38725512d9a84d74a14ce768e293.jpg","text":"TemporaryFile(/tmp/multipartBody7970396917201958322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166324167,"filename":"image_14082025_02_28_19_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa0a0e215d83f66539279d695595f146.jpg","text":"TemporaryFile(/tmp/multipartBody5709426825679938116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166324167,"filename":"image_14082025_02_27_18_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b46291b6e126b55bf8f04ed83cc905ad.jpg","text":"TemporaryFile(/tmp/multipartBody7994767303625550496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166324167,"filename":"image_14082025_02_28_09_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cb86159cc322fabb2092ba3a610cf3b.jpg","text":"TemporaryFile(/tmp/multipartBody1793905455795383970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166324167,"filename":"image_14082025_02_27_39_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376985888","file1":"1376985860","file0":"1376985825","file4":"1376985907","file5":"1376985926","file3":"1376985900"},"map_files_photo_id_array":[{"photo_id":"1376985926","filename":"file5"},{"photo_id":"1376985888","filename":"file2"},{"photo_id":"1376985907","filename":"file4"},{"photo_id":"1376985860","filename":"file1"},{"photo_id":"1376985825","filename":"file0"},{"photo_id":"1376985900","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376985825":["hashtag1","hashtag2"]},{"1376985900":["hashtag1","hashtag2"]},{"1376985926":["hashtag1","hashtag2"]},{"1376985860":["hashtag1","hashtag2"]},{"1376985907":["hashtag1","hashtag2"]},{"1376985888":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376985825, 1376985900, 1376985926, 1376985860, 1376985907, 1376985888)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.5753653049469 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:12:03.052380 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/28/image_14082025_02_29_08_10492.jpg', '/media/data/images/14082025/02/29/image_14082025_02_29_28_9108.jpg', '/media/data/images/14082025/02/29/image_14082025_02_29_38_10437.jpg', '/media/data/images/14082025/02/29/image_14082025_02_29_58_9138.jpg', '/media/data/images/14082025/02/29/image_14082025_02_30_09_10744.jpg', '/media/data/images/14082025/02/30/image_14082025_02_30_28_9108.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/28/image_14082025_02_29_08_10492.jpg /media/data/images/14082025/02/29/image_14082025_02_29_28_9108.jpg /media/data/images/14082025/02/29/image_14082025_02_29_38_10437.jpg /media/data/images/14082025/02/29/image_14082025_02_29_58_9138.jpg /media/data/images/14082025/02/29/image_14082025_02_30_09_10744.jpg /media/data/images/14082025/02/30/image_14082025_02_30_28_9108.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376986205","1376986240","1376986234","1376986216","1376986210","1376986213"],"photo_ids_order":["1376986205","1376986210","1376986213","1376986216","1376986234","1376986240"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d37b77e697addcbcc9e66ac0e6afa0b.jpg","text":"TemporaryFile(/tmp/multipartBody3356889126219359750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166384031,"filename":"image_14082025_02_29_08_10492.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4152c095933fedd395d85c29687ab319.jpg","text":"TemporaryFile(/tmp/multipartBody4123775218353825828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166384031,"filename":"image_14082025_02_30_28_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78d79982d5726e36105bc4a3ee087b72.jpg","text":"TemporaryFile(/tmp/multipartBody2235830793730204342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166384031,"filename":"image_14082025_02_30_09_10744.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/225a201079bcb2e6224659a069a82cb5.jpg","text":"TemporaryFile(/tmp/multipartBody2228993180562792522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166384031,"filename":"image_14082025_02_29_58_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74ce6f90ae4eb2541c73396dee1eb9b0.jpg","text":"TemporaryFile(/tmp/multipartBody4081019167805220668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166384031,"filename":"image_14082025_02_29_28_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e831138d137ad6d5c1b4dfeafce74bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5833406719912133775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166384031,"filename":"image_14082025_02_29_38_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376986213","file1":"1376986210","file0":"1376986205","file4":"1376986234","file5":"1376986240","file3":"1376986216"},"map_files_photo_id_array":[{"photo_id":"1376986240","filename":"file5"},{"photo_id":"1376986213","filename":"file2"},{"photo_id":"1376986234","filename":"file4"},{"photo_id":"1376986210","filename":"file1"},{"photo_id":"1376986205","filename":"file0"},{"photo_id":"1376986216","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376986205":["hashtag1","hashtag2"]},{"1376986240":["hashtag1","hashtag2"]},{"1376986234":["hashtag1","hashtag2"]},{"1376986216":["hashtag1","hashtag2"]},{"1376986210":["hashtag1","hashtag2"]},{"1376986213":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376986205, 1376986240, 1376986234, 1376986216, 1376986210, 1376986213)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.05028748512268 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:13:03.509752 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/30/image_14082025_02_30_39_10345.jpg', '/media/data/images/14082025/02/30/image_14082025_02_30_58_9196.jpg', '/media/data/images/14082025/02/31/image_14082025_02_31_08_10263.jpg', '/media/data/images/14082025/02/31/image_14082025_02_31_28_9102.jpg', '/media/data/images/14082025/02/32/image_14082025_02_32_38_9104.jpg', '/media/data/images/14082025/02/32/image_14082025_02_32_48_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/30/image_14082025_02_30_39_10345.jpg /media/data/images/14082025/02/30/image_14082025_02_30_58_9196.jpg /media/data/images/14082025/02/31/image_14082025_02_31_08_10263.jpg /media/data/images/14082025/02/31/image_14082025_02_31_28_9102.jpg /media/data/images/14082025/02/32/image_14082025_02_32_38_9104.jpg /media/data/images/14082025/02/32/image_14082025_02_32_48_10388.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376986270","1376986296","1376986281","1376986275","1376986278","1376986323"],"photo_ids_order":["1376986270","1376986275","1376986278","1376986281","1376986296","1376986323"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c64c80b174d9548d913258b5008790fe.jpg","text":"TemporaryFile(/tmp/multipartBody8001981692607633180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166444442,"filename":"image_14082025_02_30_39_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fa8d468daf303de2b2a7a8718afc5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7485739739819499421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166444442,"filename":"image_14082025_02_32_38_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf804bc8386aed2e6d15e5eeb8f6dcec.jpg","text":"TemporaryFile(/tmp/multipartBody6596917086873923908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166444442,"filename":"image_14082025_02_31_28_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e337fda8742e4dc0b90c54d2cd907ca.jpg","text":"TemporaryFile(/tmp/multipartBody8192406000910386188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166444442,"filename":"image_14082025_02_30_58_9196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/707f1ef1aaecd6aed1af38037bc50085.jpg","text":"TemporaryFile(/tmp/multipartBody1995929363307115526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166444442,"filename":"image_14082025_02_31_08_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68bbc1327c417f7278ee9d68ff0a5cbc.jpg","text":"TemporaryFile(/tmp/multipartBody3776617987453114936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166444442,"filename":"image_14082025_02_32_48_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376986278","file1":"1376986275","file0":"1376986270","file4":"1376986296","file5":"1376986323","file3":"1376986281"},"map_files_photo_id_array":[{"photo_id":"1376986323","filename":"file5"},{"photo_id":"1376986278","filename":"file2"},{"photo_id":"1376986296","filename":"file4"},{"photo_id":"1376986275","filename":"file1"},{"photo_id":"1376986270","filename":"file0"},{"photo_id":"1376986281","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376986270":["hashtag1","hashtag2"]},{"1376986296":["hashtag1","hashtag2"]},{"1376986281":["hashtag1","hashtag2"]},{"1376986275":["hashtag1","hashtag2"]},{"1376986278":["hashtag1","hashtag2"]},{"1376986323":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376986270, 1376986296, 1376986281, 1376986275, 1376986278, 1376986323)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.21270990371704 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:14:03.340252 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/33/image_14082025_02_33_09_10384.jpg', '/media/data/images/14082025/02/33/image_14082025_02_33_18_9217.jpg', '/media/data/images/14082025/02/33/image_14082025_02_33_39_10355.jpg', '/media/data/images/14082025/02/33/image_14082025_02_33_48_9177.jpg', '/media/data/images/14082025/02/34/image_14082025_02_34_09_10438.jpg', '/media/data/images/14082025/02/34/image_14082025_02_34_58_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/33/image_14082025_02_33_09_10384.jpg /media/data/images/14082025/02/33/image_14082025_02_33_18_9217.jpg /media/data/images/14082025/02/33/image_14082025_02_33_39_10355.jpg /media/data/images/14082025/02/33/image_14082025_02_33_48_9177.jpg /media/data/images/14082025/02/34/image_14082025_02_34_09_10438.jpg /media/data/images/14082025/02/34/image_14082025_02_34_58_10343.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376986611","1376986574","1376986687","1376986723","1376986651","1376986540"],"photo_ids_order":["1376986540","1376986574","1376986611","1376986651","1376986687","1376986723"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de846707d3f3b24a6fbd1243e8e189ae.jpg","text":"TemporaryFile(/tmp/multipartBody1553877714792330534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166504331,"filename":"image_14082025_02_33_39_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c95650a7d5ea9d80ec366f49eea3e11.jpg","text":"TemporaryFile(/tmp/multipartBody9154937754201659152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166504331,"filename":"image_14082025_02_33_18_9217.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fda621749228aaee5eb53d9a1795bf76.jpg","text":"TemporaryFile(/tmp/multipartBody4174873914730985109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166504331,"filename":"image_14082025_02_34_09_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e93adab58a1d7c26042df97d3a66550b.jpg","text":"TemporaryFile(/tmp/multipartBody6377727955887641141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166504331,"filename":"image_14082025_02_34_58_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61c413c36d9ab30fb16db27b9575ea9b.jpg","text":"TemporaryFile(/tmp/multipartBody5808581244988603680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166504331,"filename":"image_14082025_02_33_48_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/055fbfbc713c2843e6262c04a3a81fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6393715265363884060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166504331,"filename":"image_14082025_02_33_09_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376986611","file1":"1376986574","file0":"1376986540","file4":"1376986687","file5":"1376986723","file3":"1376986651"},"map_files_photo_id_array":[{"photo_id":"1376986723","filename":"file5"},{"photo_id":"1376986611","filename":"file2"},{"photo_id":"1376986687","filename":"file4"},{"photo_id":"1376986574","filename":"file1"},{"photo_id":"1376986540","filename":"file0"},{"photo_id":"1376986651","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376986611":["hashtag1","hashtag2"]},{"1376986574":["hashtag1","hashtag2"]},{"1376986687":["hashtag1","hashtag2"]},{"1376986723":["hashtag1","hashtag2"]},{"1376986651":["hashtag1","hashtag2"]},{"1376986540":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376986611, 1376986574, 1376986687, 1376986723, 1376986651, 1376986540)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.994133949279785 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:15:03.481156 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/35/image_14082025_02_35_09_10245.jpg', '/media/data/images/14082025/02/35/image_14082025_02_35_19_10411.jpg', '/media/data/images/14082025/02/35/image_14082025_02_35_28_9370.jpg', '/media/data/images/14082025/02/35/image_14082025_02_35_39_10442.jpg', '/media/data/images/14082025/02/36/image_14082025_02_36_08_10255.jpg', '/media/data/images/14082025/02/36/image_14082025_02_36_28_9191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/35/image_14082025_02_35_09_10245.jpg /media/data/images/14082025/02/35/image_14082025_02_35_19_10411.jpg /media/data/images/14082025/02/35/image_14082025_02_35_28_9370.jpg /media/data/images/14082025/02/35/image_14082025_02_35_39_10442.jpg /media/data/images/14082025/02/36/image_14082025_02_36_08_10255.jpg /media/data/images/14082025/02/36/image_14082025_02_36_28_9191.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376987050","1376987125","1376986978","1376987014","1376986942","1376987090"],"photo_ids_order":["1376986942","1376986978","1376987014","1376987050","1376987090","1376987125"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0074425f6631590dad5734fd376d7a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4562855208632372757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166564475,"filename":"image_14082025_02_35_39_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2c82b2722402721b4f69f829ed20844.jpg","text":"TemporaryFile(/tmp/multipartBody4271770006160694241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166564475,"filename":"image_14082025_02_36_28_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1826a0ab4ffa8ae53b080b3548c6ee9f.jpg","text":"TemporaryFile(/tmp/multipartBody8392822315276348026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166564475,"filename":"image_14082025_02_35_19_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/702a3d092c16fdb66d177d17ab12b737.jpg","text":"TemporaryFile(/tmp/multipartBody4579161970403549024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166564475,"filename":"image_14082025_02_35_28_9370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a5406442f17d9a6a7693d86b26c0072.jpg","text":"TemporaryFile(/tmp/multipartBody5578485245117760657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166564475,"filename":"image_14082025_02_35_09_10245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/764585a71be1e18ca53db0a2e8d6c93a.jpg","text":"TemporaryFile(/tmp/multipartBody5256204111103361461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166564475,"filename":"image_14082025_02_36_08_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376987014","file1":"1376986978","file0":"1376986942","file4":"1376987090","file5":"1376987125","file3":"1376987050"},"map_files_photo_id_array":[{"photo_id":"1376987125","filename":"file5"},{"photo_id":"1376987014","filename":"file2"},{"photo_id":"1376987090","filename":"file4"},{"photo_id":"1376986978","filename":"file1"},{"photo_id":"1376986942","filename":"file0"},{"photo_id":"1376987050","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376987050":["hashtag1","hashtag2"]},{"1376987125":["hashtag1","hashtag2"]},{"1376986978":["hashtag1","hashtag2"]},{"1376987014":["hashtag1","hashtag2"]},{"1376986942":["hashtag1","hashtag2"]},{"1376987090":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376987050, 1376987125, 1376986978, 1376987014, 1376986942, 1376987090)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.1045138835907 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:16:02.416571 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/36/image_14082025_02_36_38_10351.jpg', '/media/data/images/14082025/02/36/image_14082025_02_36_49_10335.jpg', '/media/data/images/14082025/02/36/image_14082025_02_36_58_9162.jpg', '/media/data/images/14082025/02/36/image_14082025_02_37_08_10477.jpg', '/media/data/images/14082025/02/37/image_14082025_02_37_38_9100.jpg', '/media/data/images/14082025/02/37/image_14082025_02_37_48_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/36/image_14082025_02_36_38_10351.jpg /media/data/images/14082025/02/36/image_14082025_02_36_49_10335.jpg /media/data/images/14082025/02/36/image_14082025_02_36_58_9162.jpg /media/data/images/14082025/02/36/image_14082025_02_37_08_10477.jpg /media/data/images/14082025/02/37/image_14082025_02_37_38_9100.jpg /media/data/images/14082025/02/37/image_14082025_02_37_48_10346.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376987372","1376987389","1376987350","1376987334","1376987381","1376987384"],"photo_ids_order":["1376987334","1376987350","1376987372","1376987381","1376987384","1376987389"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdec7cafbff871686d1976d6a1b880c9.jpg","text":"TemporaryFile(/tmp/multipartBody4214571988128255818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166623414,"filename":"image_14082025_02_36_58_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70f2124440a034580049ce8d88958a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1093292260725182551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166623414,"filename":"image_14082025_02_37_48_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/677e5166fed862095cacdd8b9376c89e.jpg","text":"TemporaryFile(/tmp/multipartBody5298515415808686202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166623414,"filename":"image_14082025_02_36_49_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/255372ddc7dc0599897b9f3eaf488f51.jpg","text":"TemporaryFile(/tmp/multipartBody2182528055896052039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166623414,"filename":"image_14082025_02_36_38_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52a393012994e50ac7cc5627049f9ec6.jpg","text":"TemporaryFile(/tmp/multipartBody418220860289138858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166623414,"filename":"image_14082025_02_37_08_10477.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4808887dc47e8d2f90d6839126b5df9.jpg","text":"TemporaryFile(/tmp/multipartBody7506038174570642614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166623414,"filename":"image_14082025_02_37_38_9100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376987372","file1":"1376987350","file0":"1376987334","file4":"1376987384","file5":"1376987389","file3":"1376987381"},"map_files_photo_id_array":[{"photo_id":"1376987389","filename":"file5"},{"photo_id":"1376987372","filename":"file2"},{"photo_id":"1376987384","filename":"file4"},{"photo_id":"1376987350","filename":"file1"},{"photo_id":"1376987334","filename":"file0"},{"photo_id":"1376987381","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376987372":["hashtag1","hashtag2"]},{"1376987389":["hashtag1","hashtag2"]},{"1376987350":["hashtag1","hashtag2"]},{"1376987334":["hashtag1","hashtag2"]},{"1376987381":["hashtag1","hashtag2"]},{"1376987384":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376987372, 1376987389, 1376987350, 1376987334, 1376987381, 1376987384)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.73459458351135 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:17:02.908426 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/37/image_14082025_02_37_59_10342.jpg', '/media/data/images/14082025/02/38/image_14082025_02_38_08_9362.jpg', '/media/data/images/14082025/02/38/image_14082025_02_38_38_9203.jpg', '/media/data/images/14082025/02/38/image_14082025_02_38_59_10327.jpg', '/media/data/images/14082025/02/39/image_14082025_02_39_09_10164.jpg', '/media/data/images/14082025/02/39/image_14082025_02_39_18_9113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/37/image_14082025_02_37_59_10342.jpg /media/data/images/14082025/02/38/image_14082025_02_38_08_9362.jpg /media/data/images/14082025/02/38/image_14082025_02_38_38_9203.jpg /media/data/images/14082025/02/38/image_14082025_02_38_59_10327.jpg /media/data/images/14082025/02/39/image_14082025_02_39_09_10164.jpg /media/data/images/14082025/02/39/image_14082025_02_39_18_9113.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376987683","1376987746","1376987518","1376987484","1376987607","1376987561"],"photo_ids_order":["1376987484","1376987518","1376987561","1376987607","1376987683","1376987746"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c16a0af5e6d67c73d94bacfad1c840c.jpg","text":"TemporaryFile(/tmp/multipartBody5286611548614016382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166683894,"filename":"image_14082025_02_39_09_10164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8daf446da60a374fd9d8fbd7a9444acb.jpg","text":"TemporaryFile(/tmp/multipartBody1051795105285150983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166683894,"filename":"image_14082025_02_39_18_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8630f3029c133e64747f90a0148da31.jpg","text":"TemporaryFile(/tmp/multipartBody2524796611642947527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166683894,"filename":"image_14082025_02_38_08_9362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47a367c1d1ad1cac3d2fdbaec26e5e09.jpg","text":"TemporaryFile(/tmp/multipartBody8675223423256968668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166683894,"filename":"image_14082025_02_37_59_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a26b75f7f4e824378b8f1b830eb4cd10.jpg","text":"TemporaryFile(/tmp/multipartBody8086212013487774603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166683894,"filename":"image_14082025_02_38_59_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3924c63aa1b7f411157a8d22fdc01202.jpg","text":"TemporaryFile(/tmp/multipartBody7257968233035352257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166683894,"filename":"image_14082025_02_38_38_9203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376987561","file1":"1376987518","file0":"1376987484","file4":"1376987683","file5":"1376987746","file3":"1376987607"},"map_files_photo_id_array":[{"photo_id":"1376987746","filename":"file5"},{"photo_id":"1376987561","filename":"file2"},{"photo_id":"1376987683","filename":"file4"},{"photo_id":"1376987518","filename":"file1"},{"photo_id":"1376987484","filename":"file0"},{"photo_id":"1376987607","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376987683":["hashtag1","hashtag2"]},{"1376987746":["hashtag1","hashtag2"]},{"1376987518":["hashtag1","hashtag2"]},{"1376987484":["hashtag1","hashtag2"]},{"1376987607":["hashtag1","hashtag2"]},{"1376987561":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376987683, 1376987746, 1376987518, 1376987484, 1376987607, 1376987561)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.27292275428772 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:18:02.750933 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/39/image_14082025_02_39_28_10329.jpg', '/media/data/images/14082025/02/39/image_14082025_02_39_58_10387.jpg', '/media/data/images/14082025/02/40/image_14082025_02_40_09_10511.jpg', '/media/data/images/14082025/02/40/image_14082025_02_40_28_10431.jpg', '/media/data/images/14082025/02/41/image_14082025_02_41_18_9178.jpg', '/media/data/images/14082025/02/41/image_14082025_02_41_58_9112.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/39/image_14082025_02_39_28_10329.jpg /media/data/images/14082025/02/39/image_14082025_02_39_58_10387.jpg /media/data/images/14082025/02/40/image_14082025_02_40_09_10511.jpg /media/data/images/14082025/02/40/image_14082025_02_40_28_10431.jpg /media/data/images/14082025/02/41/image_14082025_02_41_18_9178.jpg /media/data/images/14082025/02/41/image_14082025_02_41_58_9112.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376988673","1376988375","1376988471","1376988188","1376988281","1376988575"],"photo_ids_order":["1376988188","1376988281","1376988375","1376988471","1376988575","1376988673"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4377e181a7b10ae45d5ccfaed049dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8323438525124659080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166743689,"filename":"image_14082025_02_41_58_9112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f901d2607e8d2c66755e3c96487667d.jpg","text":"TemporaryFile(/tmp/multipartBody6159380040797827677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166743689,"filename":"image_14082025_02_40_09_10511.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3abd42077cc98f82179bc728c8066831.jpg","text":"TemporaryFile(/tmp/multipartBody1981550687674882800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166743689,"filename":"image_14082025_02_40_28_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a01ce59be0936bd629454573752e0da3.jpg","text":"TemporaryFile(/tmp/multipartBody6384331136679901367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166743689,"filename":"image_14082025_02_39_28_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d98860ff7f4b9f8c8673b83ae818bbb7.jpg","text":"TemporaryFile(/tmp/multipartBody6236612950220007958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166743689,"filename":"image_14082025_02_39_58_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f07156711d0c8bf06ef8bbd7ec44ff5c.jpg","text":"TemporaryFile(/tmp/multipartBody7161811282598731813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166743689,"filename":"image_14082025_02_41_18_9178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376988375","file1":"1376988281","file0":"1376988188","file4":"1376988575","file5":"1376988673","file3":"1376988471"},"map_files_photo_id_array":[{"photo_id":"1376988673","filename":"file5"},{"photo_id":"1376988375","filename":"file2"},{"photo_id":"1376988575","filename":"file4"},{"photo_id":"1376988281","filename":"file1"},{"photo_id":"1376988188","filename":"file0"},{"photo_id":"1376988471","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376988673":["hashtag1","hashtag2"]},{"1376988375":["hashtag1","hashtag2"]},{"1376988471":["hashtag1","hashtag2"]},{"1376988188":["hashtag1","hashtag2"]},{"1376988281":["hashtag1","hashtag2"]},{"1376988575":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376988673, 1376988375, 1376988471, 1376988188, 1376988281, 1376988575)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.2622766494751 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:19:02.938504 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/42/image_14082025_02_42_08_10338.jpg', '/media/data/images/14082025/02/42/image_14082025_02_42_38_10423.jpg', '/media/data/images/14082025/02/42/image_14082025_02_42_49_10335.jpg', '/media/data/images/14082025/02/42/image_14082025_02_43_08_10416.jpg', '/media/data/images/14082025/02/43/image_14082025_02_43_19_10438.jpg', '/media/data/images/14082025/02/43/image_14082025_02_43_28_9262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/42/image_14082025_02_42_08_10338.jpg /media/data/images/14082025/02/42/image_14082025_02_42_38_10423.jpg /media/data/images/14082025/02/42/image_14082025_02_42_49_10335.jpg /media/data/images/14082025/02/42/image_14082025_02_43_08_10416.jpg /media/data/images/14082025/02/43/image_14082025_02_43_19_10438.jpg /media/data/images/14082025/02/43/image_14082025_02_43_28_9262.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376989522","1376989252","1376989426","1376989327","1376989589","1376989655"],"photo_ids_order":["1376989252","1376989327","1376989426","1376989522","1376989589","1376989655"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a417cef549805801c8be18935eced7e3.jpg","text":"TemporaryFile(/tmp/multipartBody4890294544233583050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166803993,"filename":"image_14082025_02_43_08_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3368602def4c0704c223bd4e45e8857.jpg","text":"TemporaryFile(/tmp/multipartBody4776159144142264268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166803993,"filename":"image_14082025_02_42_08_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44b25b12705dcbbcb2abf831483a8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody8326094573578179768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166803993,"filename":"image_14082025_02_42_49_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9ba1d48ac3005c26626996501af7889.jpg","text":"TemporaryFile(/tmp/multipartBody5091612005729084924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166803993,"filename":"image_14082025_02_42_38_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f4a0ec2309aca97bdbb5866fa9a0e632.jpg","text":"TemporaryFile(/tmp/multipartBody5474604619342129987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166803993,"filename":"image_14082025_02_43_19_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea80370df9177e29df1421cf311663d9.jpg","text":"TemporaryFile(/tmp/multipartBody7239690850858122669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166803993,"filename":"image_14082025_02_43_28_9262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376989426","file1":"1376989327","file0":"1376989252","file4":"1376989589","file5":"1376989655","file3":"1376989522"},"map_files_photo_id_array":[{"photo_id":"1376989655","filename":"file5"},{"photo_id":"1376989426","filename":"file2"},{"photo_id":"1376989589","filename":"file4"},{"photo_id":"1376989327","filename":"file1"},{"photo_id":"1376989252","filename":"file0"},{"photo_id":"1376989522","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376989522":["hashtag1","hashtag2"]},{"1376989252":["hashtag1","hashtag2"]},{"1376989426":["hashtag1","hashtag2"]},{"1376989327":["hashtag1","hashtag2"]},{"1376989589":["hashtag1","hashtag2"]},{"1376989655":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376989522, 1376989252, 1376989426, 1376989327, 1376989589, 1376989655)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.80693244934082 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:20:02.857704 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/43/image_14082025_02_43_49_10413.jpg', '/media/data/images/14082025/02/43/image_14082025_02_43_58_9104.jpg', '/media/data/images/14082025/02/43/image_14082025_02_44_09_10595.jpg', '/media/data/images/14082025/02/44/image_14082025_02_44_28_9243.jpg', '/media/data/images/14082025/02/44/image_14082025_02_45_09_10510.jpg', '/media/data/images/14082025/02/45/image_14082025_02_45_19_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/43/image_14082025_02_43_49_10413.jpg /media/data/images/14082025/02/43/image_14082025_02_43_58_9104.jpg /media/data/images/14082025/02/43/image_14082025_02_44_09_10595.jpg /media/data/images/14082025/02/44/image_14082025_02_44_28_9243.jpg /media/data/images/14082025/02/44/image_14082025_02_45_09_10510.jpg /media/data/images/14082025/02/45/image_14082025_02_45_19_10411.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376990686","1376990536","1376990157","1376990259","1376990400","1376990465"],"photo_ids_order":["1376990157","1376990259","1376990400","1376990465","1376990536","1376990686"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70d0e752ea8d2e8deeb476500cd85772.jpg","text":"TemporaryFile(/tmp/multipartBody2085780242618513988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166863839,"filename":"image_14082025_02_45_19_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/615a8ef39f749a37be246d1188219566.jpg","text":"TemporaryFile(/tmp/multipartBody8374083923939135053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166863839,"filename":"image_14082025_02_45_09_10510.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f97bff5e079d6b0c656799a8935f13d.jpg","text":"TemporaryFile(/tmp/multipartBody4246599379144998892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166863839,"filename":"image_14082025_02_43_49_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dec1f9b2f0434a8adfe1386246aabbaf.jpg","text":"TemporaryFile(/tmp/multipartBody6680636252835908063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166863839,"filename":"image_14082025_02_43_58_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1468708da3b0e165743bb9179fe329bc.jpg","text":"TemporaryFile(/tmp/multipartBody5822033560067571523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166863839,"filename":"image_14082025_02_44_09_10595.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/376237d746c252d03a8490845fd0f16b.jpg","text":"TemporaryFile(/tmp/multipartBody2435589889170542447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166863839,"filename":"image_14082025_02_44_28_9243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376990400","file1":"1376990259","file0":"1376990157","file4":"1376990536","file5":"1376990686","file3":"1376990465"},"map_files_photo_id_array":[{"photo_id":"1376990686","filename":"file5"},{"photo_id":"1376990400","filename":"file2"},{"photo_id":"1376990536","filename":"file4"},{"photo_id":"1376990259","filename":"file1"},{"photo_id":"1376990157","filename":"file0"},{"photo_id":"1376990465","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376990686":["hashtag1","hashtag2"]},{"1376990536":["hashtag1","hashtag2"]},{"1376990157":["hashtag1","hashtag2"]},{"1376990259":["hashtag1","hashtag2"]},{"1376990400":["hashtag1","hashtag2"]},{"1376990465":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376990686, 1376990536, 1376990157, 1376990259, 1376990400, 1376990465)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 56.2597382068634 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:21:03.296575 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/45/image_14082025_02_45_28_9174.jpg', '/media/data/images/14082025/02/45/image_14082025_02_45_38_10350.jpg', '/media/data/images/14082025/02/45/image_14082025_02_45_49_10357.jpg', '/media/data/images/14082025/02/45/image_14082025_02_45_58_9114.jpg', '/media/data/images/14082025/02/46/image_14082025_02_46_49_10367.jpg', '/media/data/images/14082025/02/46/image_14082025_02_46_58_9208.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/45/image_14082025_02_45_28_9174.jpg /media/data/images/14082025/02/45/image_14082025_02_45_38_10350.jpg /media/data/images/14082025/02/45/image_14082025_02_45_49_10357.jpg /media/data/images/14082025/02/45/image_14082025_02_45_58_9114.jpg /media/data/images/14082025/02/46/image_14082025_02_46_49_10367.jpg /media/data/images/14082025/02/46/image_14082025_02_46_58_9208.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376990977","1376990874","1376990823","1376991009","1376990942","1376990909"],"photo_ids_order":["1376990823","1376990874","1376990909","1376990942","1376990977","1376991009"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7f835d04c188fde32373752af9656aa.jpg","text":"TemporaryFile(/tmp/multipartBody161911673708039558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166924258,"filename":"image_14082025_02_46_49_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49403b59abe0bcc17c81aa2b0e5036d9.jpg","text":"TemporaryFile(/tmp/multipartBody1387755103308504863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166924258,"filename":"image_14082025_02_45_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/399cced2180dbaf1543ecf463a58efd3.jpg","text":"TemporaryFile(/tmp/multipartBody6664869705766328285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166924258,"filename":"image_14082025_02_45_28_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52479e795d52d0e98470b7f2dc207417.jpg","text":"TemporaryFile(/tmp/multipartBody4492195629861880545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166924258,"filename":"image_14082025_02_46_58_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47aef21fda265171efeee822165966c3.jpg","text":"TemporaryFile(/tmp/multipartBody3197426573852915240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166924258,"filename":"image_14082025_02_45_58_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bdf924cc3ee15aa0c8144364fbd21bf3.jpg","text":"TemporaryFile(/tmp/multipartBody2853311156973545782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166924258,"filename":"image_14082025_02_45_49_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376990909","file1":"1376990874","file0":"1376990823","file4":"1376990977","file5":"1376991009","file3":"1376990942"},"map_files_photo_id_array":[{"photo_id":"1376991009","filename":"file5"},{"photo_id":"1376990909","filename":"file2"},{"photo_id":"1376990977","filename":"file4"},{"photo_id":"1376990874","filename":"file1"},{"photo_id":"1376990823","filename":"file0"},{"photo_id":"1376990942","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376990977":["hashtag1","hashtag2"]},{"1376990874":["hashtag1","hashtag2"]},{"1376990823":["hashtag1","hashtag2"]},{"1376991009":["hashtag1","hashtag2"]},{"1376990942":["hashtag1","hashtag2"]},{"1376990909":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376990977, 1376990874, 1376990823, 1376991009, 1376990942, 1376990909)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36805701255798 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:22:03.081737 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/47/image_14082025_02_47_19_10496.jpg', '/media/data/images/14082025/02/47/image_14082025_02_47_39_10420.jpg', '/media/data/images/14082025/02/48/image_14082025_02_48_09_10488.jpg', '/media/data/images/14082025/02/48/image_14082025_02_48_18_9121.jpg', '/media/data/images/14082025/02/48/image_14082025_02_48_28_10342.jpg', '/media/data/images/14082025/02/48/image_14082025_02_48_38_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/47/image_14082025_02_47_19_10496.jpg /media/data/images/14082025/02/47/image_14082025_02_47_39_10420.jpg /media/data/images/14082025/02/48/image_14082025_02_48_09_10488.jpg /media/data/images/14082025/02/48/image_14082025_02_48_18_9121.jpg /media/data/images/14082025/02/48/image_14082025_02_48_28_10342.jpg /media/data/images/14082025/02/48/image_14082025_02_48_38_10329.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376991238","1376991118","1376991319","1376991174","1376991336","1376991300"],"photo_ids_order":["1376991118","1376991174","1376991238","1376991300","1376991319","1376991336"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e444b84b0fb48692553868287d46f2df.jpg","text":"TemporaryFile(/tmp/multipartBody1522416627020974148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166984078,"filename":"image_14082025_02_48_09_10488.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/871aa6c85d2481304295e1a4e1f646ce.jpg","text":"TemporaryFile(/tmp/multipartBody6880556632120842910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166984078,"filename":"image_14082025_02_47_19_10496.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ef03f3c32fd7b83c390598b1252f3a6.jpg","text":"TemporaryFile(/tmp/multipartBody3408405182996733709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166984078,"filename":"image_14082025_02_48_28_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00d744a73ead1e3c2ea74586ea19a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody9086683614586070060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166984078,"filename":"image_14082025_02_47_39_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb70885cc4815e78955ffc85fc3fdc2d.jpg","text":"TemporaryFile(/tmp/multipartBody3243272357876681201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166984078,"filename":"image_14082025_02_48_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5c367b2d7120ef61ee68c1dd79e1c80.jpg","text":"TemporaryFile(/tmp/multipartBody8094373464709348067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755166984078,"filename":"image_14082025_02_48_18_9121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376991238","file1":"1376991174","file0":"1376991118","file4":"1376991319","file5":"1376991336","file3":"1376991300"},"map_files_photo_id_array":[{"photo_id":"1376991336","filename":"file5"},{"photo_id":"1376991238","filename":"file2"},{"photo_id":"1376991319","filename":"file4"},{"photo_id":"1376991174","filename":"file1"},{"photo_id":"1376991118","filename":"file0"},{"photo_id":"1376991300","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376991238":["hashtag1","hashtag2"]},{"1376991118":["hashtag1","hashtag2"]},{"1376991319":["hashtag1","hashtag2"]},{"1376991174":["hashtag1","hashtag2"]},{"1376991336":["hashtag1","hashtag2"]},{"1376991300":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376991238, 1376991118, 1376991319, 1376991174, 1376991336, 1376991300)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.1897292137146 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:23:03.599621 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/48/image_14082025_02_48_49_10394.jpg', '/media/data/images/14082025/02/48/image_14082025_02_48_58_9098.jpg', '/media/data/images/14082025/02/49/image_14082025_02_49_08_10344.jpg', '/media/data/images/14082025/02/49/image_14082025_02_49_19_10380.jpg', '/media/data/images/14082025/02/49/image_14082025_02_49_28_9155.jpg', '/media/data/images/14082025/02/49/image_14082025_02_49_38_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/48/image_14082025_02_48_49_10394.jpg /media/data/images/14082025/02/48/image_14082025_02_48_58_9098.jpg /media/data/images/14082025/02/49/image_14082025_02_49_08_10344.jpg /media/data/images/14082025/02/49/image_14082025_02_49_19_10380.jpg /media/data/images/14082025/02/49/image_14082025_02_49_28_9155.jpg /media/data/images/14082025/02/49/image_14082025_02_49_38_10342.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376991495","1376991480","1376991498","1376991491","1376991484","1376991487"],"photo_ids_order":["1376991480","1376991484","1376991487","1376991491","1376991495","1376991498"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88c6e2038c7fd6f3a1f0b50c2a8216be.jpg","text":"TemporaryFile(/tmp/multipartBody1759689970462215564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167044564,"filename":"image_14082025_02_49_28_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2959b69d0593db00b017a156eba51d1.jpg","text":"TemporaryFile(/tmp/multipartBody1029406318326661496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167044564,"filename":"image_14082025_02_48_49_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e3c511f45679f7a4ec480e7fb4bb924.jpg","text":"TemporaryFile(/tmp/multipartBody6662232905647935476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167044564,"filename":"image_14082025_02_49_38_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/375ecd8cffda18e8d00e824650c190cc.jpg","text":"TemporaryFile(/tmp/multipartBody907546249433942280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167044564,"filename":"image_14082025_02_49_19_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18b54271d28c7d232b500f3208aa758d.jpg","text":"TemporaryFile(/tmp/multipartBody2475810894329848985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167044564,"filename":"image_14082025_02_48_58_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44a216708f91bdef88d75f07f92eb070.jpg","text":"TemporaryFile(/tmp/multipartBody7943687949552611081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167044564,"filename":"image_14082025_02_49_08_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376991487","file1":"1376991484","file0":"1376991480","file4":"1376991495","file5":"1376991498","file3":"1376991491"},"map_files_photo_id_array":[{"photo_id":"1376991498","filename":"file5"},{"photo_id":"1376991487","filename":"file2"},{"photo_id":"1376991495","filename":"file4"},{"photo_id":"1376991484","filename":"file1"},{"photo_id":"1376991480","filename":"file0"},{"photo_id":"1376991491","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376991495":["hashtag1","hashtag2"]},{"1376991480":["hashtag1","hashtag2"]},{"1376991498":["hashtag1","hashtag2"]},{"1376991491":["hashtag1","hashtag2"]},{"1376991484":["hashtag1","hashtag2"]},{"1376991487":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376991495, 1376991480, 1376991498, 1376991491, 1376991484, 1376991487)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.464263916015625 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:24:03.663982 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/49/image_14082025_02_49_49_10339.jpg', '/media/data/images/14082025/02/49/image_14082025_02_49_59_10340.jpg', '/media/data/images/14082025/02/50/image_14082025_02_50_19_10346.jpg', '/media/data/images/14082025/02/50/image_14082025_02_50_29_10344.jpg', '/media/data/images/14082025/02/50/image_14082025_02_50_38_9105.jpg', '/media/data/images/14082025/02/50/image_14082025_02_50_48_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/49/image_14082025_02_49_49_10339.jpg /media/data/images/14082025/02/49/image_14082025_02_49_59_10340.jpg /media/data/images/14082025/02/50/image_14082025_02_50_19_10346.jpg /media/data/images/14082025/02/50/image_14082025_02_50_29_10344.jpg /media/data/images/14082025/02/50/image_14082025_02_50_38_9105.jpg /media/data/images/14082025/02/50/image_14082025_02_50_48_10346.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376991526","1376991561","1376991596","1376991635","1376991512","1376991509"],"photo_ids_order":["1376991509","1376991512","1376991526","1376991561","1376991596","1376991635"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/143c120df976d080d21daff397d8b3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2083992500274137152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167104632,"filename":"image_14082025_02_50_19_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17a396c1f38c5e0f6967d66e0699e1c5.jpg","text":"TemporaryFile(/tmp/multipartBody5419882920709167197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167104632,"filename":"image_14082025_02_50_29_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d03ac7756a92c51497735ef01208cd2a.jpg","text":"TemporaryFile(/tmp/multipartBody8494345818423100195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167104632,"filename":"image_14082025_02_50_38_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b43342d53492e28d03d62f8b5766a161.jpg","text":"TemporaryFile(/tmp/multipartBody7223236785855682089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167104632,"filename":"image_14082025_02_50_48_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a72069c9f1dc66d6105966c1567ba696.jpg","text":"TemporaryFile(/tmp/multipartBody4121812009272140854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167104632,"filename":"image_14082025_02_49_59_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a7c5e5a41e90cb2ce4851c864ecd592.jpg","text":"TemporaryFile(/tmp/multipartBody7893338933094599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167104632,"filename":"image_14082025_02_49_49_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376991526","file1":"1376991512","file0":"1376991509","file4":"1376991596","file5":"1376991635","file3":"1376991561"},"map_files_photo_id_array":[{"photo_id":"1376991635","filename":"file5"},{"photo_id":"1376991526","filename":"file2"},{"photo_id":"1376991596","filename":"file4"},{"photo_id":"1376991512","filename":"file1"},{"photo_id":"1376991509","filename":"file0"},{"photo_id":"1376991561","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376991526":["hashtag1","hashtag2"]},{"1376991561":["hashtag1","hashtag2"]},{"1376991596":["hashtag1","hashtag2"]},{"1376991635":["hashtag1","hashtag2"]},{"1376991512":["hashtag1","hashtag2"]},{"1376991509":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376991526, 1376991561, 1376991596, 1376991635, 1376991512, 1376991509)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.57807421684265 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:25:02.819557 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/50/image_14082025_02_50_59_10435.jpg', '/media/data/images/14082025/02/51/image_14082025_02_51_09_10221.jpg', '/media/data/images/14082025/02/51/image_14082025_02_51_39_10354.jpg', '/media/data/images/14082025/02/51/image_14082025_02_51_48_9110.jpg', '/media/data/images/14082025/02/51/image_14082025_02_51_58_10340.jpg', '/media/data/images/14082025/02/52/image_14082025_02_52_09_10313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/50/image_14082025_02_50_59_10435.jpg /media/data/images/14082025/02/51/image_14082025_02_51_09_10221.jpg /media/data/images/14082025/02/51/image_14082025_02_51_39_10354.jpg /media/data/images/14082025/02/51/image_14082025_02_51_48_9110.jpg /media/data/images/14082025/02/51/image_14082025_02_51_58_10340.jpg /media/data/images/14082025/02/52/image_14082025_02_52_09_10313.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376991922","1376991865","1376991850","1376991840","1376991889","1376991856"],"photo_ids_order":["1376991840","1376991850","1376991856","1376991865","1376991889","1376991922"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38deb355f649dd1c75f9ac0bfe9d37cf.jpg","text":"TemporaryFile(/tmp/multipartBody4613362192564623195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167163789,"filename":"image_14082025_02_52_09_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae2be5b0a34c1b790f6be95b01cb88bd.jpg","text":"TemporaryFile(/tmp/multipartBody5414390690606418174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167163789,"filename":"image_14082025_02_51_48_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/700aaefbb739eed5f09e6b863c94a18d.jpg","text":"TemporaryFile(/tmp/multipartBody4245766826907492582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167163789,"filename":"image_14082025_02_51_09_10221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bbeb1579aea217ad6dc2901a98c05ad8.jpg","text":"TemporaryFile(/tmp/multipartBody419827452925351875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167163789,"filename":"image_14082025_02_50_59_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd716c2d72ba87cca30c631364e23d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5643020954668192461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167163789,"filename":"image_14082025_02_51_58_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/223ed1ab683dfb7160524b90cf7fab10.jpg","text":"TemporaryFile(/tmp/multipartBody128322576656281185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167163789,"filename":"image_14082025_02_51_39_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376991856","file1":"1376991850","file0":"1376991840","file4":"1376991889","file5":"1376991922","file3":"1376991865"},"map_files_photo_id_array":[{"photo_id":"1376991922","filename":"file5"},{"photo_id":"1376991856","filename":"file2"},{"photo_id":"1376991889","filename":"file4"},{"photo_id":"1376991850","filename":"file1"},{"photo_id":"1376991840","filename":"file0"},{"photo_id":"1376991865","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376991922":["hashtag1","hashtag2"]},{"1376991865":["hashtag1","hashtag2"]},{"1376991850":["hashtag1","hashtag2"]},{"1376991840":["hashtag1","hashtag2"]},{"1376991889":["hashtag1","hashtag2"]},{"1376991856":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376991922, 1376991865, 1376991850, 1376991840, 1376991889, 1376991856)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.539488077163696 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:26:02.565698 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/52/image_14082025_02_52_38_10336.jpg', '/media/data/images/14082025/02/52/image_14082025_02_52_49_10385.jpg', '/media/data/images/14082025/02/52/image_14082025_02_52_58_9179.jpg', '/media/data/images/14082025/02/53/image_14082025_02_53_19_10335.jpg', '/media/data/images/14082025/02/53/image_14082025_02_53_28_9095.jpg', '/media/data/images/14082025/02/53/image_14082025_02_53_38_10329.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/52/image_14082025_02_52_38_10336.jpg /media/data/images/14082025/02/52/image_14082025_02_52_49_10385.jpg /media/data/images/14082025/02/52/image_14082025_02_52_58_9179.jpg /media/data/images/14082025/02/53/image_14082025_02_53_19_10335.jpg /media/data/images/14082025/02/53/image_14082025_02_53_28_9095.jpg /media/data/images/14082025/02/53/image_14082025_02_53_38_10329.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992219","1376992242","1376992185","1376992131","1376992153","1376992201"],"photo_ids_order":["1376992131","1376992153","1376992185","1376992201","1376992219","1376992242"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fce25587cf0c28098057174e688d880.jpg","text":"TemporaryFile(/tmp/multipartBody4108952154082440484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167223523,"filename":"image_14082025_02_53_28_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e7a867d68793c324175c566776e2c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8057538610676605280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167223523,"filename":"image_14082025_02_53_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4063b2fea6f3a571a83b1136799fdb35.jpg","text":"TemporaryFile(/tmp/multipartBody8401480940980736618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167223523,"filename":"image_14082025_02_52_58_9179.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abc7c1ed7aa111d8cd289a255c001579.jpg","text":"TemporaryFile(/tmp/multipartBody8402793351864404104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167223523,"filename":"image_14082025_02_52_38_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df532da8514720c6a49c63f583997e38.jpg","text":"TemporaryFile(/tmp/multipartBody9003178514958176662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167223523,"filename":"image_14082025_02_52_49_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c38e3936e3e51a43b299d5699996ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody2948058725900263082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167223523,"filename":"image_14082025_02_53_19_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992185","file1":"1376992153","file0":"1376992131","file4":"1376992219","file5":"1376992242","file3":"1376992201"},"map_files_photo_id_array":[{"photo_id":"1376992242","filename":"file5"},{"photo_id":"1376992185","filename":"file2"},{"photo_id":"1376992219","filename":"file4"},{"photo_id":"1376992153","filename":"file1"},{"photo_id":"1376992131","filename":"file0"},{"photo_id":"1376992201","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992219":["hashtag1","hashtag2"]},{"1376992242":["hashtag1","hashtag2"]},{"1376992185":["hashtag1","hashtag2"]},{"1376992131":["hashtag1","hashtag2"]},{"1376992153":["hashtag1","hashtag2"]},{"1376992201":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992219, 1376992242, 1376992185, 1376992131, 1376992153, 1376992201)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.44994497299194 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:27:02.909257 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/54/image_14082025_02_54_08_9401.jpg', '/media/data/images/14082025/02/54/image_14082025_02_54_28_9177.jpg', '/media/data/images/14082025/02/55/image_14082025_02_55_08_9004.jpg', '/media/data/images/14082025/02/55/image_14082025_02_55_18_10338.jpg', '/media/data/images/14082025/02/55/image_14082025_02_55_59_10335.jpg', '/media/data/images/14082025/02/56/image_14082025_02_56_28_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/54/image_14082025_02_54_08_9401.jpg /media/data/images/14082025/02/54/image_14082025_02_54_28_9177.jpg /media/data/images/14082025/02/55/image_14082025_02_55_08_9004.jpg /media/data/images/14082025/02/55/image_14082025_02_55_18_10338.jpg /media/data/images/14082025/02/55/image_14082025_02_55_59_10335.jpg /media/data/images/14082025/02/56/image_14082025_02_56_28_10336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992353","1376992311","1376992320","1376992314","1376992304","1376992309"],"photo_ids_order":["1376992304","1376992309","1376992311","1376992314","1376992320","1376992353"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31114e343e0dc3e839bab73746492271.jpg","text":"TemporaryFile(/tmp/multipartBody5502865878893469766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167283888,"filename":"image_14082025_02_56_28_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/895ad825f92d06388d4cb2390066c4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7683045528631754504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167283888,"filename":"image_14082025_02_55_08_9004.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6477061f2574b23d997e2d8a799c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody3416510276215147814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167283888,"filename":"image_14082025_02_55_59_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d0d0f5c478c4ca13e984fb924882324.jpg","text":"TemporaryFile(/tmp/multipartBody7677697319740585330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167283888,"filename":"image_14082025_02_55_18_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f1ba2927128a0399ac7c34f117466f9.jpg","text":"TemporaryFile(/tmp/multipartBody8391045578006878064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167283888,"filename":"image_14082025_02_54_08_9401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf8724455d910ee3a65d4c9b567e193f.jpg","text":"TemporaryFile(/tmp/multipartBody8218309906445140763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167283888,"filename":"image_14082025_02_54_28_9177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992311","file1":"1376992309","file0":"1376992304","file4":"1376992320","file5":"1376992353","file3":"1376992314"},"map_files_photo_id_array":[{"photo_id":"1376992353","filename":"file5"},{"photo_id":"1376992311","filename":"file2"},{"photo_id":"1376992320","filename":"file4"},{"photo_id":"1376992309","filename":"file1"},{"photo_id":"1376992304","filename":"file0"},{"photo_id":"1376992314","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992353":["hashtag1","hashtag2"]},{"1376992311":["hashtag1","hashtag2"]},{"1376992320":["hashtag1","hashtag2"]},{"1376992314":["hashtag1","hashtag2"]},{"1376992304":["hashtag1","hashtag2"]},{"1376992309":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992353, 1376992311, 1376992320, 1376992314, 1376992304, 1376992309)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.509087562561035 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:28:02.810842 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/56/image_14082025_02_56_39_10324.jpg', '/media/data/images/14082025/02/56/image_14082025_02_56_49_10328.jpg', '/media/data/images/14082025/02/57/image_14082025_02_57_08_10162.jpg', '/media/data/images/14082025/02/57/image_14082025_02_57_19_10344.jpg', '/media/data/images/14082025/02/57/image_14082025_02_57_29_10359.jpg', '/media/data/images/14082025/02/57/image_14082025_02_57_38_9113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/56/image_14082025_02_56_39_10324.jpg /media/data/images/14082025/02/56/image_14082025_02_56_49_10328.jpg /media/data/images/14082025/02/57/image_14082025_02_57_08_10162.jpg /media/data/images/14082025/02/57/image_14082025_02_57_19_10344.jpg /media/data/images/14082025/02/57/image_14082025_02_57_29_10359.jpg /media/data/images/14082025/02/57/image_14082025_02_57_38_9113.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992464","1376992460","1376992462","1376992456","1376992450","1376992453"],"photo_ids_order":["1376992450","1376992453","1376992456","1376992460","1376992462","1376992464"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1917823fdb3ba54c0f12deaddf4e10d.jpg","text":"TemporaryFile(/tmp/multipartBody6665446780926224645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167345337,"filename":"image_14082025_02_57_38_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd0a2e07eeb5313fbe78df9f6e97f15a.jpg","text":"TemporaryFile(/tmp/multipartBody5688271824376106429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167345337,"filename":"image_14082025_02_57_19_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5585058e721df6066a869f5c2ad6b02f.jpg","text":"TemporaryFile(/tmp/multipartBody4061767024051789187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167345337,"filename":"image_14082025_02_57_29_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97c1e0774645acd6aaf304514138ab02.jpg","text":"TemporaryFile(/tmp/multipartBody6201451847675947184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167345337,"filename":"image_14082025_02_57_08_10162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/130ef0555b2a1eb57ca0eadaa4eeb173.jpg","text":"TemporaryFile(/tmp/multipartBody5770140883870302046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167345337,"filename":"image_14082025_02_56_39_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a71d62eacc55dd4665f5e33393eb654.jpg","text":"TemporaryFile(/tmp/multipartBody417787344717761045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167345337,"filename":"image_14082025_02_56_49_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992456","file1":"1376992453","file0":"1376992450","file4":"1376992462","file5":"1376992464","file3":"1376992460"},"map_files_photo_id_array":[{"photo_id":"1376992464","filename":"file5"},{"photo_id":"1376992456","filename":"file2"},{"photo_id":"1376992462","filename":"file4"},{"photo_id":"1376992453","filename":"file1"},{"photo_id":"1376992450","filename":"file0"},{"photo_id":"1376992460","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992464":["hashtag1","hashtag2"]},{"1376992460":["hashtag1","hashtag2"]},{"1376992462":["hashtag1","hashtag2"]},{"1376992456":["hashtag1","hashtag2"]},{"1376992450":["hashtag1","hashtag2"]},{"1376992453":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992464, 1376992460, 1376992462, 1376992456, 1376992450, 1376992453)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.38576316833496 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:29:03.420995 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/57/image_14082025_02_57_59_10404.jpg', '/media/data/images/14082025/02/58/image_14082025_02_58_19_10360.jpg', '/media/data/images/14082025/02/58/image_14082025_02_58_29_10343.jpg', '/media/data/images/14082025/02/58/image_14082025_02_58_48_10334.jpg', '/media/data/images/14082025/02/58/image_14082025_02_58_59_10438.jpg', '/media/data/images/14082025/02/59/image_14082025_02_59_08_9179.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/57/image_14082025_02_57_59_10404.jpg /media/data/images/14082025/02/58/image_14082025_02_58_19_10360.jpg /media/data/images/14082025/02/58/image_14082025_02_58_29_10343.jpg /media/data/images/14082025/02/58/image_14082025_02_58_48_10334.jpg /media/data/images/14082025/02/58/image_14082025_02_58_59_10438.jpg /media/data/images/14082025/02/59/image_14082025_02_59_08_9179.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992485","1376992488","1376992476","1376992492","1376992480","1376992497"],"photo_ids_order":["1376992476","1376992480","1376992485","1376992488","1376992492","1376992497"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/350e873ef1a31351c9140a476d19d9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6189542512354363597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167404429,"filename":"image_14082025_02_58_29_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78d8d6e3d878ce09a6f52be6508b0bb2.jpg","text":"TemporaryFile(/tmp/multipartBody381957713954351754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167404429,"filename":"image_14082025_02_58_48_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/562290b86a89e85bf135519636819206.jpg","text":"TemporaryFile(/tmp/multipartBody5438737499240394514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167404429,"filename":"image_14082025_02_57_59_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3038284392e7801f48e5bddce815e840.jpg","text":"TemporaryFile(/tmp/multipartBody6639278042354025562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167404429,"filename":"image_14082025_02_58_59_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff99da663bfa8436f2f5cb89fc611399.jpg","text":"TemporaryFile(/tmp/multipartBody8679004190025979078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167404429,"filename":"image_14082025_02_58_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89849709bf89717f17306c92d2f516b5.jpg","text":"TemporaryFile(/tmp/multipartBody2689086829196582984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167404429,"filename":"image_14082025_02_59_08_9179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992485","file1":"1376992480","file0":"1376992476","file4":"1376992492","file5":"1376992497","file3":"1376992488"},"map_files_photo_id_array":[{"photo_id":"1376992497","filename":"file5"},{"photo_id":"1376992485","filename":"file2"},{"photo_id":"1376992492","filename":"file4"},{"photo_id":"1376992480","filename":"file1"},{"photo_id":"1376992476","filename":"file0"},{"photo_id":"1376992488","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992485":["hashtag1","hashtag2"]},{"1376992488":["hashtag1","hashtag2"]},{"1376992476":["hashtag1","hashtag2"]},{"1376992492":["hashtag1","hashtag2"]},{"1376992480":["hashtag1","hashtag2"]},{"1376992497":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992485, 1376992488, 1376992476, 1376992492, 1376992480, 1376992497)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.478790283203125 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:30:03.224128 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/02/59/image_14082025_02_59_29_10429.jpg', '/media/data/images/14082025/02/59/image_14082025_02_59_38_9186.jpg', '/media/data/images/14082025/02/59/image_14082025_02_59_59_10332.jpg', '/media/data/images/14082025/03/00/image_14082025_03_00_09_10232.jpg', '/media/data/images/14082025/03/00/image_14082025_03_00_28_10351.jpg', '/media/data/images/14082025/03/00/image_14082025_03_00_58_9115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/02/59/image_14082025_02_59_29_10429.jpg /media/data/images/14082025/02/59/image_14082025_02_59_38_9186.jpg /media/data/images/14082025/02/59/image_14082025_02_59_59_10332.jpg /media/data/images/14082025/03/00/image_14082025_03_00_09_10232.jpg /media/data/images/14082025/03/00/image_14082025_03_00_28_10351.jpg /media/data/images/14082025/03/00/image_14082025_03_00_58_9115.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992532","1376992526","1376992529","1376992520","1376992523","1376992534"],"photo_ids_order":["1376992520","1376992523","1376992526","1376992529","1376992532","1376992534"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78d21af308af8291b729673fc8a84ab3.jpg","text":"TemporaryFile(/tmp/multipartBody923625225831957596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167464192,"filename":"image_14082025_03_00_28_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1dc899a58126d084285958b4c2763f50.jpg","text":"TemporaryFile(/tmp/multipartBody3012336459243441822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167464192,"filename":"image_14082025_02_59_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f59ac43919fdc5d4c6cc6b9ac862c956.jpg","text":"TemporaryFile(/tmp/multipartBody3966634981611603941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167464192,"filename":"image_14082025_03_00_09_10232.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67064e44913d52c972533e5fb4b93537.jpg","text":"TemporaryFile(/tmp/multipartBody7815591136483778019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167464192,"filename":"image_14082025_02_59_29_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/357ba7e82bbeb2031c96a9b8281c2b59.jpg","text":"TemporaryFile(/tmp/multipartBody8628006744860025996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167464192,"filename":"image_14082025_02_59_38_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f26d3d6d8621c1982876d70fbc77725.jpg","text":"TemporaryFile(/tmp/multipartBody1534277231207431769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167464192,"filename":"image_14082025_03_00_58_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992526","file1":"1376992523","file0":"1376992520","file4":"1376992532","file5":"1376992534","file3":"1376992529"},"map_files_photo_id_array":[{"photo_id":"1376992534","filename":"file5"},{"photo_id":"1376992526","filename":"file2"},{"photo_id":"1376992532","filename":"file4"},{"photo_id":"1376992523","filename":"file1"},{"photo_id":"1376992520","filename":"file0"},{"photo_id":"1376992529","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992532":["hashtag1","hashtag2"]},{"1376992526":["hashtag1","hashtag2"]},{"1376992529":["hashtag1","hashtag2"]},{"1376992520":["hashtag1","hashtag2"]},{"1376992523":["hashtag1","hashtag2"]},{"1376992534":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992532, 1376992526, 1376992529, 1376992520, 1376992523, 1376992534)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.52191114425659 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:31:03.562861 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/01/image_14082025_03_01_09_10417.jpg', '/media/data/images/14082025/03/01/image_14082025_03_01_29_10011.jpg', '/media/data/images/14082025/03/01/image_14082025_03_01_38_9093.jpg', '/media/data/images/14082025/03/01/image_14082025_03_01_48_10377.jpg', '/media/data/images/14082025/03/01/image_14082025_03_01_59_10444.jpg', '/media/data/images/14082025/03/02/image_14082025_03_02_08_9147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/01/image_14082025_03_01_09_10417.jpg /media/data/images/14082025/03/01/image_14082025_03_01_29_10011.jpg /media/data/images/14082025/03/01/image_14082025_03_01_38_9093.jpg /media/data/images/14082025/03/01/image_14082025_03_01_48_10377.jpg /media/data/images/14082025/03/01/image_14082025_03_01_59_10444.jpg /media/data/images/14082025/03/02/image_14082025_03_02_08_9147.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992554","1376992548","1376992559","1376992550","1376992588","1376992543"],"photo_ids_order":["1376992543","1376992548","1376992550","1376992554","1376992559","1376992588"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a50ed26698efd9f4a027bbf194e1b663.jpg","text":"TemporaryFile(/tmp/multipartBody3245352934549901100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167524568,"filename":"image_14082025_03_01_48_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fbb0f63011b0003f303a800d00a945a.jpg","text":"TemporaryFile(/tmp/multipartBody7261478979776548143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167524568,"filename":"image_14082025_03_01_29_10011.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d40aed62d2cc2c9a11fb25810084812.jpg","text":"TemporaryFile(/tmp/multipartBody8237465630355226826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167524568,"filename":"image_14082025_03_01_59_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe74cc5a1ad4d9fe660629c2f3e549ea.jpg","text":"TemporaryFile(/tmp/multipartBody7366549914031200519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167524568,"filename":"image_14082025_03_01_38_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4867c787a6f49f4f4d2023d7f6ebe7d2.jpg","text":"TemporaryFile(/tmp/multipartBody3756188295551835859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167524568,"filename":"image_14082025_03_02_08_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c13873200ad1b287df1171a274f78533.jpg","text":"TemporaryFile(/tmp/multipartBody5207293958933673308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167524568,"filename":"image_14082025_03_01_09_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992550","file1":"1376992548","file0":"1376992543","file4":"1376992559","file5":"1376992588","file3":"1376992554"},"map_files_photo_id_array":[{"photo_id":"1376992588","filename":"file5"},{"photo_id":"1376992550","filename":"file2"},{"photo_id":"1376992559","filename":"file4"},{"photo_id":"1376992548","filename":"file1"},{"photo_id":"1376992543","filename":"file0"},{"photo_id":"1376992554","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992554":["hashtag1","hashtag2"]},{"1376992548":["hashtag1","hashtag2"]},{"1376992559":["hashtag1","hashtag2"]},{"1376992550":["hashtag1","hashtag2"]},{"1376992588":["hashtag1","hashtag2"]},{"1376992543":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992554, 1376992548, 1376992559, 1376992550, 1376992588, 1376992543)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.6836473941803 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:32:03.311044 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/02/image_14082025_03_02_18_10356.jpg', '/media/data/images/14082025/03/02/image_14082025_03_02_29_10441.jpg', '/media/data/images/14082025/03/02/image_14082025_03_02_59_10332.jpg', '/media/data/images/14082025/03/03/image_14082025_03_03_48_9158.jpg', '/media/data/images/14082025/03/03/image_14082025_03_03_58_10330.jpg', '/media/data/images/14082025/03/04/image_14082025_03_04_19_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/02/image_14082025_03_02_18_10356.jpg /media/data/images/14082025/03/02/image_14082025_03_02_29_10441.jpg /media/data/images/14082025/03/02/image_14082025_03_02_59_10332.jpg /media/data/images/14082025/03/03/image_14082025_03_03_48_9158.jpg /media/data/images/14082025/03/03/image_14082025_03_03_58_10330.jpg /media/data/images/14082025/03/04/image_14082025_03_04_19_10356.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376992773","1376992871","1376992994","1376992958","1376992910","1376992828"],"photo_ids_order":["1376992773","1376992828","1376992871","1376992910","1376992958","1376992994"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/590dc15a0f425fe069bc5b2c943178bc.jpg","text":"TemporaryFile(/tmp/multipartBody2489646544659960095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167584282,"filename":"image_14082025_03_02_18_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66e16ac239dbe43e6dce33ae39829c33.jpg","text":"TemporaryFile(/tmp/multipartBody2438577511717194505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167584282,"filename":"image_14082025_03_02_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81c14b2c8f13cfbcea9a015d8547ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody6518080858157309796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167584282,"filename":"image_14082025_03_04_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ecded9e90a259f26185a25c80f3a88f.jpg","text":"TemporaryFile(/tmp/multipartBody1362599349297798679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167584282,"filename":"image_14082025_03_03_58_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b288a6f73bc023b80b34f8f2253dfa67.jpg","text":"TemporaryFile(/tmp/multipartBody7600355527578774543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167584282,"filename":"image_14082025_03_03_48_9158.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c220749762a4e44741e22be435c546e6.jpg","text":"TemporaryFile(/tmp/multipartBody7929017464078165504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167584282,"filename":"image_14082025_03_02_29_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376992871","file1":"1376992828","file0":"1376992773","file4":"1376992958","file5":"1376992994","file3":"1376992910"},"map_files_photo_id_array":[{"photo_id":"1376992994","filename":"file5"},{"photo_id":"1376992871","filename":"file2"},{"photo_id":"1376992958","filename":"file4"},{"photo_id":"1376992828","filename":"file1"},{"photo_id":"1376992773","filename":"file0"},{"photo_id":"1376992910","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376992773":["hashtag1","hashtag2"]},{"1376992871":["hashtag1","hashtag2"]},{"1376992994":["hashtag1","hashtag2"]},{"1376992958":["hashtag1","hashtag2"]},{"1376992910":["hashtag1","hashtag2"]},{"1376992828":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376992773, 1376992871, 1376992994, 1376992958, 1376992910, 1376992828)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.866206407547 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:33:02.612505 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/04/image_14082025_03_04_28_9110.jpg', '/media/data/images/14082025/03/04/image_14082025_03_04_49_10381.jpg', '/media/data/images/14082025/03/04/image_14082025_03_04_58_9102.jpg', '/media/data/images/14082025/03/04/image_14082025_03_05_08_10409.jpg', '/media/data/images/14082025/03/05/image_14082025_03_05_19_10402.jpg', '/media/data/images/14082025/03/05/image_14082025_03_05_28_9147.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/04/image_14082025_03_04_28_9110.jpg /media/data/images/14082025/03/04/image_14082025_03_04_49_10381.jpg /media/data/images/14082025/03/04/image_14082025_03_04_58_9102.jpg /media/data/images/14082025/03/04/image_14082025_03_05_08_10409.jpg /media/data/images/14082025/03/05/image_14082025_03_05_19_10402.jpg /media/data/images/14082025/03/05/image_14082025_03_05_28_9147.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376993745","1376993613","1376993421","1376993548","1376993484","1376993679"],"photo_ids_order":["1376993421","1376993484","1376993548","1376993613","1376993679","1376993745"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf633a1afe2c63de851752ed88b23f09.jpg","text":"TemporaryFile(/tmp/multipartBody5065121389398835715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167643607,"filename":"image_14082025_03_05_28_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/306d68c4c0c3b05676fdb93dd28c067e.jpg","text":"TemporaryFile(/tmp/multipartBody7706978965642533921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167643607,"filename":"image_14082025_03_05_08_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba8b7413a203f8e1b15b7fd292c7fa64.jpg","text":"TemporaryFile(/tmp/multipartBody883989923029998265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167643607,"filename":"image_14082025_03_04_28_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/019e2b1f2e53e1a7e1ecd02e55156dee.jpg","text":"TemporaryFile(/tmp/multipartBody5289058804368192641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167643607,"filename":"image_14082025_03_04_58_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a0be8cad0e02f2f5344d8a10a1ab933.jpg","text":"TemporaryFile(/tmp/multipartBody8807406827066948636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167643607,"filename":"image_14082025_03_04_49_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb64295b559cc475e93777f063c411df.jpg","text":"TemporaryFile(/tmp/multipartBody2825044468494621809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167643607,"filename":"image_14082025_03_05_19_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376993548","file1":"1376993484","file0":"1376993421","file4":"1376993679","file5":"1376993745","file3":"1376993613"},"map_files_photo_id_array":[{"photo_id":"1376993745","filename":"file5"},{"photo_id":"1376993548","filename":"file2"},{"photo_id":"1376993679","filename":"file4"},{"photo_id":"1376993484","filename":"file1"},{"photo_id":"1376993421","filename":"file0"},{"photo_id":"1376993613","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376993745":["hashtag1","hashtag2"]},{"1376993613":["hashtag1","hashtag2"]},{"1376993421":["hashtag1","hashtag2"]},{"1376993548":["hashtag1","hashtag2"]},{"1376993484":["hashtag1","hashtag2"]},{"1376993679":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376993745, 1376993613, 1376993421, 1376993548, 1376993484, 1376993679)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.72980260848999 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:34:02.769622 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/05/image_14082025_03_05_49_10392.jpg', '/media/data/images/14082025/03/05/image_14082025_03_05_58_9103.jpg', '/media/data/images/14082025/03/06/image_14082025_03_06_29_10340.jpg', '/media/data/images/14082025/03/06/image_14082025_03_06_38_9096.jpg', '/media/data/images/14082025/03/06/image_14082025_03_06_49_10463.jpg', '/media/data/images/14082025/03/06/image_14082025_03_06_59_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/05/image_14082025_03_05_49_10392.jpg /media/data/images/14082025/03/05/image_14082025_03_05_58_9103.jpg /media/data/images/14082025/03/06/image_14082025_03_06_29_10340.jpg /media/data/images/14082025/03/06/image_14082025_03_06_38_9096.jpg /media/data/images/14082025/03/06/image_14082025_03_06_49_10463.jpg /media/data/images/14082025/03/06/image_14082025_03_06_59_10336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376994257","1376994431","1376994097","1376994342","1376994191","1376994030"],"photo_ids_order":["1376994030","1376994097","1376994191","1376994257","1376994342","1376994431"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe27461d9ce83f9f09c55ab9a01ea51a.jpg","text":"TemporaryFile(/tmp/multipartBody5773903065738731040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167703750,"filename":"image_14082025_03_06_38_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1043005c0ba67cc5109c05f8f412022.jpg","text":"TemporaryFile(/tmp/multipartBody9190351225158868119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167703750,"filename":"image_14082025_03_06_59_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c51cd8266cf9cf063b135406f788c7b.jpg","text":"TemporaryFile(/tmp/multipartBody1086837886830347025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167703750,"filename":"image_14082025_03_05_58_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5a99f4d3cd1c10f8d29b08c3e648265.jpg","text":"TemporaryFile(/tmp/multipartBody7616775596247318783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167703750,"filename":"image_14082025_03_06_49_10463.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/457d86fdb17216aef564609848a205bd.jpg","text":"TemporaryFile(/tmp/multipartBody4834524626140259810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167703750,"filename":"image_14082025_03_06_29_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/266f9ef91dcc75193d31428b16f97e1c.jpg","text":"TemporaryFile(/tmp/multipartBody596389340865074681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167703750,"filename":"image_14082025_03_05_49_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376994191","file1":"1376994097","file0":"1376994030","file4":"1376994342","file5":"1376994431","file3":"1376994257"},"map_files_photo_id_array":[{"photo_id":"1376994431","filename":"file5"},{"photo_id":"1376994191","filename":"file2"},{"photo_id":"1376994342","filename":"file4"},{"photo_id":"1376994097","filename":"file1"},{"photo_id":"1376994030","filename":"file0"},{"photo_id":"1376994257","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376994257":["hashtag1","hashtag2"]},{"1376994431":["hashtag1","hashtag2"]},{"1376994097":["hashtag1","hashtag2"]},{"1376994342":["hashtag1","hashtag2"]},{"1376994191":["hashtag1","hashtag2"]},{"1376994030":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376994257, 1376994431, 1376994097, 1376994342, 1376994191, 1376994030)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.876242876052856 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:35:02.987490 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/07/image_14082025_03_07_19_10386.jpg', '/media/data/images/14082025/03/07/image_14082025_03_07_38_10327.jpg', '/media/data/images/14082025/03/07/image_14082025_03_07_49_10355.jpg', '/media/data/images/14082025/03/07/image_14082025_03_07_59_10393.jpg', '/media/data/images/14082025/03/08/image_14082025_03_08_08_9164.jpg', '/media/data/images/14082025/03/08/image_14082025_03_08_18_10347.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/07/image_14082025_03_07_19_10386.jpg /media/data/images/14082025/03/07/image_14082025_03_07_38_10327.jpg /media/data/images/14082025/03/07/image_14082025_03_07_49_10355.jpg /media/data/images/14082025/03/07/image_14082025_03_07_59_10393.jpg /media/data/images/14082025/03/08/image_14082025_03_08_08_9164.jpg /media/data/images/14082025/03/08/image_14082025_03_08_18_10347.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376994761","1376994821","1376994952","1376994727","1376995014","1376994888"],"photo_ids_order":["1376994727","1376994761","1376994821","1376994888","1376994952","1376995014"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b65f27ab4ef857b12128e199f4e06245.jpg","text":"TemporaryFile(/tmp/multipartBody857725266577311990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167763983,"filename":"image_14082025_03_07_38_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61bee9d14c02bb40a612dc2a88414add.jpg","text":"TemporaryFile(/tmp/multipartBody5516838061588402741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167763983,"filename":"image_14082025_03_07_49_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09b7656392f6a9de462b97c122c6116c.jpg","text":"TemporaryFile(/tmp/multipartBody1957228197976059594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167763983,"filename":"image_14082025_03_08_08_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bae03138b6e00c228fa2e7f12f6edd4.jpg","text":"TemporaryFile(/tmp/multipartBody1286025373028048678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167763983,"filename":"image_14082025_03_07_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7900c0bb02d6895aa20ea1584284dd4.jpg","text":"TemporaryFile(/tmp/multipartBody5846707958820811854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167763983,"filename":"image_14082025_03_08_18_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/758094e60e73bdb05401dae9157ccdd6.jpg","text":"TemporaryFile(/tmp/multipartBody6508233719596553144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167763983,"filename":"image_14082025_03_07_59_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376994821","file1":"1376994761","file0":"1376994727","file4":"1376994952","file5":"1376995014","file3":"1376994888"},"map_files_photo_id_array":[{"photo_id":"1376995014","filename":"file5"},{"photo_id":"1376994821","filename":"file2"},{"photo_id":"1376994952","filename":"file4"},{"photo_id":"1376994761","filename":"file1"},{"photo_id":"1376994727","filename":"file0"},{"photo_id":"1376994888","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376994761":["hashtag1","hashtag2"]},{"1376994821":["hashtag1","hashtag2"]},{"1376994952":["hashtag1","hashtag2"]},{"1376994727":["hashtag1","hashtag2"]},{"1376995014":["hashtag1","hashtag2"]},{"1376994888":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376994761, 1376994821, 1376994952, 1376994727, 1376995014, 1376994888)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.21620202064514 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:36:02.852451 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/08/image_14082025_03_08_38_9099.jpg', '/media/data/images/14082025/03/08/image_14082025_03_08_48_10340.jpg', '/media/data/images/14082025/03/08/image_14082025_03_08_59_10340.jpg', '/media/data/images/14082025/03/09/image_14082025_03_09_09_10167.jpg', '/media/data/images/14082025/03/09/image_14082025_03_09_28_10330.jpg', '/media/data/images/14082025/03/09/image_14082025_03_09_48_9293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/08/image_14082025_03_08_38_9099.jpg /media/data/images/14082025/03/08/image_14082025_03_08_48_10340.jpg /media/data/images/14082025/03/08/image_14082025_03_08_59_10340.jpg /media/data/images/14082025/03/09/image_14082025_03_09_09_10167.jpg /media/data/images/14082025/03/09/image_14082025_03_09_28_10330.jpg /media/data/images/14082025/03/09/image_14082025_03_09_48_9293.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376995568","1376995468","1376995375","1376995522","1376995602","1376995410"],"photo_ids_order":["1376995375","1376995410","1376995468","1376995522","1376995568","1376995602"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22af8ee8642901f72bf8b0cd9582c4cc.jpg","text":"TemporaryFile(/tmp/multipartBody2943993416373422103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167823817,"filename":"image_14082025_03_09_28_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2031e08758dc7663ebc20857b0f8c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody325772595637056362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167823817,"filename":"image_14082025_03_08_59_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed9249e5329d03239f3221d76e6b2050.jpg","text":"TemporaryFile(/tmp/multipartBody3912164100363790700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167823817,"filename":"image_14082025_03_08_38_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ccda590a407bf5448c217f26940244ee.jpg","text":"TemporaryFile(/tmp/multipartBody1720726291410928761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167823817,"filename":"image_14082025_03_09_09_10167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5878b0fb56d323ecd0d0f785db0d055.jpg","text":"TemporaryFile(/tmp/multipartBody8239489114725074033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167823817,"filename":"image_14082025_03_09_48_9293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93d5dce197359090f9545cd333afde29.jpg","text":"TemporaryFile(/tmp/multipartBody7854760004521768332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167823817,"filename":"image_14082025_03_08_48_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376995468","file1":"1376995410","file0":"1376995375","file4":"1376995568","file5":"1376995602","file3":"1376995522"},"map_files_photo_id_array":[{"photo_id":"1376995602","filename":"file5"},{"photo_id":"1376995468","filename":"file2"},{"photo_id":"1376995568","filename":"file4"},{"photo_id":"1376995410","filename":"file1"},{"photo_id":"1376995375","filename":"file0"},{"photo_id":"1376995522","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376995568":["hashtag1","hashtag2"]},{"1376995468":["hashtag1","hashtag2"]},{"1376995375":["hashtag1","hashtag2"]},{"1376995522":["hashtag1","hashtag2"]},{"1376995602":["hashtag1","hashtag2"]},{"1376995410":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376995568, 1376995468, 1376995375, 1376995522, 1376995602, 1376995410)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.92735171318054 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:37:03.022684 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/10/image_14082025_03_10_09_10548.jpg', '/media/data/images/14082025/03/10/image_14082025_03_10_18_9110.jpg', '/media/data/images/14082025/03/10/image_14082025_03_10_28_10326.jpg', '/media/data/images/14082025/03/10/image_14082025_03_10_39_10371.jpg', '/media/data/images/14082025/03/11/image_14082025_03_11_19_10436.jpg', '/media/data/images/14082025/03/11/image_14082025_03_11_38_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/10/image_14082025_03_10_09_10548.jpg /media/data/images/14082025/03/10/image_14082025_03_10_18_9110.jpg /media/data/images/14082025/03/10/image_14082025_03_10_28_10326.jpg /media/data/images/14082025/03/10/image_14082025_03_10_39_10371.jpg /media/data/images/14082025/03/11/image_14082025_03_11_19_10436.jpg /media/data/images/14082025/03/11/image_14082025_03_11_38_10333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376995811","1376995666","1376995701","1376995748","1376995676","1376995661"],"photo_ids_order":["1376995661","1376995666","1376995676","1376995701","1376995748","1376995811"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/389f6b0fa881294161d7a8434ff01944.jpg","text":"TemporaryFile(/tmp/multipartBody3007873215180620222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167884090,"filename":"image_14082025_03_11_38_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d20cc8fc9554d13cb24bb82c493a0350.jpg","text":"TemporaryFile(/tmp/multipartBody8660896752522342984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167884090,"filename":"image_14082025_03_10_18_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f63d5f2dc1f37e9d09919c49c01a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody6023186954856190708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167884090,"filename":"image_14082025_03_10_39_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a860bdc6c6c0390b100008d68c3582d.jpg","text":"TemporaryFile(/tmp/multipartBody1623240611308145662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167884090,"filename":"image_14082025_03_11_19_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae6f3f0a729ccadfc25c2dad2c47f5d2.jpg","text":"TemporaryFile(/tmp/multipartBody4718198912746814639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167884090,"filename":"image_14082025_03_10_28_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/754f6f02df00c96a292a576f41752136.jpg","text":"TemporaryFile(/tmp/multipartBody6886359469332707579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167884090,"filename":"image_14082025_03_10_09_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376995676","file1":"1376995666","file0":"1376995661","file4":"1376995748","file5":"1376995811","file3":"1376995701"},"map_files_photo_id_array":[{"photo_id":"1376995811","filename":"file5"},{"photo_id":"1376995676","filename":"file2"},{"photo_id":"1376995748","filename":"file4"},{"photo_id":"1376995666","filename":"file1"},{"photo_id":"1376995661","filename":"file0"},{"photo_id":"1376995701","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376995811":["hashtag1","hashtag2"]},{"1376995666":["hashtag1","hashtag2"]},{"1376995701":["hashtag1","hashtag2"]},{"1376995748":["hashtag1","hashtag2"]},{"1376995676":["hashtag1","hashtag2"]},{"1376995661":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376995811, 1376995666, 1376995701, 1376995748, 1376995676, 1376995661)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.01965951919556 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:38:03.209177 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/11/image_14082025_03_11_49_10370.jpg', '/media/data/images/14082025/03/11/image_14082025_03_11_58_9100.jpg', '/media/data/images/14082025/03/11/image_14082025_03_12_08_10455.jpg', '/media/data/images/14082025/03/12/image_14082025_03_12_19_10359.jpg', '/media/data/images/14082025/03/12/image_14082025_03_12_49_10332.jpg', '/media/data/images/14082025/03/12/image_14082025_03_12_59_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/11/image_14082025_03_11_49_10370.jpg /media/data/images/14082025/03/11/image_14082025_03_11_58_9100.jpg /media/data/images/14082025/03/11/image_14082025_03_12_08_10455.jpg /media/data/images/14082025/03/12/image_14082025_03_12_19_10359.jpg /media/data/images/14082025/03/12/image_14082025_03_12_49_10332.jpg /media/data/images/14082025/03/12/image_14082025_03_12_59_10332.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376996362","1376996134","1376996169","1376996223","1376996294","1376996099"],"photo_ids_order":["1376996099","1376996134","1376996169","1376996223","1376996294","1376996362"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27bbe306b29d8acc0ac838d8a53e7877.jpg","text":"TemporaryFile(/tmp/multipartBody2070718351872436352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167944148,"filename":"image_14082025_03_12_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fe08870f024b7866a8524793794650f.jpg","text":"TemporaryFile(/tmp/multipartBody1265228783827947005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167944148,"filename":"image_14082025_03_11_58_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80ac1f78fba97901ac26234369558736.jpg","text":"TemporaryFile(/tmp/multipartBody8256805023658508915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167944148,"filename":"image_14082025_03_12_08_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f33e1daafca12ca2959502171d61fa02.jpg","text":"TemporaryFile(/tmp/multipartBody70224958498523220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167944148,"filename":"image_14082025_03_12_19_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7d935bb68b14590d214920d8f27fd47.jpg","text":"TemporaryFile(/tmp/multipartBody6710531270368813637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167944148,"filename":"image_14082025_03_12_49_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d62f94202e5031ad22755ced48934a28.jpg","text":"TemporaryFile(/tmp/multipartBody527010551432946950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755167944148,"filename":"image_14082025_03_11_49_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376996169","file1":"1376996134","file0":"1376996099","file4":"1376996294","file5":"1376996362","file3":"1376996223"},"map_files_photo_id_array":[{"photo_id":"1376996362","filename":"file5"},{"photo_id":"1376996169","filename":"file2"},{"photo_id":"1376996294","filename":"file4"},{"photo_id":"1376996134","filename":"file1"},{"photo_id":"1376996099","filename":"file0"},{"photo_id":"1376996223","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376996362":["hashtag1","hashtag2"]},{"1376996134":["hashtag1","hashtag2"]},{"1376996169":["hashtag1","hashtag2"]},{"1376996223":["hashtag1","hashtag2"]},{"1376996294":["hashtag1","hashtag2"]},{"1376996099":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376996362, 1376996134, 1376996169, 1376996223, 1376996294, 1376996099)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.0517954826355 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:39:03.447993 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/13/image_14082025_03_13_09_10160.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_18_9097.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_28_10357.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_48_9117.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_58_10334.jpg', '/media/data/images/14082025/03/14/image_14082025_03_14_18_9124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/13/image_14082025_03_13_09_10160.jpg /media/data/images/14082025/03/13/image_14082025_03_13_18_9097.jpg /media/data/images/14082025/03/13/image_14082025_03_13_28_10357.jpg /media/data/images/14082025/03/13/image_14082025_03_13_48_9117.jpg /media/data/images/14082025/03/13/image_14082025_03_13_58_10334.jpg /media/data/images/14082025/03/14/image_14082025_03_14_18_9124.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5361020565032959 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:39:22.737219 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/13/image_14082025_03_13_09_10160.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_18_9097.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_28_10357.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_48_9117.jpg', '/media/data/images/14082025/03/13/image_14082025_03_13_58_10334.jpg', '/media/data/images/14082025/03/14/image_14082025_03_14_18_9124.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/13/image_14082025_03_13_09_10160.jpg /media/data/images/14082025/03/13/image_14082025_03_13_18_9097.jpg /media/data/images/14082025/03/13/image_14082025_03_13_28_10357.jpg /media/data/images/14082025/03/13/image_14082025_03_13_48_9117.jpg /media/data/images/14082025/03/13/image_14082025_03_13_58_10334.jpg /media/data/images/14082025/03/14/image_14082025_03_14_18_9124.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376996743","1376996731","1376996734","1376996736","1376996739","1376996783"],"photo_ids_order":["1376996731","1376996734","1376996736","1376996739","1376996743","1376996783"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64420d0812bea680e07ead4521e234e6.jpg","text":"TemporaryFile(/tmp/multipartBody8637749757156031833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168023659,"filename":"image_14082025_03_13_58_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8116de4806f283a9995eaebd8dd40f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7792121470034032507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168023659,"filename":"image_14082025_03_13_09_10160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9aa887c753b14fe3b29f134d3b4bfefd.jpg","text":"TemporaryFile(/tmp/multipartBody7611579916959825032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168023659,"filename":"image_14082025_03_13_18_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76eb73ff3713c45a8b2ddc35dadfa810.jpg","text":"TemporaryFile(/tmp/multipartBody8621245716705374480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168023659,"filename":"image_14082025_03_13_28_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5d57c50934d1d05428b9ba3e4616048.jpg","text":"TemporaryFile(/tmp/multipartBody7045766404503462232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168023659,"filename":"image_14082025_03_13_48_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4740600fe9b44ed2d999e8ef538fe034.jpg","text":"TemporaryFile(/tmp/multipartBody7178767517107514854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168023659,"filename":"image_14082025_03_14_18_9124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376996736","file1":"1376996734","file0":"1376996731","file4":"1376996743","file5":"1376996783","file3":"1376996739"},"map_files_photo_id_array":[{"photo_id":"1376996783","filename":"file5"},{"photo_id":"1376996736","filename":"file2"},{"photo_id":"1376996743","filename":"file4"},{"photo_id":"1376996734","filename":"file1"},{"photo_id":"1376996731","filename":"file0"},{"photo_id":"1376996739","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376996743":["hashtag1","hashtag2"]},{"1376996731":["hashtag1","hashtag2"]},{"1376996734":["hashtag1","hashtag2"]},{"1376996736":["hashtag1","hashtag2"]},{"1376996739":["hashtag1","hashtag2"]},{"1376996783":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376996743, 1376996731, 1376996734, 1376996736, 1376996739, 1376996783)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.142553091049194 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:40:22.642192 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/14/image_14082025_03_14_39_10382.jpg', '/media/data/images/14082025/03/15/image_14082025_03_15_09_10371.jpg', '/media/data/images/14082025/03/15/image_14082025_03_15_29_10358.jpg', '/media/data/images/14082025/03/15/image_14082025_03_15_39_10339.jpg', '/media/data/images/14082025/03/15/image_14082025_03_15_59_10399.jpg', '/media/data/images/14082025/03/16/image_14082025_03_16_08_9334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/14/image_14082025_03_14_39_10382.jpg /media/data/images/14082025/03/15/image_14082025_03_15_09_10371.jpg /media/data/images/14082025/03/15/image_14082025_03_15_29_10358.jpg /media/data/images/14082025/03/15/image_14082025_03_15_39_10339.jpg /media/data/images/14082025/03/15/image_14082025_03_15_59_10399.jpg /media/data/images/14082025/03/16/image_14082025_03_16_08_9334.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376997010","1376996944","1376997129","1376997068","1376996922","1376996978"],"photo_ids_order":["1376996922","1376996944","1376996978","1376997010","1376997068","1376997129"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86da0295ba976eaff8ad533208a4573a.jpg","text":"TemporaryFile(/tmp/multipartBody6404663440742800276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168083591,"filename":"image_14082025_03_15_39_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1548c4f7ef93dd2c26a1b7f5cebbe608.jpg","text":"TemporaryFile(/tmp/multipartBody6468212099968635492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168083591,"filename":"image_14082025_03_15_09_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2345f4368c1158b56daaadde51b0f5c.jpg","text":"TemporaryFile(/tmp/multipartBody2351694129979994172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168083591,"filename":"image_14082025_03_16_08_9334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dbc8c908879411509749866d5b92b38f.jpg","text":"TemporaryFile(/tmp/multipartBody9172599925652121688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168083591,"filename":"image_14082025_03_15_59_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7747c36cc80931a0231fb0cee70dbff5.jpg","text":"TemporaryFile(/tmp/multipartBody8367431897743309389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168083591,"filename":"image_14082025_03_14_39_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/26a099a5d1fb9310c17d2b7d984eaeaf.jpg","text":"TemporaryFile(/tmp/multipartBody8627581840624289882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168083591,"filename":"image_14082025_03_15_29_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376996978","file1":"1376996944","file0":"1376996922","file4":"1376997068","file5":"1376997129","file3":"1376997010"},"map_files_photo_id_array":[{"photo_id":"1376997129","filename":"file5"},{"photo_id":"1376996978","filename":"file2"},{"photo_id":"1376997068","filename":"file4"},{"photo_id":"1376996944","filename":"file1"},{"photo_id":"1376996922","filename":"file0"},{"photo_id":"1376997010","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376997010":["hashtag1","hashtag2"]},{"1376996944":["hashtag1","hashtag2"]},{"1376997129":["hashtag1","hashtag2"]},{"1376997068":["hashtag1","hashtag2"]},{"1376996922":["hashtag1","hashtag2"]},{"1376996978":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376997010, 1376996944, 1376997129, 1376997068, 1376996922, 1376996978)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.625174045562744 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:41:22.804683 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/16/image_14082025_03_16_18_10362.jpg', '/media/data/images/14082025/03/16/image_14082025_03_16_29_10329.jpg', '/media/data/images/14082025/03/16/image_14082025_03_16_39_10399.jpg', '/media/data/images/14082025/03/16/image_14082025_03_16_48_9132.jpg', '/media/data/images/14082025/03/16/image_14082025_03_16_58_10384.jpg', '/media/data/images/14082025/03/17/image_14082025_03_17_18_9174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/16/image_14082025_03_16_18_10362.jpg /media/data/images/14082025/03/16/image_14082025_03_16_29_10329.jpg /media/data/images/14082025/03/16/image_14082025_03_16_39_10399.jpg /media/data/images/14082025/03/16/image_14082025_03_16_48_9132.jpg /media/data/images/14082025/03/16/image_14082025_03_16_58_10384.jpg /media/data/images/14082025/03/17/image_14082025_03_17_18_9174.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376997485","1376997467","1376997461","1376997524","1376997577","1376997559"],"photo_ids_order":["1376997461","1376997467","1376997485","1376997524","1376997559","1376997577"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a54979a9935a45cbc374120db7078ac.jpg","text":"TemporaryFile(/tmp/multipartBody8067941294066533364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168143780,"filename":"image_14082025_03_16_39_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8d54ccae687a51e0b0e558f788a7e2b.jpg","text":"TemporaryFile(/tmp/multipartBody896435644849738809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168143780,"filename":"image_14082025_03_16_29_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1062a0a60ae2d05e28af9dbc125a4fef.jpg","text":"TemporaryFile(/tmp/multipartBody181783916094032033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168143780,"filename":"image_14082025_03_16_18_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2aff0ec275cf74b5480e8e0575a5f190.jpg","text":"TemporaryFile(/tmp/multipartBody7655082926987747379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168143780,"filename":"image_14082025_03_16_48_9132.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e312f8aa93b33c8d09508151b7c81b50.jpg","text":"TemporaryFile(/tmp/multipartBody3195012418655968872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168143780,"filename":"image_14082025_03_17_18_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62031d17175edaa4ba90d79a7ffeefcc.jpg","text":"TemporaryFile(/tmp/multipartBody6639552033850262659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168143780,"filename":"image_14082025_03_16_58_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376997485","file1":"1376997467","file0":"1376997461","file4":"1376997559","file5":"1376997577","file3":"1376997524"},"map_files_photo_id_array":[{"photo_id":"1376997577","filename":"file5"},{"photo_id":"1376997485","filename":"file2"},{"photo_id":"1376997559","filename":"file4"},{"photo_id":"1376997467","filename":"file1"},{"photo_id":"1376997461","filename":"file0"},{"photo_id":"1376997524","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376997485":["hashtag1","hashtag2"]},{"1376997467":["hashtag1","hashtag2"]},{"1376997461":["hashtag1","hashtag2"]},{"1376997524":["hashtag1","hashtag2"]},{"1376997577":["hashtag1","hashtag2"]},{"1376997559":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376997485, 1376997467, 1376997461, 1376997524, 1376997577, 1376997559)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.08312010765076 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:42:21.843446 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/17/image_14082025_03_17_28_10378.jpg', '/media/data/images/14082025/03/17/image_14082025_03_17_39_10344.jpg', '/media/data/images/14082025/03/17/image_14082025_03_17_49_10386.jpg', '/media/data/images/14082025/03/17/image_14082025_03_17_58_9104.jpg', '/media/data/images/14082025/03/18/image_14082025_03_18_08_10336.jpg', '/media/data/images/14082025/03/18/image_14082025_03_18_28_9140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/17/image_14082025_03_17_28_10378.jpg /media/data/images/14082025/03/17/image_14082025_03_17_39_10344.jpg /media/data/images/14082025/03/17/image_14082025_03_17_49_10386.jpg /media/data/images/14082025/03/17/image_14082025_03_17_58_9104.jpg /media/data/images/14082025/03/18/image_14082025_03_18_08_10336.jpg /media/data/images/14082025/03/18/image_14082025_03_18_28_9140.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376997811","1376997849","1376997764","1376997824","1376997725","1376997667"],"photo_ids_order":["1376997667","1376997725","1376997764","1376997811","1376997824","1376997849"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/548f600b15d29cf2d622ffc97e87cdc2.jpg","text":"TemporaryFile(/tmp/multipartBody740457736291403513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168202812,"filename":"image_14082025_03_17_58_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed3b73721f25674056541ec7c8141bb7.jpg","text":"TemporaryFile(/tmp/multipartBody5694140390627326159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168202812,"filename":"image_14082025_03_18_28_9140.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b024970428794589f5de714a2c7ba13.jpg","text":"TemporaryFile(/tmp/multipartBody2932059422814309444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168202812,"filename":"image_14082025_03_17_49_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a42243c5b2069be1c601d177dde2b678.jpg","text":"TemporaryFile(/tmp/multipartBody5096490699503657011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168202812,"filename":"image_14082025_03_18_08_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7792b80724fa0b109deb9eef29ef8efe.jpg","text":"TemporaryFile(/tmp/multipartBody1637281094681639907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168202812,"filename":"image_14082025_03_17_39_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ac03a80c6c40727b76cce3898d2d0d7.jpg","text":"TemporaryFile(/tmp/multipartBody995758455282059527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168202812,"filename":"image_14082025_03_17_28_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376997764","file1":"1376997725","file0":"1376997667","file4":"1376997824","file5":"1376997849","file3":"1376997811"},"map_files_photo_id_array":[{"photo_id":"1376997849","filename":"file5"},{"photo_id":"1376997764","filename":"file2"},{"photo_id":"1376997824","filename":"file4"},{"photo_id":"1376997725","filename":"file1"},{"photo_id":"1376997667","filename":"file0"},{"photo_id":"1376997811","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376997811":["hashtag1","hashtag2"]},{"1376997849":["hashtag1","hashtag2"]},{"1376997764":["hashtag1","hashtag2"]},{"1376997824":["hashtag1","hashtag2"]},{"1376997725":["hashtag1","hashtag2"]},{"1376997667":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376997811, 1376997849, 1376997764, 1376997824, 1376997725, 1376997667)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.05028748512268 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:43:21.934900 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/18/image_14082025_03_18_38_10343.jpg', '/media/data/images/14082025/03/18/image_14082025_03_18_49_10385.jpg', '/media/data/images/14082025/03/18/image_14082025_03_18_58_9094.jpg', '/media/data/images/14082025/03/18/image_14082025_03_19_08_10456.jpg', '/media/data/images/14082025/03/19/image_14082025_03_19_19_10329.jpg', '/media/data/images/14082025/03/19/image_14082025_03_19_29_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/18/image_14082025_03_18_38_10343.jpg /media/data/images/14082025/03/18/image_14082025_03_18_49_10385.jpg /media/data/images/14082025/03/18/image_14082025_03_18_58_9094.jpg /media/data/images/14082025/03/18/image_14082025_03_19_08_10456.jpg /media/data/images/14082025/03/19/image_14082025_03_19_19_10329.jpg /media/data/images/14082025/03/19/image_14082025_03_19_29_10332.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376998077","1376998065","1376998101","1376998046","1376998106","1376998072"],"photo_ids_order":["1376998046","1376998065","1376998072","1376998077","1376998101","1376998106"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29144ddc18b453ccca95467d3af5ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody785298654488441166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168262904,"filename":"image_14082025_03_19_08_10456.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1357777492e66066aa206765df6bf8c1.jpg","text":"TemporaryFile(/tmp/multipartBody3555614296654697501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168262904,"filename":"image_14082025_03_18_49_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bfce3672092fc2a270996d25fac065c5.jpg","text":"TemporaryFile(/tmp/multipartBody3683928522823791979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168262904,"filename":"image_14082025_03_19_19_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2e4e164e9b4f4118f240b3ed0ac1c11.jpg","text":"TemporaryFile(/tmp/multipartBody4405586886318725945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168262904,"filename":"image_14082025_03_18_38_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe126d607579faac72d0b0bd40357625.jpg","text":"TemporaryFile(/tmp/multipartBody2808789734638962994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168262904,"filename":"image_14082025_03_19_29_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/299d2891f7a7488f958eec37789d4808.jpg","text":"TemporaryFile(/tmp/multipartBody4834220441929651127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168262904,"filename":"image_14082025_03_18_58_9094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376998072","file1":"1376998065","file0":"1376998046","file4":"1376998101","file5":"1376998106","file3":"1376998077"},"map_files_photo_id_array":[{"photo_id":"1376998106","filename":"file5"},{"photo_id":"1376998072","filename":"file2"},{"photo_id":"1376998101","filename":"file4"},{"photo_id":"1376998065","filename":"file1"},{"photo_id":"1376998046","filename":"file0"},{"photo_id":"1376998077","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376998077":["hashtag1","hashtag2"]},{"1376998065":["hashtag1","hashtag2"]},{"1376998101":["hashtag1","hashtag2"]},{"1376998046":["hashtag1","hashtag2"]},{"1376998106":["hashtag1","hashtag2"]},{"1376998072":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376998077, 1376998065, 1376998101, 1376998046, 1376998106, 1376998072)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.058966398239136 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:44:22.096783 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/19/image_14082025_03_19_38_9103.jpg', '/media/data/images/14082025/03/19/image_14082025_03_19_49_10478.jpg', '/media/data/images/14082025/03/20/image_14082025_03_20_08_9203.jpg', '/media/data/images/14082025/03/20/image_14082025_03_20_19_10339.jpg', '/media/data/images/14082025/03/20/image_14082025_03_20_29_10378.jpg', '/media/data/images/14082025/03/20/image_14082025_03_20_38_9096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/19/image_14082025_03_19_38_9103.jpg /media/data/images/14082025/03/19/image_14082025_03_19_49_10478.jpg /media/data/images/14082025/03/20/image_14082025_03_20_08_9203.jpg /media/data/images/14082025/03/20/image_14082025_03_20_19_10339.jpg /media/data/images/14082025/03/20/image_14082025_03_20_29_10378.jpg /media/data/images/14082025/03/20/image_14082025_03_20_38_9096.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376998254","1376998257","1376998196","1376998220","1376998225","1376998228"],"photo_ids_order":["1376998196","1376998220","1376998225","1376998228","1376998254","1376998257"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/01c062258e4631fbc10b1fbddd8d4b9c.jpg","text":"TemporaryFile(/tmp/multipartBody259481161076717880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168323073,"filename":"image_14082025_03_20_29_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a122edb2dd82c91e6831b53ef364c9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6880061397142903360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168323073,"filename":"image_14082025_03_20_38_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f5c8feafb967f35cf97262a51959a54.jpg","text":"TemporaryFile(/tmp/multipartBody619443066504948681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168323073,"filename":"image_14082025_03_19_38_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b913eaa14183429aab30c504743b85c.jpg","text":"TemporaryFile(/tmp/multipartBody6277626902510180515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168323073,"filename":"image_14082025_03_19_49_10478.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c158e562a28817b28d34806834447e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4785474811799119533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168323073,"filename":"image_14082025_03_20_08_9203.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c7be90b3cc58b10c2e49c2eae0f6092.jpg","text":"TemporaryFile(/tmp/multipartBody8507137071828060196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168323073,"filename":"image_14082025_03_20_19_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376998225","file1":"1376998220","file0":"1376998196","file4":"1376998254","file5":"1376998257","file3":"1376998228"},"map_files_photo_id_array":[{"photo_id":"1376998257","filename":"file5"},{"photo_id":"1376998225","filename":"file2"},{"photo_id":"1376998254","filename":"file4"},{"photo_id":"1376998220","filename":"file1"},{"photo_id":"1376998196","filename":"file0"},{"photo_id":"1376998228","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376998254":["hashtag1","hashtag2"]},{"1376998257":["hashtag1","hashtag2"]},{"1376998196":["hashtag1","hashtag2"]},{"1376998220":["hashtag1","hashtag2"]},{"1376998225":["hashtag1","hashtag2"]},{"1376998228":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376998254, 1376998257, 1376998196, 1376998220, 1376998225, 1376998228)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.90479779243469 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:45:22.227853 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/20/image_14082025_03_20_48_10383.jpg', '/media/data/images/14082025/03/20/image_14082025_03_20_59_10386.jpg', '/media/data/images/14082025/03/21/image_14082025_03_21_18_9233.jpg', '/media/data/images/14082025/03/21/image_14082025_03_21_48_10330.jpg', '/media/data/images/14082025/03/22/image_14082025_03_22_18_10548.jpg', '/media/data/images/14082025/03/22/image_14082025_03_22_29_10474.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/20/image_14082025_03_20_48_10383.jpg /media/data/images/14082025/03/20/image_14082025_03_20_59_10386.jpg /media/data/images/14082025/03/21/image_14082025_03_21_18_9233.jpg /media/data/images/14082025/03/21/image_14082025_03_21_48_10330.jpg /media/data/images/14082025/03/22/image_14082025_03_22_18_10548.jpg /media/data/images/14082025/03/22/image_14082025_03_22_29_10474.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376998287","1376998289","1376998277","1376998291","1376998294","1376998285"],"photo_ids_order":["1376998277","1376998285","1376998287","1376998289","1376998291","1376998294"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd1328671cbfa1ecd9f6c3913620a021.jpg","text":"TemporaryFile(/tmp/multipartBody2722180865205213946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168383182,"filename":"image_14082025_03_21_18_9233.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/278ec4264a1027d15feff10ff0c578c1.jpg","text":"TemporaryFile(/tmp/multipartBody4945690506401825192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168383182,"filename":"image_14082025_03_21_48_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6940eb91665405162d25d5ebdde2c9b5.jpg","text":"TemporaryFile(/tmp/multipartBody8055499263745812501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168383182,"filename":"image_14082025_03_20_48_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/814d4f63fe0f0e588246c85d02643c8d.jpg","text":"TemporaryFile(/tmp/multipartBody364622305962939319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168383182,"filename":"image_14082025_03_22_18_10548.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8800e33f113ad75e3ad2757db36e13b3.jpg","text":"TemporaryFile(/tmp/multipartBody7834876571014850583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168383182,"filename":"image_14082025_03_22_29_10474.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b08e4c375878217f5fc85a5e589075cf.jpg","text":"TemporaryFile(/tmp/multipartBody8849089128108558851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168383182,"filename":"image_14082025_03_20_59_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376998287","file1":"1376998285","file0":"1376998277","file4":"1376998291","file5":"1376998294","file3":"1376998289"},"map_files_photo_id_array":[{"photo_id":"1376998294","filename":"file5"},{"photo_id":"1376998287","filename":"file2"},{"photo_id":"1376998291","filename":"file4"},{"photo_id":"1376998285","filename":"file1"},{"photo_id":"1376998277","filename":"file0"},{"photo_id":"1376998289","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376998287":["hashtag1","hashtag2"]},{"1376998289":["hashtag1","hashtag2"]},{"1376998277":["hashtag1","hashtag2"]},{"1376998291":["hashtag1","hashtag2"]},{"1376998294":["hashtag1","hashtag2"]},{"1376998285":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376998287, 1376998289, 1376998277, 1376998291, 1376998294, 1376998285)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.26177954673767 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:46:22.305409 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/22/image_14082025_03_22_48_10337.jpg', '/media/data/images/14082025/03/22/image_14082025_03_22_59_10328.jpg', '/media/data/images/14082025/03/23/image_14082025_03_23_18_10332.jpg', '/media/data/images/14082025/03/23/image_14082025_03_23_58_10329.jpg', '/media/data/images/14082025/03/24/image_14082025_03_24_28_10327.jpg', '/media/data/images/14082025/03/24/image_14082025_03_24_48_9238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/22/image_14082025_03_22_48_10337.jpg /media/data/images/14082025/03/22/image_14082025_03_22_59_10328.jpg /media/data/images/14082025/03/23/image_14082025_03_23_18_10332.jpg /media/data/images/14082025/03/23/image_14082025_03_23_58_10329.jpg /media/data/images/14082025/03/24/image_14082025_03_24_28_10327.jpg /media/data/images/14082025/03/24/image_14082025_03_24_48_9238.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376998493","1376998577","1376998457","1376998637","1376998700","1376998534"],"photo_ids_order":["1376998457","1376998493","1376998534","1376998577","1376998637","1376998700"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f83f81b4f59fe97fb5677225231c167.jpg","text":"TemporaryFile(/tmp/multipartBody5034199128586813550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168443287,"filename":"image_14082025_03_22_59_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2874ec503a1fec2d72a0dcf15ca89853.jpg","text":"TemporaryFile(/tmp/multipartBody4053067081340656789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168443287,"filename":"image_14082025_03_23_58_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5bc1df0aa95358f0460f30db0b8903aa.jpg","text":"TemporaryFile(/tmp/multipartBody6747354433662397372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168443287,"filename":"image_14082025_03_22_48_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80ea458ed5ced639909382b595f35715.jpg","text":"TemporaryFile(/tmp/multipartBody1991616945381233734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168443287,"filename":"image_14082025_03_24_28_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bb632f0178969bd781e99507a50c991.jpg","text":"TemporaryFile(/tmp/multipartBody2380595164589173245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168443287,"filename":"image_14082025_03_24_48_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8254513a591e30dde8057cd7051a3df5.jpg","text":"TemporaryFile(/tmp/multipartBody148136213908548427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168443287,"filename":"image_14082025_03_23_18_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376998534","file1":"1376998493","file0":"1376998457","file4":"1376998637","file5":"1376998700","file3":"1376998577"},"map_files_photo_id_array":[{"photo_id":"1376998700","filename":"file5"},{"photo_id":"1376998534","filename":"file2"},{"photo_id":"1376998637","filename":"file4"},{"photo_id":"1376998493","filename":"file1"},{"photo_id":"1376998457","filename":"file0"},{"photo_id":"1376998577","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376998493":["hashtag1","hashtag2"]},{"1376998577":["hashtag1","hashtag2"]},{"1376998457":["hashtag1","hashtag2"]},{"1376998637":["hashtag1","hashtag2"]},{"1376998700":["hashtag1","hashtag2"]},{"1376998534":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376998493, 1376998577, 1376998457, 1376998637, 1376998700, 1376998534)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.20037269592285 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:47:22.387132 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/24/image_14082025_03_24_58_10339.jpg', '/media/data/images/14082025/03/25/image_14082025_03_25_09_10228.jpg', '/media/data/images/14082025/03/25/image_14082025_03_25_19_10330.jpg', '/media/data/images/14082025/03/25/image_14082025_03_25_28_9184.jpg', '/media/data/images/14082025/03/25/image_14082025_03_25_58_9099.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_19_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/24/image_14082025_03_24_58_10339.jpg /media/data/images/14082025/03/25/image_14082025_03_25_09_10228.jpg /media/data/images/14082025/03/25/image_14082025_03_25_19_10330.jpg /media/data/images/14082025/03/25/image_14082025_03_25_28_9184.jpg /media/data/images/14082025/03/25/image_14082025_03_25_58_9099.jpg /media/data/images/14082025/03/26/image_14082025_03_26_19_10360.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376999013","1376998981","1376998907","1376998954","1376999052","1376998971"],"photo_ids_order":["1376998907","1376998954","1376998971","1376998981","1376999013","1376999052"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31fe28ddafe0b93f46c4a35018270de2.jpg","text":"TemporaryFile(/tmp/multipartBody7905730822034237091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168503369,"filename":"image_14082025_03_25_58_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f70a1377b3757aa8e82385af01ad0ee.jpg","text":"TemporaryFile(/tmp/multipartBody8092169637256276161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168503369,"filename":"image_14082025_03_25_28_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e74cbfdf59630378ec9fd1aa2e280554.jpg","text":"TemporaryFile(/tmp/multipartBody7484645676767588762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168503369,"filename":"image_14082025_03_24_58_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/076b92bac8d690a1227115a14fac8df0.jpg","text":"TemporaryFile(/tmp/multipartBody7851034206322384549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168503369,"filename":"image_14082025_03_25_09_10228.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa8d8b3658cba5f1d4cd05bfbdcb6ed5.jpg","text":"TemporaryFile(/tmp/multipartBody3645032862196184485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168503369,"filename":"image_14082025_03_26_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac7443761c190f9efa671a5e70ba5419.jpg","text":"TemporaryFile(/tmp/multipartBody4254131394264694890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168503369,"filename":"image_14082025_03_25_19_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376998971","file1":"1376998954","file0":"1376998907","file4":"1376999013","file5":"1376999052","file3":"1376998981"},"map_files_photo_id_array":[{"photo_id":"1376999052","filename":"file5"},{"photo_id":"1376998971","filename":"file2"},{"photo_id":"1376999013","filename":"file4"},{"photo_id":"1376998954","filename":"file1"},{"photo_id":"1376998907","filename":"file0"},{"photo_id":"1376998981","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376999013":["hashtag1","hashtag2"]},{"1376998981":["hashtag1","hashtag2"]},{"1376998907":["hashtag1","hashtag2"]},{"1376998954":["hashtag1","hashtag2"]},{"1376999052":["hashtag1","hashtag2"]},{"1376998971":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376999013, 1376998981, 1376998907, 1376998954, 1376999052, 1376998971)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 46.608863830566406 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:48:22.512571 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/26/image_14082025_03_26_28_9095.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_38_10331.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_49_10327.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_59_10333.jpg', '/media/data/images/14082025/03/27/image_14082025_03_27_08_9335.jpg', '/media/data/images/14082025/03/27/image_14082025_03_27_19_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/26/image_14082025_03_26_28_9095.jpg /media/data/images/14082025/03/26/image_14082025_03_26_38_10331.jpg /media/data/images/14082025/03/26/image_14082025_03_26_49_10327.jpg /media/data/images/14082025/03/26/image_14082025_03_26_59_10333.jpg /media/data/images/14082025/03/27/image_14082025_03_27_08_9335.jpg /media/data/images/14082025/03/27/image_14082025_03_27_19_10348.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5306167602539062 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:48:42.463400 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/26/image_14082025_03_26_28_9095.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_38_10331.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_49_10327.jpg', '/media/data/images/14082025/03/26/image_14082025_03_26_59_10333.jpg', '/media/data/images/14082025/03/27/image_14082025_03_27_08_9335.jpg', '/media/data/images/14082025/03/27/image_14082025_03_27_19_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/26/image_14082025_03_26_28_9095.jpg /media/data/images/14082025/03/26/image_14082025_03_26_38_10331.jpg /media/data/images/14082025/03/26/image_14082025_03_26_49_10327.jpg /media/data/images/14082025/03/26/image_14082025_03_26_59_10333.jpg /media/data/images/14082025/03/27/image_14082025_03_27_08_9335.jpg /media/data/images/14082025/03/27/image_14082025_03_27_19_10348.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376999130","1376999195","1376999089","1376999260","1376999077","1376999071"],"photo_ids_order":["1376999071","1376999077","1376999089","1376999130","1376999195","1376999260"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d3469e0fbd7a50d88df991cecbb0db1.jpg","text":"TemporaryFile(/tmp/multipartBody1057451825821226802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168583367,"filename":"image_14082025_03_26_59_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/137757fed1338e3152f4dcd2fd5f74af.jpg","text":"TemporaryFile(/tmp/multipartBody3307119079369233498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168583367,"filename":"image_14082025_03_27_08_9335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c7674f0f8b0c6082b4f31eeb71820be.jpg","text":"TemporaryFile(/tmp/multipartBody5915988077684690040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168583367,"filename":"image_14082025_03_26_49_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43100461760319268fdfa662d76ce7a6.jpg","text":"TemporaryFile(/tmp/multipartBody132548951216451972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168583367,"filename":"image_14082025_03_27_19_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3832e4324971d39652ad7be5333a40fb.jpg","text":"TemporaryFile(/tmp/multipartBody8053117982752726363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168583367,"filename":"image_14082025_03_26_38_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae665c03b9fa374cbecdce0598177611.jpg","text":"TemporaryFile(/tmp/multipartBody5552427341000280771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168583367,"filename":"image_14082025_03_26_28_9095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376999089","file1":"1376999077","file0":"1376999071","file4":"1376999195","file5":"1376999260","file3":"1376999130"},"map_files_photo_id_array":[{"photo_id":"1376999260","filename":"file5"},{"photo_id":"1376999089","filename":"file2"},{"photo_id":"1376999195","filename":"file4"},{"photo_id":"1376999077","filename":"file1"},{"photo_id":"1376999071","filename":"file0"},{"photo_id":"1376999130","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376999130":["hashtag1","hashtag2"]},{"1376999195":["hashtag1","hashtag2"]},{"1376999089":["hashtag1","hashtag2"]},{"1376999260":["hashtag1","hashtag2"]},{"1376999077":["hashtag1","hashtag2"]},{"1376999071":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376999130, 1376999195, 1376999089, 1376999260, 1376999077, 1376999071)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.207717418670654 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:49:42.589944 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/27/image_14082025_03_27_38_9096.jpg', '/media/data/images/14082025/03/27/image_14082025_03_27_48_10347.jpg', '/media/data/images/14082025/03/27/image_14082025_03_27_59_10374.jpg', '/media/data/images/14082025/03/28/image_14082025_03_28_08_8956.jpg', '/media/data/images/14082025/03/28/image_14082025_03_28_29_10351.jpg', '/media/data/images/14082025/03/28/image_14082025_03_28_39_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/27/image_14082025_03_27_38_9096.jpg /media/data/images/14082025/03/27/image_14082025_03_27_48_10347.jpg /media/data/images/14082025/03/27/image_14082025_03_27_59_10374.jpg /media/data/images/14082025/03/28/image_14082025_03_28_08_8956.jpg /media/data/images/14082025/03/28/image_14082025_03_28_29_10351.jpg /media/data/images/14082025/03/28/image_14082025_03_28_39_10383.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1376999693","1376999552","1376999546","1376999767","1376999611","1376999847"],"photo_ids_order":["1376999546","1376999552","1376999611","1376999693","1376999767","1376999847"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa43c680bc17638e9d7c73c1d3cf279b.jpg","text":"TemporaryFile(/tmp/multipartBody43092650445686943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168643559,"filename":"image_14082025_03_28_08_8956.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a07e330d0155be20c87febe7a8b0061b.jpg","text":"TemporaryFile(/tmp/multipartBody5297458392136508929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168643559,"filename":"image_14082025_03_27_48_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e333f4097a768f55fa2caf866bf411a1.jpg","text":"TemporaryFile(/tmp/multipartBody5783402518669083335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168643559,"filename":"image_14082025_03_27_38_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c4994d9acce7cffb4173d9343bd2f28.jpg","text":"TemporaryFile(/tmp/multipartBody8876782376108442431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168643559,"filename":"image_14082025_03_28_29_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/372223f884d1498fdf6d976bdf1e8a0f.jpg","text":"TemporaryFile(/tmp/multipartBody3987884806674124047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168643559,"filename":"image_14082025_03_27_59_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/119ee9680360759cfd98d1a7de63341c.jpg","text":"TemporaryFile(/tmp/multipartBody811896666077801239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168643559,"filename":"image_14082025_03_28_39_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1376999611","file1":"1376999552","file0":"1376999546","file4":"1376999767","file5":"1376999847","file3":"1376999693"},"map_files_photo_id_array":[{"photo_id":"1376999847","filename":"file5"},{"photo_id":"1376999611","filename":"file2"},{"photo_id":"1376999767","filename":"file4"},{"photo_id":"1376999552","filename":"file1"},{"photo_id":"1376999546","filename":"file0"},{"photo_id":"1376999693","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1376999693":["hashtag1","hashtag2"]},{"1376999552":["hashtag1","hashtag2"]},{"1376999546":["hashtag1","hashtag2"]},{"1376999767":["hashtag1","hashtag2"]},{"1376999611":["hashtag1","hashtag2"]},{"1376999847":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1376999693, 1376999552, 1376999546, 1376999767, 1376999611, 1376999847)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.393959522247314 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:50:42.721870 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/28/image_14082025_03_28_58_10334.jpg', '/media/data/images/14082025/03/29/image_14082025_03_29_19_10331.jpg', '/media/data/images/14082025/03/30/image_14082025_03_30_08_10354.jpg', '/media/data/images/14082025/03/30/image_14082025_03_30_19_10337.jpg', '/media/data/images/14082025/03/30/image_14082025_03_30_28_9095.jpg', '/media/data/images/14082025/03/30/image_14082025_03_30_38_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/28/image_14082025_03_28_58_10334.jpg /media/data/images/14082025/03/29/image_14082025_03_29_19_10331.jpg /media/data/images/14082025/03/30/image_14082025_03_30_08_10354.jpg /media/data/images/14082025/03/30/image_14082025_03_30_19_10337.jpg /media/data/images/14082025/03/30/image_14082025_03_30_28_9095.jpg /media/data/images/14082025/03/30/image_14082025_03_30_38_10331.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000286","1377000187","1377000256","1377000282","1377000227","1377000113"],"photo_ids_order":["1377000113","1377000187","1377000227","1377000256","1377000282","1377000286"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0ce54742eeafd44b8965240b4379b86.jpg","text":"TemporaryFile(/tmp/multipartBody1709831936683777054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168703673,"filename":"image_14082025_03_30_38_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd55a62391947fe6deed96ed22fe920e.jpg","text":"TemporaryFile(/tmp/multipartBody3420324513052281694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168703673,"filename":"image_14082025_03_29_19_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64c110d330b130e95006d0a899ce4719.jpg","text":"TemporaryFile(/tmp/multipartBody7562789807990748158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168703673,"filename":"image_14082025_03_30_19_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0bf61f22a8fe480d5387898a07d12d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1766836718076069434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168703673,"filename":"image_14082025_03_30_28_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9513c5d84b71824f5428693a410aced9.jpg","text":"TemporaryFile(/tmp/multipartBody5343094549015453297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168703673,"filename":"image_14082025_03_30_08_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8059a0371492cfd05f4d85280788c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody709320747777644285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168703673,"filename":"image_14082025_03_28_58_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000227","file1":"1377000187","file0":"1377000113","file4":"1377000282","file5":"1377000286","file3":"1377000256"},"map_files_photo_id_array":[{"photo_id":"1377000286","filename":"file5"},{"photo_id":"1377000227","filename":"file2"},{"photo_id":"1377000282","filename":"file4"},{"photo_id":"1377000187","filename":"file1"},{"photo_id":"1377000113","filename":"file0"},{"photo_id":"1377000256","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000286":["hashtag1","hashtag2"]},{"1377000187":["hashtag1","hashtag2"]},{"1377000256":["hashtag1","hashtag2"]},{"1377000282":["hashtag1","hashtag2"]},{"1377000227":["hashtag1","hashtag2"]},{"1377000113":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000286, 1377000187, 1377000256, 1377000282, 1377000227, 1377000113)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.95955848693848 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:51:41.849473 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/30/image_14082025_03_30_49_10426.jpg', '/media/data/images/14082025/03/30/image_14082025_03_30_59_10348.jpg', '/media/data/images/14082025/03/31/image_14082025_03_31_18_10389.jpg', '/media/data/images/14082025/03/31/image_14082025_03_31_29_10334.jpg', '/media/data/images/14082025/03/31/image_14082025_03_31_39_10332.jpg', '/media/data/images/14082025/03/31/image_14082025_03_31_48_9162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/30/image_14082025_03_30_49_10426.jpg /media/data/images/14082025/03/30/image_14082025_03_30_59_10348.jpg /media/data/images/14082025/03/31/image_14082025_03_31_18_10389.jpg /media/data/images/14082025/03/31/image_14082025_03_31_29_10334.jpg /media/data/images/14082025/03/31/image_14082025_03_31_39_10332.jpg /media/data/images/14082025/03/31/image_14082025_03_31_48_9162.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000397","1377000346","1377000310","1377000372","1377000315","1377000374"],"photo_ids_order":["1377000310","1377000315","1377000346","1377000372","1377000374","1377000397"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fb1b0ddec3e575b054dae6c5fb69283.jpg","text":"TemporaryFile(/tmp/multipartBody5035323990965086471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168762815,"filename":"image_14082025_03_31_48_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/712a7890c0c4fa8b0eaa96e991281fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4722539955969649072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168762815,"filename":"image_14082025_03_31_18_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43504f4cc3fccc32cf0959797c7ea12a.jpg","text":"TemporaryFile(/tmp/multipartBody6563300873978651423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168762815,"filename":"image_14082025_03_30_49_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cfab5993500b511202324be4910a7467.jpg","text":"TemporaryFile(/tmp/multipartBody8635031868903444487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168762815,"filename":"image_14082025_03_31_29_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f76526eab2c83890c43f5c0de91ad7be.jpg","text":"TemporaryFile(/tmp/multipartBody1249003987130463466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168762815,"filename":"image_14082025_03_30_59_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b75864ef938c8757fbfa4cd72b0e679b.jpg","text":"TemporaryFile(/tmp/multipartBody2074008129380263971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168762815,"filename":"image_14082025_03_31_39_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000346","file1":"1377000315","file0":"1377000310","file4":"1377000374","file5":"1377000397","file3":"1377000372"},"map_files_photo_id_array":[{"photo_id":"1377000397","filename":"file5"},{"photo_id":"1377000346","filename":"file2"},{"photo_id":"1377000374","filename":"file4"},{"photo_id":"1377000315","filename":"file1"},{"photo_id":"1377000310","filename":"file0"},{"photo_id":"1377000372","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000397":["hashtag1","hashtag2"]},{"1377000346":["hashtag1","hashtag2"]},{"1377000310":["hashtag1","hashtag2"]},{"1377000372":["hashtag1","hashtag2"]},{"1377000315":["hashtag1","hashtag2"]},{"1377000374":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000397, 1377000346, 1377000310, 1377000372, 1377000315, 1377000374)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.735944986343384 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:52:41.964086 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/31/image_14082025_03_31_58_10328.jpg', '/media/data/images/14082025/03/32/image_14082025_03_32_09_10467.jpg', '/media/data/images/14082025/03/32/image_14082025_03_32_18_9127.jpg', '/media/data/images/14082025/03/32/image_14082025_03_32_28_10331.jpg', '/media/data/images/14082025/03/32/image_14082025_03_32_39_10352.jpg', '/media/data/images/14082025/03/32/image_14082025_03_32_48_9163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/31/image_14082025_03_31_58_10328.jpg /media/data/images/14082025/03/32/image_14082025_03_32_09_10467.jpg /media/data/images/14082025/03/32/image_14082025_03_32_18_9127.jpg /media/data/images/14082025/03/32/image_14082025_03_32_28_10331.jpg /media/data/images/14082025/03/32/image_14082025_03_32_39_10352.jpg /media/data/images/14082025/03/32/image_14082025_03_32_48_9163.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000490","1377000478","1377000475","1377000480","1377000485","1377000476"],"photo_ids_order":["1377000475","1377000476","1377000478","1377000480","1377000485","1377000490"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38e8247f12006bfeaf254624c2c2d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody4724077605190674865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168822938,"filename":"image_14082025_03_32_48_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e50091cbb9461b11416bbee2d21f07a.jpg","text":"TemporaryFile(/tmp/multipartBody3561184122056766526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168822938,"filename":"image_14082025_03_32_18_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/582e118fad338751cc572ea6c8081a6c.jpg","text":"TemporaryFile(/tmp/multipartBody973700685470046809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168822938,"filename":"image_14082025_03_31_58_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/213fa6b894723ecafa06a6f91558685a.jpg","text":"TemporaryFile(/tmp/multipartBody4168562390253882473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168822938,"filename":"image_14082025_03_32_28_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/914aeb8a7dc6f5aba9f212efac2894e1.jpg","text":"TemporaryFile(/tmp/multipartBody8921233853824442929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168822938,"filename":"image_14082025_03_32_39_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70e0de060e96cef0834583cbf1f31124.jpg","text":"TemporaryFile(/tmp/multipartBody690030539753013603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168822938,"filename":"image_14082025_03_32_09_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000478","file1":"1377000476","file0":"1377000475","file4":"1377000485","file5":"1377000490","file3":"1377000480"},"map_files_photo_id_array":[{"photo_id":"1377000490","filename":"file5"},{"photo_id":"1377000478","filename":"file2"},{"photo_id":"1377000485","filename":"file4"},{"photo_id":"1377000476","filename":"file1"},{"photo_id":"1377000475","filename":"file0"},{"photo_id":"1377000480","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000490":["hashtag1","hashtag2"]},{"1377000478":["hashtag1","hashtag2"]},{"1377000475":["hashtag1","hashtag2"]},{"1377000480":["hashtag1","hashtag2"]},{"1377000485":["hashtag1","hashtag2"]},{"1377000476":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000490, 1377000478, 1377000475, 1377000480, 1377000485, 1377000476)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.788148641586304 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:53:42.067003 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/32/image_14082025_03_32_58_10455.jpg', '/media/data/images/14082025/03/33/image_14082025_03_33_19_10386.jpg', '/media/data/images/14082025/03/33/image_14082025_03_33_28_9149.jpg', '/media/data/images/14082025/03/33/image_14082025_03_33_38_10363.jpg', '/media/data/images/14082025/03/33/image_14082025_03_33_49_10329.jpg', '/media/data/images/14082025/03/33/image_14082025_03_33_58_9110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/32/image_14082025_03_32_58_10455.jpg /media/data/images/14082025/03/33/image_14082025_03_33_19_10386.jpg /media/data/images/14082025/03/33/image_14082025_03_33_28_9149.jpg /media/data/images/14082025/03/33/image_14082025_03_33_38_10363.jpg /media/data/images/14082025/03/33/image_14082025_03_33_49_10329.jpg /media/data/images/14082025/03/33/image_14082025_03_33_58_9110.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000509","1377000520","1377000507","1377000524","1377000518","1377000503"],"photo_ids_order":["1377000503","1377000507","1377000509","1377000518","1377000520","1377000524"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0266baa19ac86d4dfe714a2803eeb7d.jpg","text":"TemporaryFile(/tmp/multipartBody1199444215227484586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168883019,"filename":"image_14082025_03_33_28_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e219e904562656d33481c349aec901ac.jpg","text":"TemporaryFile(/tmp/multipartBody5156510330333921215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168883019,"filename":"image_14082025_03_33_49_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2197df2fe98dff5cdf27d090a3e76246.jpg","text":"TemporaryFile(/tmp/multipartBody9172203537785937981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168883019,"filename":"image_14082025_03_33_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/407113a8efe8294809a45d2e0846588a.jpg","text":"TemporaryFile(/tmp/multipartBody2277262620302204455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168883019,"filename":"image_14082025_03_33_58_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67f91093e34434c432d482ecf781be18.jpg","text":"TemporaryFile(/tmp/multipartBody3037700926961179187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168883019,"filename":"image_14082025_03_33_38_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dab8753e3ed8a266578a64a140b738a3.jpg","text":"TemporaryFile(/tmp/multipartBody7006585294638973202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168883019,"filename":"image_14082025_03_32_58_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000509","file1":"1377000507","file0":"1377000503","file4":"1377000520","file5":"1377000524","file3":"1377000518"},"map_files_photo_id_array":[{"photo_id":"1377000524","filename":"file5"},{"photo_id":"1377000509","filename":"file2"},{"photo_id":"1377000520","filename":"file4"},{"photo_id":"1377000507","filename":"file1"},{"photo_id":"1377000503","filename":"file0"},{"photo_id":"1377000518","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000509":["hashtag1","hashtag2"]},{"1377000520":["hashtag1","hashtag2"]},{"1377000507":["hashtag1","hashtag2"]},{"1377000524":["hashtag1","hashtag2"]},{"1377000518":["hashtag1","hashtag2"]},{"1377000503":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000509, 1377000520, 1377000507, 1377000524, 1377000518, 1377000503)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.5317907333374 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:54:42.170268 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/33/image_14082025_03_34_08_10566.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_19_10332.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_28_9094.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_49_10338.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_59_10398.jpg', '/media/data/images/14082025/03/35/image_14082025_03_35_29_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/33/image_14082025_03_34_08_10566.jpg /media/data/images/14082025/03/34/image_14082025_03_34_19_10332.jpg /media/data/images/14082025/03/34/image_14082025_03_34_28_9094.jpg /media/data/images/14082025/03/34/image_14082025_03_34_49_10338.jpg /media/data/images/14082025/03/34/image_14082025_03_34_59_10398.jpg /media/data/images/14082025/03/35/image_14082025_03_35_29_10340.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5455553531646729 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:55:03.238961 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/33/image_14082025_03_34_08_10566.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_19_10332.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_28_9094.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_49_10338.jpg', '/media/data/images/14082025/03/34/image_14082025_03_34_59_10398.jpg', '/media/data/images/14082025/03/35/image_14082025_03_35_29_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/33/image_14082025_03_34_08_10566.jpg /media/data/images/14082025/03/34/image_14082025_03_34_19_10332.jpg /media/data/images/14082025/03/34/image_14082025_03_34_28_9094.jpg /media/data/images/14082025/03/34/image_14082025_03_34_49_10338.jpg /media/data/images/14082025/03/34/image_14082025_03_34_59_10398.jpg /media/data/images/14082025/03/35/image_14082025_03_35_29_10340.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000646","1377000619","1377000657","1377000609","1377000671","1377000691"],"photo_ids_order":["1377000609","1377000619","1377000646","1377000657","1377000671","1377000691"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d00507d77d0688dbfe7a596f2bc5325.jpg","text":"TemporaryFile(/tmp/multipartBody2835452782265064612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168964150,"filename":"image_14082025_03_34_28_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd3c3f61b47aae17ec92f74ca857d89d.jpg","text":"TemporaryFile(/tmp/multipartBody8423343274033240397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168964150,"filename":"image_14082025_03_34_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9dc181ab5809daf5dbf698d9e52fc93f.jpg","text":"TemporaryFile(/tmp/multipartBody6504982298919973809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168964150,"filename":"image_14082025_03_34_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d24a172a8e3a21f22df828a407cc7732.jpg","text":"TemporaryFile(/tmp/multipartBody3767133603795071513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168964150,"filename":"image_14082025_03_34_08_10566.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ce21e7ed9d45818d02e326fdbc9611a.jpg","text":"TemporaryFile(/tmp/multipartBody211765085809066202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168964150,"filename":"image_14082025_03_34_59_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8540ed087f06e0e8092221ea51f91643.jpg","text":"TemporaryFile(/tmp/multipartBody7710064051915784977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755168964150,"filename":"image_14082025_03_35_29_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000646","file1":"1377000619","file0":"1377000609","file4":"1377000671","file5":"1377000691","file3":"1377000657"},"map_files_photo_id_array":[{"photo_id":"1377000691","filename":"file5"},{"photo_id":"1377000646","filename":"file2"},{"photo_id":"1377000671","filename":"file4"},{"photo_id":"1377000619","filename":"file1"},{"photo_id":"1377000609","filename":"file0"},{"photo_id":"1377000657","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000646":["hashtag1","hashtag2"]},{"1377000619":["hashtag1","hashtag2"]},{"1377000657":["hashtag1","hashtag2"]},{"1377000609":["hashtag1","hashtag2"]},{"1377000671":["hashtag1","hashtag2"]},{"1377000691":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000646, 1377000619, 1377000657, 1377000609, 1377000671, 1377000691)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.10588240623474 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:56:02.994164 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/35/image_14082025_03_35_38_9093.jpg', '/media/data/images/14082025/03/35/image_14082025_03_35_48_10409.jpg', '/media/data/images/14082025/03/35/image_14082025_03_35_59_10328.jpg', '/media/data/images/14082025/03/36/image_14082025_03_36_09_10279.jpg', '/media/data/images/14082025/03/36/image_14082025_03_36_28_10373.jpg', '/media/data/images/14082025/03/36/image_14082025_03_36_39_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/35/image_14082025_03_35_38_9093.jpg /media/data/images/14082025/03/35/image_14082025_03_35_48_10409.jpg /media/data/images/14082025/03/35/image_14082025_03_35_59_10328.jpg /media/data/images/14082025/03/36/image_14082025_03_36_09_10279.jpg /media/data/images/14082025/03/36/image_14082025_03_36_28_10373.jpg /media/data/images/14082025/03/36/image_14082025_03_36_39_10378.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000725","1377000745","1377000730","1377000717","1377000740","1377000734"],"photo_ids_order":["1377000717","1377000725","1377000730","1377000734","1377000740","1377000745"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fb0d65fecb364503c905ca51e38288e.jpg","text":"TemporaryFile(/tmp/multipartBody1277348641542046078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169023984,"filename":"image_14082025_03_35_48_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d43597c7646a78d0f2088894dfddf12c.jpg","text":"TemporaryFile(/tmp/multipartBody5793174623111468031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169023984,"filename":"image_14082025_03_36_39_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5a448fb1c8efe0874902e5b8992c2bb.jpg","text":"TemporaryFile(/tmp/multipartBody4591931226457926819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169023984,"filename":"image_14082025_03_35_59_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e50ea50306ded6aa106cbd943188ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3634270598795148356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169023984,"filename":"image_14082025_03_35_38_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5c896ec1b58a23ba68b3be1d2eba7fd.jpg","text":"TemporaryFile(/tmp/multipartBody9179886761096946606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169023984,"filename":"image_14082025_03_36_28_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec2f7c088884ba5d6289a1773c527bca.jpg","text":"TemporaryFile(/tmp/multipartBody3049007352261450810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169023984,"filename":"image_14082025_03_36_09_10279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000730","file1":"1377000725","file0":"1377000717","file4":"1377000740","file5":"1377000745","file3":"1377000734"},"map_files_photo_id_array":[{"photo_id":"1377000745","filename":"file5"},{"photo_id":"1377000730","filename":"file2"},{"photo_id":"1377000740","filename":"file4"},{"photo_id":"1377000725","filename":"file1"},{"photo_id":"1377000717","filename":"file0"},{"photo_id":"1377000734","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000725":["hashtag1","hashtag2"]},{"1377000745":["hashtag1","hashtag2"]},{"1377000730":["hashtag1","hashtag2"]},{"1377000717":["hashtag1","hashtag2"]},{"1377000740":["hashtag1","hashtag2"]},{"1377000734":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000725, 1377000745, 1377000730, 1377000717, 1377000740, 1377000734)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.381428956985474 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:57:02.811837 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/36/image_14082025_03_36_48_9092.jpg', '/media/data/images/14082025/03/37/image_14082025_03_37_19_10351.jpg', '/media/data/images/14082025/03/37/image_14082025_03_37_28_9100.jpg', '/media/data/images/14082025/03/37/image_14082025_03_37_38_10333.jpg', '/media/data/images/14082025/03/37/image_14082025_03_37_49_10328.jpg', '/media/data/images/14082025/03/37/image_14082025_03_37_59_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/36/image_14082025_03_36_48_9092.jpg /media/data/images/14082025/03/37/image_14082025_03_37_19_10351.jpg /media/data/images/14082025/03/37/image_14082025_03_37_28_9100.jpg /media/data/images/14082025/03/37/image_14082025_03_37_38_10333.jpg /media/data/images/14082025/03/37/image_14082025_03_37_49_10328.jpg /media/data/images/14082025/03/37/image_14082025_03_37_59_10439.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377000772","1377000765","1377000768","1377000762","1377000776","1377000761"],"photo_ids_order":["1377000761","1377000762","1377000765","1377000768","1377000772","1377000776"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93af52a737cb1ae1d7412b8c55f3154d.jpg","text":"TemporaryFile(/tmp/multipartBody3909185598367178239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169084265,"filename":"image_14082025_03_37_49_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a8d6bf865edf66f3296ec9b13d2c0790.jpg","text":"TemporaryFile(/tmp/multipartBody6538892162122772923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169084265,"filename":"image_14082025_03_37_28_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4419e9e4bcbd2b6ec5bb988589ed7350.jpg","text":"TemporaryFile(/tmp/multipartBody1058507204360576597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169084265,"filename":"image_14082025_03_37_38_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cbe6f1dc95fad378625243b486032835.jpg","text":"TemporaryFile(/tmp/multipartBody3234105786029488625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169084265,"filename":"image_14082025_03_37_19_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6706413fc17fa26a20e52b577313b053.jpg","text":"TemporaryFile(/tmp/multipartBody7643243660039728828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169084265,"filename":"image_14082025_03_37_59_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b26e05cd26a10a1a44b84b5060d26cb3.jpg","text":"TemporaryFile(/tmp/multipartBody912132003743546741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169084265,"filename":"image_14082025_03_36_48_9092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377000765","file1":"1377000762","file0":"1377000761","file4":"1377000772","file5":"1377000776","file3":"1377000768"},"map_files_photo_id_array":[{"photo_id":"1377000776","filename":"file5"},{"photo_id":"1377000765","filename":"file2"},{"photo_id":"1377000772","filename":"file4"},{"photo_id":"1377000762","filename":"file1"},{"photo_id":"1377000761","filename":"file0"},{"photo_id":"1377000768","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377000772":["hashtag1","hashtag2"]},{"1377000765":["hashtag1","hashtag2"]},{"1377000768":["hashtag1","hashtag2"]},{"1377000762":["hashtag1","hashtag2"]},{"1377000776":["hashtag1","hashtag2"]},{"1377000761":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377000772, 1377000765, 1377000768, 1377000762, 1377000776, 1377000761)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.37862992286682 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 12:59:03.176260 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/38/image_14082025_03_38_09_9524.jpg', '/media/data/images/14082025/03/38/image_14082025_03_38_19_10353.jpg', '/media/data/images/14082025/03/38/image_14082025_03_38_28_9147.jpg', '/media/data/images/14082025/03/38/image_14082025_03_38_38_10386.jpg', '/media/data/images/14082025/03/38/image_14082025_03_38_49_10336.jpg', '/media/data/images/14082025/03/38/image_14082025_03_38_58_9153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/38/image_14082025_03_38_09_9524.jpg /media/data/images/14082025/03/38/image_14082025_03_38_19_10353.jpg /media/data/images/14082025/03/38/image_14082025_03_38_28_9147.jpg /media/data/images/14082025/03/38/image_14082025_03_38_38_10386.jpg /media/data/images/14082025/03/38/image_14082025_03_38_49_10336.jpg /media/data/images/14082025/03/38/image_14082025_03_38_58_9153.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377001033","1377000996","1377000963","1377001187","1377001220","1377001099"],"photo_ids_order":["1377000963","1377000996","1377001033","1377001099","1377001187","1377001220"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1471127ad200cf359863e250b75688bf.jpg","text":"TemporaryFile(/tmp/multipartBody3354623513214187714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169204166,"filename":"image_14082025_03_38_28_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7680737e0849a5aa0532d79a47566013.jpg","text":"TemporaryFile(/tmp/multipartBody1847399124513383315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169204166,"filename":"image_14082025_03_38_19_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b40b5d729c9510f914700948c4a27d7.jpg","text":"TemporaryFile(/tmp/multipartBody4101541945515839729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169204166,"filename":"image_14082025_03_38_09_9524.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d338aabf1d1e3284202df6a5964908e0.jpg","text":"TemporaryFile(/tmp/multipartBody3209550522998404944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169204166,"filename":"image_14082025_03_38_49_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3b9030b86999befa300752fd185dd7d.jpg","text":"TemporaryFile(/tmp/multipartBody5676100930568171570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169204166,"filename":"image_14082025_03_38_58_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d06b78e6c57dec1c6300dae94ab9a862.jpg","text":"TemporaryFile(/tmp/multipartBody1894918978986650086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169204166,"filename":"image_14082025_03_38_38_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377001033","file1":"1377000996","file0":"1377000963","file4":"1377001187","file5":"1377001220","file3":"1377001099"},"map_files_photo_id_array":[{"photo_id":"1377001220","filename":"file5"},{"photo_id":"1377001033","filename":"file2"},{"photo_id":"1377001187","filename":"file4"},{"photo_id":"1377000996","filename":"file1"},{"photo_id":"1377000963","filename":"file0"},{"photo_id":"1377001099","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377001033":["hashtag1","hashtag2"]},{"1377000996":["hashtag1","hashtag2"]},{"1377000963":["hashtag1","hashtag2"]},{"1377001187":["hashtag1","hashtag2"]},{"1377001220":["hashtag1","hashtag2"]},{"1377001099":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377001033, 1377000996, 1377000963, 1377001187, 1377001220, 1377001099)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.663989782333374 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:00:03.071764 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/38/image_14082025_03_39_08_10466.jpg', '/media/data/images/14082025/03/39/image_14082025_03_39_19_10402.jpg', '/media/data/images/14082025/03/39/image_14082025_03_39_28_9093.jpg', '/media/data/images/14082025/03/39/image_14082025_03_39_38_10559.jpg', '/media/data/images/14082025/03/39/image_14082025_03_39_49_10378.jpg', '/media/data/images/14082025/03/39/image_14082025_03_39_58_9092.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/38/image_14082025_03_39_08_10466.jpg /media/data/images/14082025/03/39/image_14082025_03_39_19_10402.jpg /media/data/images/14082025/03/39/image_14082025_03_39_28_9093.jpg /media/data/images/14082025/03/39/image_14082025_03_39_38_10559.jpg /media/data/images/14082025/03/39/image_14082025_03_39_49_10378.jpg /media/data/images/14082025/03/39/image_14082025_03_39_58_9092.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377001345","1377001348","1377001374","1377001382","1377001346","1377001378"],"photo_ids_order":["1377001345","1377001346","1377001348","1377001374","1377001378","1377001382"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81e9e783611a822d867667869f9bdad3.jpg","text":"TemporaryFile(/tmp/multipartBody6426819737624185688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169264037,"filename":"image_14082025_03_39_08_10466.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76bf51cae50bd14031062da4cb59b74b.jpg","text":"TemporaryFile(/tmp/multipartBody8632016486851021406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169264037,"filename":"image_14082025_03_39_28_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/91db78fc1f2f7188e66f3c075d65a73c.jpg","text":"TemporaryFile(/tmp/multipartBody2228787833753414454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169264037,"filename":"image_14082025_03_39_38_10559.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5123e9588a961dc115c7af346166d36c.jpg","text":"TemporaryFile(/tmp/multipartBody7473436584452427349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169264037,"filename":"image_14082025_03_39_58_9092.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8f4c7c95068683d51e5e2da855367d2.jpg","text":"TemporaryFile(/tmp/multipartBody1518951300636868613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169264037,"filename":"image_14082025_03_39_19_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/beb6195d34af049754a3e54cc99263b6.jpg","text":"TemporaryFile(/tmp/multipartBody3696175096347590143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169264037,"filename":"image_14082025_03_39_49_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377001348","file1":"1377001346","file0":"1377001345","file4":"1377001378","file5":"1377001382","file3":"1377001374"},"map_files_photo_id_array":[{"photo_id":"1377001382","filename":"file5"},{"photo_id":"1377001348","filename":"file2"},{"photo_id":"1377001378","filename":"file4"},{"photo_id":"1377001346","filename":"file1"},{"photo_id":"1377001345","filename":"file0"},{"photo_id":"1377001374","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377001345":["hashtag1","hashtag2"]},{"1377001348":["hashtag1","hashtag2"]},{"1377001374":["hashtag1","hashtag2"]},{"1377001382":["hashtag1","hashtag2"]},{"1377001346":["hashtag1","hashtag2"]},{"1377001378":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377001345, 1377001348, 1377001374, 1377001382, 1377001346, 1377001378)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.38469052314758 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:01:03.328749 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/39/image_14082025_03_40_09_10710.jpg', '/media/data/images/14082025/03/40/image_14082025_03_40_18_9201.jpg', '/media/data/images/14082025/03/40/image_14082025_03_40_28_10321.jpg', '/media/data/images/14082025/03/40/image_14082025_03_40_39_10330.jpg', '/media/data/images/14082025/03/40/image_14082025_03_40_49_10409.jpg', '/media/data/images/14082025/03/40/image_14082025_03_40_58_9094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/39/image_14082025_03_40_09_10710.jpg /media/data/images/14082025/03/40/image_14082025_03_40_18_9201.jpg /media/data/images/14082025/03/40/image_14082025_03_40_28_10321.jpg /media/data/images/14082025/03/40/image_14082025_03_40_39_10330.jpg /media/data/images/14082025/03/40/image_14082025_03_40_49_10409.jpg /media/data/images/14082025/03/40/image_14082025_03_40_58_9094.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377001453","1377001551","1377001416","1377001518","1377001487","1377001393"],"photo_ids_order":["1377001393","1377001416","1377001453","1377001487","1377001518","1377001551"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5802fe4526f457ac780a02a0eb09318a.jpg","text":"TemporaryFile(/tmp/multipartBody5410537472695491977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169324298,"filename":"image_14082025_03_40_28_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dff3357536bba04e2d36a18b5cbe4cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8331915706641366900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169324298,"filename":"image_14082025_03_40_58_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09e400e4390a16def4b64307d1912e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7005127330807972916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169324298,"filename":"image_14082025_03_40_18_9201.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f298733f31975aa84ec56c6f24385f55.jpg","text":"TemporaryFile(/tmp/multipartBody3158452972763902742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169324298,"filename":"image_14082025_03_40_49_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b02ec09fd860be3ea2a0517ab7c1f384.jpg","text":"TemporaryFile(/tmp/multipartBody7405489877159935747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169324298,"filename":"image_14082025_03_40_39_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e40e0b5afad81681d5beb0221f758231.jpg","text":"TemporaryFile(/tmp/multipartBody8092497682353758712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169324298,"filename":"image_14082025_03_40_09_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377001453","file1":"1377001416","file0":"1377001393","file4":"1377001518","file5":"1377001551","file3":"1377001487"},"map_files_photo_id_array":[{"photo_id":"1377001551","filename":"file5"},{"photo_id":"1377001453","filename":"file2"},{"photo_id":"1377001518","filename":"file4"},{"photo_id":"1377001416","filename":"file1"},{"photo_id":"1377001393","filename":"file0"},{"photo_id":"1377001487","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377001453":["hashtag1","hashtag2"]},{"1377001551":["hashtag1","hashtag2"]},{"1377001416":["hashtag1","hashtag2"]},{"1377001518":["hashtag1","hashtag2"]},{"1377001487":["hashtag1","hashtag2"]},{"1377001393":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377001453, 1377001551, 1377001416, 1377001518, 1377001487, 1377001393)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.53857088088989 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:02:03.360231 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/40/image_14082025_03_41_09_10555.jpg', '/media/data/images/14082025/03/41/image_14082025_03_41_19_10432.jpg', '/media/data/images/14082025/03/41/image_14082025_03_41_28_9093.jpg', '/media/data/images/14082025/03/41/image_14082025_03_41_38_10330.jpg', '/media/data/images/14082025/03/41/image_14082025_03_41_49_10387.jpg', '/media/data/images/14082025/03/41/image_14082025_03_41_58_9097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/40/image_14082025_03_41_09_10555.jpg /media/data/images/14082025/03/41/image_14082025_03_41_19_10432.jpg /media/data/images/14082025/03/41/image_14082025_03_41_28_9093.jpg /media/data/images/14082025/03/41/image_14082025_03_41_38_10330.jpg /media/data/images/14082025/03/41/image_14082025_03_41_49_10387.jpg /media/data/images/14082025/03/41/image_14082025_03_41_58_9097.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377001869","1377001964","1377001838","1377001931","1377001996","1377001901"],"photo_ids_order":["1377001838","1377001869","1377001901","1377001931","1377001964","1377001996"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69d75bbffe8baa95ae2a742c2dee59d9.jpg","text":"TemporaryFile(/tmp/multipartBody6764453846422969134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169384324,"filename":"image_14082025_03_41_19_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24d170803df47923ad0de4d0a1610261.jpg","text":"TemporaryFile(/tmp/multipartBody1710127095858451875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169384324,"filename":"image_14082025_03_41_49_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/443889ede0537453bba8199ab6a945ef.jpg","text":"TemporaryFile(/tmp/multipartBody1513290271424479025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169384324,"filename":"image_14082025_03_41_09_10555.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a59171f757a38f36ca6daf417b011a4.jpg","text":"TemporaryFile(/tmp/multipartBody515378409718664871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169384324,"filename":"image_14082025_03_41_38_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34c55217629cb6c3888851f0ce3f53f1.jpg","text":"TemporaryFile(/tmp/multipartBody1013684361267159571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169384324,"filename":"image_14082025_03_41_58_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c195902c2a15d3f0c344342b7f17eab0.jpg","text":"TemporaryFile(/tmp/multipartBody5655763590562101125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169384324,"filename":"image_14082025_03_41_28_9093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377001901","file1":"1377001869","file0":"1377001838","file4":"1377001964","file5":"1377001996","file3":"1377001931"},"map_files_photo_id_array":[{"photo_id":"1377001996","filename":"file5"},{"photo_id":"1377001901","filename":"file2"},{"photo_id":"1377001964","filename":"file4"},{"photo_id":"1377001869","filename":"file1"},{"photo_id":"1377001838","filename":"file0"},{"photo_id":"1377001931","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377001869":["hashtag1","hashtag2"]},{"1377001964":["hashtag1","hashtag2"]},{"1377001838":["hashtag1","hashtag2"]},{"1377001931":["hashtag1","hashtag2"]},{"1377001996":["hashtag1","hashtag2"]},{"1377001901":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377001869, 1377001964, 1377001838, 1377001931, 1377001996, 1377001901)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.8267560005188 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:03:03.413127 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/41/image_14082025_03_42_08_10424.jpg', '/media/data/images/14082025/03/42/image_14082025_03_42_19_10354.jpg', '/media/data/images/14082025/03/42/image_14082025_03_42_29_10331.jpg', '/media/data/images/14082025/03/42/image_14082025_03_42_38_9155.jpg', '/media/data/images/14082025/03/42/image_14082025_03_42_48_10318.jpg', '/media/data/images/14082025/03/42/image_14082025_03_42_59_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/41/image_14082025_03_42_08_10424.jpg /media/data/images/14082025/03/42/image_14082025_03_42_19_10354.jpg /media/data/images/14082025/03/42/image_14082025_03_42_29_10331.jpg /media/data/images/14082025/03/42/image_14082025_03_42_38_9155.jpg /media/data/images/14082025/03/42/image_14082025_03_42_48_10318.jpg /media/data/images/14082025/03/42/image_14082025_03_42_59_10319.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377002401","1377002370","1377002268","1377002304","1377002336","1377002236"],"photo_ids_order":["1377002236","1377002268","1377002304","1377002336","1377002370","1377002401"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4503eef222e0f111a0540aa2ef6ab52e.jpg","text":"TemporaryFile(/tmp/multipartBody2587411539143705589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169444398,"filename":"image_14082025_03_42_59_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7811f0bfb76c8ddd38eaad53b5ad965a.jpg","text":"TemporaryFile(/tmp/multipartBody8640797645493717857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169444398,"filename":"image_14082025_03_42_48_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ae23322f25e2fac2aa8b12a78022a3f.jpg","text":"TemporaryFile(/tmp/multipartBody8361792935691294662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169444398,"filename":"image_14082025_03_42_19_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a273f5dfa393b3fef0eeeb70694fe66e.jpg","text":"TemporaryFile(/tmp/multipartBody8608990560244601766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169444398,"filename":"image_14082025_03_42_29_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b520dc1049768a1c5865ad31e5c974d0.jpg","text":"TemporaryFile(/tmp/multipartBody6653825439353687624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169444398,"filename":"image_14082025_03_42_38_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c01bfbd4091fe039ccab848275a04b72.jpg","text":"TemporaryFile(/tmp/multipartBody7457686475045645982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169444398,"filename":"image_14082025_03_42_08_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377002304","file1":"1377002268","file0":"1377002236","file4":"1377002370","file5":"1377002401","file3":"1377002336"},"map_files_photo_id_array":[{"photo_id":"1377002401","filename":"file5"},{"photo_id":"1377002304","filename":"file2"},{"photo_id":"1377002370","filename":"file4"},{"photo_id":"1377002268","filename":"file1"},{"photo_id":"1377002236","filename":"file0"},{"photo_id":"1377002336","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377002401":["hashtag1","hashtag2"]},{"1377002370":["hashtag1","hashtag2"]},{"1377002268":["hashtag1","hashtag2"]},{"1377002304":["hashtag1","hashtag2"]},{"1377002336":["hashtag1","hashtag2"]},{"1377002236":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377002401, 1377002370, 1377002268, 1377002304, 1377002336, 1377002236)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.22352480888367 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:04:03.614613 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/43/image_14082025_03_43_08_9114.jpg', '/media/data/images/14082025/03/43/image_14082025_03_43_18_10341.jpg', '/media/data/images/14082025/03/43/image_14082025_03_43_29_10384.jpg', '/media/data/images/14082025/03/43/image_14082025_03_43_38_9164.jpg', '/media/data/images/14082025/03/43/image_14082025_03_43_48_10417.jpg', '/media/data/images/14082025/03/43/image_14082025_03_43_59_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/43/image_14082025_03_43_08_9114.jpg /media/data/images/14082025/03/43/image_14082025_03_43_18_10341.jpg /media/data/images/14082025/03/43/image_14082025_03_43_29_10384.jpg /media/data/images/14082025/03/43/image_14082025_03_43_38_9164.jpg /media/data/images/14082025/03/43/image_14082025_03_43_48_10417.jpg /media/data/images/14082025/03/43/image_14082025_03_43_59_10382.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377002423","1377002432","1377002501","1377002533","1377002464","1377002425"],"photo_ids_order":["1377002423","1377002425","1377002432","1377002464","1377002501","1377002533"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/41cac97711ab4e5a257a6eb31afc7511.jpg","text":"TemporaryFile(/tmp/multipartBody3656163541700156413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169504594,"filename":"image_14082025_03_43_08_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b39db1dc010ae3a5fa9ffcdf4f361ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2934826781378173242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169504594,"filename":"image_14082025_03_43_29_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c07a4297508f75fa715c343da53581b8.jpg","text":"TemporaryFile(/tmp/multipartBody6349833499176289442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169504594,"filename":"image_14082025_03_43_48_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12e28387dde6a233d2803f68fb6dc391.jpg","text":"TemporaryFile(/tmp/multipartBody6214458218033429012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169504594,"filename":"image_14082025_03_43_59_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b8c46b510d79061678cb71874d70f42.jpg","text":"TemporaryFile(/tmp/multipartBody5110245678146161884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169504594,"filename":"image_14082025_03_43_38_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc55599773dd94eca6c0c8f81eacb5a0.jpg","text":"TemporaryFile(/tmp/multipartBody4492251345261696884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169504594,"filename":"image_14082025_03_43_18_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377002432","file1":"1377002425","file0":"1377002423","file4":"1377002501","file5":"1377002533","file3":"1377002464"},"map_files_photo_id_array":[{"photo_id":"1377002533","filename":"file5"},{"photo_id":"1377002432","filename":"file2"},{"photo_id":"1377002501","filename":"file4"},{"photo_id":"1377002425","filename":"file1"},{"photo_id":"1377002423","filename":"file0"},{"photo_id":"1377002464","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377002423":["hashtag1","hashtag2"]},{"1377002432":["hashtag1","hashtag2"]},{"1377002501":["hashtag1","hashtag2"]},{"1377002533":["hashtag1","hashtag2"]},{"1377002464":["hashtag1","hashtag2"]},{"1377002425":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377002423, 1377002432, 1377002501, 1377002533, 1377002464, 1377002425)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.30826711654663 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:05:02.847611 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/44/image_14082025_03_44_09_10328.jpg', '/media/data/images/14082025/03/44/image_14082025_03_44_18_9124.jpg', '/media/data/images/14082025/03/44/image_14082025_03_44_28_10385.jpg', '/media/data/images/14082025/03/44/image_14082025_03_44_39_10448.jpg', '/media/data/images/14082025/03/44/image_14082025_03_44_48_9206.jpg', '/media/data/images/14082025/03/44/image_14082025_03_44_58_10313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/44/image_14082025_03_44_09_10328.jpg /media/data/images/14082025/03/44/image_14082025_03_44_18_9124.jpg /media/data/images/14082025/03/44/image_14082025_03_44_28_10385.jpg /media/data/images/14082025/03/44/image_14082025_03_44_39_10448.jpg /media/data/images/14082025/03/44/image_14082025_03_44_48_9206.jpg /media/data/images/14082025/03/44/image_14082025_03_44_58_10313.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377002984","1377002891","1377002802","1377002840","1377002942","1377003016"],"photo_ids_order":["1377002802","1377002840","1377002891","1377002942","1377002984","1377003016"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9d1457e888844f07a3e1b1502951ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4018494093618855054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169563826,"filename":"image_14082025_03_44_48_9206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f2b0f359982afda6d9827c9913f0faf.jpg","text":"TemporaryFile(/tmp/multipartBody5919103328219091261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169563826,"filename":"image_14082025_03_44_28_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8040c254060035c8b87ccae046c4d267.jpg","text":"TemporaryFile(/tmp/multipartBody1453249116335916045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169563826,"filename":"image_14082025_03_44_09_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ffc01a86268419e8fc5a6500c69ef3e.jpg","text":"TemporaryFile(/tmp/multipartBody4119964639309813840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169563826,"filename":"image_14082025_03_44_18_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6a5a02c2af7f85d9c604e6adf47dae4.jpg","text":"TemporaryFile(/tmp/multipartBody1786271107570323694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169563826,"filename":"image_14082025_03_44_39_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ec39753acb912c9b3c025c51c1ae397.jpg","text":"TemporaryFile(/tmp/multipartBody6213801722204072261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169563826,"filename":"image_14082025_03_44_58_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377002891","file1":"1377002840","file0":"1377002802","file4":"1377002984","file5":"1377003016","file3":"1377002942"},"map_files_photo_id_array":[{"photo_id":"1377003016","filename":"file5"},{"photo_id":"1377002891","filename":"file2"},{"photo_id":"1377002984","filename":"file4"},{"photo_id":"1377002840","filename":"file1"},{"photo_id":"1377002802","filename":"file0"},{"photo_id":"1377002942","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377002984":["hashtag1","hashtag2"]},{"1377002891":["hashtag1","hashtag2"]},{"1377002802":["hashtag1","hashtag2"]},{"1377002840":["hashtag1","hashtag2"]},{"1377002942":["hashtag1","hashtag2"]},{"1377003016":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377002984, 1377002891, 1377002802, 1377002840, 1377002942, 1377003016)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.779818534851074 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:06:02.560076 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/45/image_14082025_03_45_09_10254.jpg', '/media/data/images/14082025/03/45/image_14082025_03_45_19_10341.jpg', '/media/data/images/14082025/03/45/image_14082025_03_45_28_9236.jpg', '/media/data/images/14082025/03/45/image_14082025_03_45_39_10395.jpg', '/media/data/images/14082025/03/45/image_14082025_03_45_49_10386.jpg', '/media/data/images/14082025/03/45/image_14082025_03_45_58_9093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/45/image_14082025_03_45_09_10254.jpg /media/data/images/14082025/03/45/image_14082025_03_45_19_10341.jpg /media/data/images/14082025/03/45/image_14082025_03_45_28_9236.jpg /media/data/images/14082025/03/45/image_14082025_03_45_39_10395.jpg /media/data/images/14082025/03/45/image_14082025_03_45_49_10386.jpg /media/data/images/14082025/03/45/image_14082025_03_45_58_9093.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377003269","1377003338","1377003431","1377003233","1377003379","1377003304"],"photo_ids_order":["1377003233","1377003269","1377003304","1377003338","1377003379","1377003431"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6dd254f9ff26971cb37f293e22d96cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2009574949690702562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169623565,"filename":"image_14082025_03_45_19_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29f302b7ab97dfa92bc8711a02d87ab1.jpg","text":"TemporaryFile(/tmp/multipartBody334880007025574022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169623565,"filename":"image_14082025_03_45_39_10395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ef4d7f9e845657cbc29a9a692def907.jpg","text":"TemporaryFile(/tmp/multipartBody1921338284161764081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169623565,"filename":"image_14082025_03_45_58_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60c1f6366f0394c6f6f384b18e98cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody7932220228974910724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169623565,"filename":"image_14082025_03_45_09_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94303e7a1159f50bfc8dd01a8ead82d9.jpg","text":"TemporaryFile(/tmp/multipartBody7310162785743850407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169623565,"filename":"image_14082025_03_45_49_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d7642028614659baf7ff8cbbd8d08d70.jpg","text":"TemporaryFile(/tmp/multipartBody8687741578066103033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169623565,"filename":"image_14082025_03_45_28_9236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377003304","file1":"1377003269","file0":"1377003233","file4":"1377003379","file5":"1377003431","file3":"1377003338"},"map_files_photo_id_array":[{"photo_id":"1377003431","filename":"file5"},{"photo_id":"1377003304","filename":"file2"},{"photo_id":"1377003379","filename":"file4"},{"photo_id":"1377003269","filename":"file1"},{"photo_id":"1377003233","filename":"file0"},{"photo_id":"1377003338","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377003269":["hashtag1","hashtag2"]},{"1377003338":["hashtag1","hashtag2"]},{"1377003431":["hashtag1","hashtag2"]},{"1377003233":["hashtag1","hashtag2"]},{"1377003379":["hashtag1","hashtag2"]},{"1377003304":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377003269, 1377003338, 1377003431, 1377003233, 1377003379, 1377003304)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.26105546951294 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:07:03.015260 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/46/image_14082025_03_46_09_10420.jpg', '/media/data/images/14082025/03/46/image_14082025_03_46_19_10358.jpg', '/media/data/images/14082025/03/46/image_14082025_03_46_28_9184.jpg', '/media/data/images/14082025/03/46/image_14082025_03_46_38_10321.jpg', '/media/data/images/14082025/03/46/image_14082025_03_46_49_10320.jpg', '/media/data/images/14082025/03/46/image_14082025_03_46_58_9086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/46/image_14082025_03_46_09_10420.jpg /media/data/images/14082025/03/46/image_14082025_03_46_19_10358.jpg /media/data/images/14082025/03/46/image_14082025_03_46_28_9184.jpg /media/data/images/14082025/03/46/image_14082025_03_46_38_10321.jpg /media/data/images/14082025/03/46/image_14082025_03_46_49_10320.jpg /media/data/images/14082025/03/46/image_14082025_03_46_58_9086.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377003752","1377003746","1377003749","1377003661","1377003696","1377003732"],"photo_ids_order":["1377003661","1377003696","1377003732","1377003746","1377003749","1377003752"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a00519dc99ae8d572748723ad8271c9.jpg","text":"TemporaryFile(/tmp/multipartBody8457022581370591676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169683988,"filename":"image_14082025_03_46_58_9086.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a57cfc6c719c7efe1b70910a84e660b1.jpg","text":"TemporaryFile(/tmp/multipartBody6021133728747487282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169683988,"filename":"image_14082025_03_46_38_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f5543db41b2aac03d263c6a14bdae336.jpg","text":"TemporaryFile(/tmp/multipartBody2213184571466535332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169683988,"filename":"image_14082025_03_46_49_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e44eaeedbc626dfe6ffe2f2d3719560.jpg","text":"TemporaryFile(/tmp/multipartBody7545781504568702844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169683988,"filename":"image_14082025_03_46_09_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abb95456ccab934a9dee9e953b0e58bd.jpg","text":"TemporaryFile(/tmp/multipartBody6639939762683581300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169683988,"filename":"image_14082025_03_46_19_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fcce9cff321677caa8168d340d9ba7af.jpg","text":"TemporaryFile(/tmp/multipartBody3912950194895385102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169683988,"filename":"image_14082025_03_46_28_9184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377003732","file1":"1377003696","file0":"1377003661","file4":"1377003749","file5":"1377003752","file3":"1377003746"},"map_files_photo_id_array":[{"photo_id":"1377003752","filename":"file5"},{"photo_id":"1377003732","filename":"file2"},{"photo_id":"1377003749","filename":"file4"},{"photo_id":"1377003696","filename":"file1"},{"photo_id":"1377003661","filename":"file0"},{"photo_id":"1377003746","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377003752":["hashtag1","hashtag2"]},{"1377003746":["hashtag1","hashtag2"]},{"1377003749":["hashtag1","hashtag2"]},{"1377003661":["hashtag1","hashtag2"]},{"1377003696":["hashtag1","hashtag2"]},{"1377003732":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377003752, 1377003746, 1377003749, 1377003661, 1377003696, 1377003732)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.53673458099365 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:08:02.957000 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/46/image_14082025_03_47_08_10467.jpg', '/media/data/images/14082025/03/47/image_14082025_03_47_19_10327.jpg', '/media/data/images/14082025/03/47/image_14082025_03_47_29_10361.jpg', '/media/data/images/14082025/03/47/image_14082025_03_47_38_9093.jpg', '/media/data/images/14082025/03/47/image_14082025_03_47_48_10381.jpg', '/media/data/images/14082025/03/47/image_14082025_03_47_59_10430.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/46/image_14082025_03_47_08_10467.jpg /media/data/images/14082025/03/47/image_14082025_03_47_19_10327.jpg /media/data/images/14082025/03/47/image_14082025_03_47_29_10361.jpg /media/data/images/14082025/03/47/image_14082025_03_47_38_9093.jpg /media/data/images/14082025/03/47/image_14082025_03_47_48_10381.jpg /media/data/images/14082025/03/47/image_14082025_03_47_59_10430.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377004005","1377003909","1377003944","1377003985","1377003976","1377003981"],"photo_ids_order":["1377003909","1377003944","1377003976","1377003981","1377003985","1377004005"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27324c3e4476cabd8460e82a5d5dde9e.jpg","text":"TemporaryFile(/tmp/multipartBody2032684244215245710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169743983,"filename":"image_14082025_03_47_59_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/065bfaa830c75d9e77866f33d6d8e328.jpg","text":"TemporaryFile(/tmp/multipartBody7218015924878708147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169743983,"filename":"image_14082025_03_47_08_10467.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3821beba50fb2f0c2457e882dea6a9a1.jpg","text":"TemporaryFile(/tmp/multipartBody9087797057265591191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169743983,"filename":"image_14082025_03_47_19_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87ade7c2dadef8adc68e8aea8d7a97be.jpg","text":"TemporaryFile(/tmp/multipartBody1740927380418245769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169743983,"filename":"image_14082025_03_47_48_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ffa16f4143b50f4b530c61e7a430ea56.jpg","text":"TemporaryFile(/tmp/multipartBody6311732957139642237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169743983,"filename":"image_14082025_03_47_29_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/276961417fc4fc1b8e2f689363f2e469.jpg","text":"TemporaryFile(/tmp/multipartBody9085704096082192325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169743983,"filename":"image_14082025_03_47_38_9093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377003976","file1":"1377003944","file0":"1377003909","file4":"1377003985","file5":"1377004005","file3":"1377003981"},"map_files_photo_id_array":[{"photo_id":"1377004005","filename":"file5"},{"photo_id":"1377003976","filename":"file2"},{"photo_id":"1377003985","filename":"file4"},{"photo_id":"1377003944","filename":"file1"},{"photo_id":"1377003909","filename":"file0"},{"photo_id":"1377003981","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377004005":["hashtag1","hashtag2"]},{"1377003909":["hashtag1","hashtag2"]},{"1377003944":["hashtag1","hashtag2"]},{"1377003985":["hashtag1","hashtag2"]},{"1377003976":["hashtag1","hashtag2"]},{"1377003981":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377004005, 1377003909, 1377003944, 1377003985, 1377003976, 1377003981)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.84386897087097 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:09:03.196141 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/48/image_14082025_03_48_08_9142.jpg', '/media/data/images/14082025/03/48/image_14082025_03_48_18_10332.jpg', '/media/data/images/14082025/03/48/image_14082025_03_48_29_10469.jpg', '/media/data/images/14082025/03/48/image_14082025_03_48_38_9115.jpg', '/media/data/images/14082025/03/48/image_14082025_03_48_48_10416.jpg', '/media/data/images/14082025/03/48/image_14082025_03_48_59_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/48/image_14082025_03_48_08_9142.jpg /media/data/images/14082025/03/48/image_14082025_03_48_18_10332.jpg /media/data/images/14082025/03/48/image_14082025_03_48_29_10469.jpg /media/data/images/14082025/03/48/image_14082025_03_48_38_9115.jpg /media/data/images/14082025/03/48/image_14082025_03_48_48_10416.jpg /media/data/images/14082025/03/48/image_14082025_03_48_59_10420.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377004475","1377004712","1377004846","1377004615","1377004779","1377004536"],"photo_ids_order":["1377004475","1377004536","1377004615","1377004712","1377004779","1377004846"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8c19d583acca37bd73c4a6f6edb0f6b.jpg","text":"TemporaryFile(/tmp/multipartBody3127568769547442545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169804184,"filename":"image_14082025_03_48_08_9142.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae9f137edda2829789b39df0df2c9fbd.jpg","text":"TemporaryFile(/tmp/multipartBody6621431283073469263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169804184,"filename":"image_14082025_03_48_38_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24c5c880c8d877906cc687117507088f.jpg","text":"TemporaryFile(/tmp/multipartBody4814966616742001773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169804184,"filename":"image_14082025_03_48_59_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d835f4e60e91fb885d5729e7793a8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2254348510564443668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169804184,"filename":"image_14082025_03_48_29_10469.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e63edb830e5a1315b29b7c4dfb7ec690.jpg","text":"TemporaryFile(/tmp/multipartBody5853235145379172984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169804184,"filename":"image_14082025_03_48_48_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4c84da577bc1135872b6c1dbb59e64d.jpg","text":"TemporaryFile(/tmp/multipartBody4461744147241724219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169804184,"filename":"image_14082025_03_48_18_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377004615","file1":"1377004536","file0":"1377004475","file4":"1377004779","file5":"1377004846","file3":"1377004712"},"map_files_photo_id_array":[{"photo_id":"1377004846","filename":"file5"},{"photo_id":"1377004615","filename":"file2"},{"photo_id":"1377004779","filename":"file4"},{"photo_id":"1377004536","filename":"file1"},{"photo_id":"1377004475","filename":"file0"},{"photo_id":"1377004712","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377004475":["hashtag1","hashtag2"]},{"1377004712":["hashtag1","hashtag2"]},{"1377004846":["hashtag1","hashtag2"]},{"1377004615":["hashtag1","hashtag2"]},{"1377004779":["hashtag1","hashtag2"]},{"1377004536":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377004475, 1377004712, 1377004846, 1377004615, 1377004779, 1377004536)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.38742971420288 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:10:03.014756 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/49/image_14082025_03_49_08_9072.jpg', '/media/data/images/14082025/03/49/image_14082025_03_49_18_10389.jpg', '/media/data/images/14082025/03/49/image_14082025_03_49_29_10376.jpg', '/media/data/images/14082025/03/49/image_14082025_03_49_39_10340.jpg', '/media/data/images/14082025/03/49/image_14082025_03_49_48_9177.jpg', '/media/data/images/14082025/03/49/image_14082025_03_49_59_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/49/image_14082025_03_49_08_9072.jpg /media/data/images/14082025/03/49/image_14082025_03_49_18_10389.jpg /media/data/images/14082025/03/49/image_14082025_03_49_29_10376.jpg /media/data/images/14082025/03/49/image_14082025_03_49_39_10340.jpg /media/data/images/14082025/03/49/image_14082025_03_49_48_9177.jpg /media/data/images/14082025/03/49/image_14082025_03_49_59_10404.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377005543","1377005347","1377005509","1377005475","1377005412","1377005301"],"photo_ids_order":["1377005301","1377005347","1377005412","1377005475","1377005509","1377005543"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e12d3c9b140fe0bd55ca8812b4b80fac.jpg","text":"TemporaryFile(/tmp/multipartBody3920876862050086667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169863996,"filename":"image_14082025_03_49_59_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d08a26374fa1cef822d26cf1d5ce742.jpg","text":"TemporaryFile(/tmp/multipartBody2170890157912392736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169863996,"filename":"image_14082025_03_49_18_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/40d7129cfa272ebf62a6423a31137280.jpg","text":"TemporaryFile(/tmp/multipartBody2435822780244452581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169863996,"filename":"image_14082025_03_49_48_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4819c12b68017e2ddd17435deea944f.jpg","text":"TemporaryFile(/tmp/multipartBody844912939436149575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169863996,"filename":"image_14082025_03_49_39_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/010bd0ebb8ba2ff4e325a384f09f59e3.jpg","text":"TemporaryFile(/tmp/multipartBody8220657689434016670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169863996,"filename":"image_14082025_03_49_29_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b78d79bf9d49ac548844f1f4e8bdf544.jpg","text":"TemporaryFile(/tmp/multipartBody1222939979437720665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169863996,"filename":"image_14082025_03_49_08_9072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377005412","file1":"1377005347","file0":"1377005301","file4":"1377005509","file5":"1377005543","file3":"1377005475"},"map_files_photo_id_array":[{"photo_id":"1377005543","filename":"file5"},{"photo_id":"1377005412","filename":"file2"},{"photo_id":"1377005509","filename":"file4"},{"photo_id":"1377005347","filename":"file1"},{"photo_id":"1377005301","filename":"file0"},{"photo_id":"1377005475","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377005543":["hashtag1","hashtag2"]},{"1377005347":["hashtag1","hashtag2"]},{"1377005509":["hashtag1","hashtag2"]},{"1377005475":["hashtag1","hashtag2"]},{"1377005412":["hashtag1","hashtag2"]},{"1377005301":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377005543, 1377005347, 1377005509, 1377005475, 1377005412, 1377005301)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.521440267562866 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:11:03.454614 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/50/image_14082025_03_50_09_10435.jpg', '/media/data/images/14082025/03/50/image_14082025_03_50_18_9121.jpg', '/media/data/images/14082025/03/50/image_14082025_03_50_28_10363.jpg', '/media/data/images/14082025/03/50/image_14082025_03_50_39_10324.jpg', '/media/data/images/14082025/03/50/image_14082025_03_50_48_9089.jpg', '/media/data/images/14082025/03/50/image_14082025_03_50_58_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/50/image_14082025_03_50_09_10435.jpg /media/data/images/14082025/03/50/image_14082025_03_50_18_9121.jpg /media/data/images/14082025/03/50/image_14082025_03_50_28_10363.jpg /media/data/images/14082025/03/50/image_14082025_03_50_39_10324.jpg /media/data/images/14082025/03/50/image_14082025_03_50_48_9089.jpg /media/data/images/14082025/03/50/image_14082025_03_50_58_10387.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377005900","1377006049","1377006112","1377006240","1377005973","1377006206"],"photo_ids_order":["1377005900","1377005973","1377006049","1377006112","1377006206","1377006240"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22b4e029fed5548818481e5c6d89bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody2842361678484072054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169924440,"filename":"image_14082025_03_50_09_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23ef5e74c71f3bdf874d817261b560ad.jpg","text":"TemporaryFile(/tmp/multipartBody8929354061374216079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169924440,"filename":"image_14082025_03_50_28_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/029e26f160845537b33e5b55e6efcdbf.jpg","text":"TemporaryFile(/tmp/multipartBody6571252363834407039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169924440,"filename":"image_14082025_03_50_39_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47ead138d3f49a2d11cd59165f4e7624.jpg","text":"TemporaryFile(/tmp/multipartBody7941441012736334798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169924440,"filename":"image_14082025_03_50_58_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84f016239a23470ac72c7b1bf45d9793.jpg","text":"TemporaryFile(/tmp/multipartBody648748811215101838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169924440,"filename":"image_14082025_03_50_18_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f3feb8d6853e343ff0df21b473df55a8.jpg","text":"TemporaryFile(/tmp/multipartBody7937753317737300964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169924440,"filename":"image_14082025_03_50_48_9089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377006049","file1":"1377005973","file0":"1377005900","file4":"1377006206","file5":"1377006240","file3":"1377006112"},"map_files_photo_id_array":[{"photo_id":"1377006240","filename":"file5"},{"photo_id":"1377006049","filename":"file2"},{"photo_id":"1377006206","filename":"file4"},{"photo_id":"1377005973","filename":"file1"},{"photo_id":"1377005900","filename":"file0"},{"photo_id":"1377006112","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377005900":["hashtag1","hashtag2"]},{"1377006049":["hashtag1","hashtag2"]},{"1377006112":["hashtag1","hashtag2"]},{"1377006240":["hashtag1","hashtag2"]},{"1377005973":["hashtag1","hashtag2"]},{"1377006206":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377005900, 1377006049, 1377006112, 1377006240, 1377005973, 1377006206)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.81680083274841 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:12:03.365114 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/51/image_14082025_03_51_08_10185.jpg', '/media/data/images/14082025/03/51/image_14082025_03_51_19_10313.jpg', '/media/data/images/14082025/03/51/image_14082025_03_51_28_9087.jpg', '/media/data/images/14082025/03/51/image_14082025_03_51_38_10422.jpg', '/media/data/images/14082025/03/51/image_14082025_03_51_49_10326.jpg', '/media/data/images/14082025/03/51/image_14082025_03_51_59_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/51/image_14082025_03_51_08_10185.jpg /media/data/images/14082025/03/51/image_14082025_03_51_19_10313.jpg /media/data/images/14082025/03/51/image_14082025_03_51_28_9087.jpg /media/data/images/14082025/03/51/image_14082025_03_51_38_10422.jpg /media/data/images/14082025/03/51/image_14082025_03_51_49_10326.jpg /media/data/images/14082025/03/51/image_14082025_03_51_59_10324.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377006469","1377006372","1377006441","1377006408","1377006464","1377006473"],"photo_ids_order":["1377006372","1377006408","1377006441","1377006464","1377006469","1377006473"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11d26bc18e1fb1cc9ab714ae5bd09f06.jpg","text":"TemporaryFile(/tmp/multipartBody8523645408879424967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169984345,"filename":"image_14082025_03_51_49_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b68ee073ff379fb22f3e0aefb1dc7a8.jpg","text":"TemporaryFile(/tmp/multipartBody6974220659424235693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169984345,"filename":"image_14082025_03_51_08_10185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90f44161cbdc4a16eb49e9a0d8089d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8242018219802657781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169984345,"filename":"image_14082025_03_51_28_9087.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33d91c4342caf8ebc8a95e6c4857e83a.jpg","text":"TemporaryFile(/tmp/multipartBody7023396215967390538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169984345,"filename":"image_14082025_03_51_19_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/42bf52a98a1971ab6158265cb6fc19ce.jpg","text":"TemporaryFile(/tmp/multipartBody3532246531062752805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169984345,"filename":"image_14082025_03_51_38_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd8304055f571c9a4acc1b93aaafe756.jpg","text":"TemporaryFile(/tmp/multipartBody9035260362088341408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755169984345,"filename":"image_14082025_03_51_59_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377006441","file1":"1377006408","file0":"1377006372","file4":"1377006469","file5":"1377006473","file3":"1377006464"},"map_files_photo_id_array":[{"photo_id":"1377006473","filename":"file5"},{"photo_id":"1377006441","filename":"file2"},{"photo_id":"1377006469","filename":"file4"},{"photo_id":"1377006408","filename":"file1"},{"photo_id":"1377006372","filename":"file0"},{"photo_id":"1377006464","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377006469":["hashtag1","hashtag2"]},{"1377006372":["hashtag1","hashtag2"]},{"1377006441":["hashtag1","hashtag2"]},{"1377006408":["hashtag1","hashtag2"]},{"1377006464":["hashtag1","hashtag2"]},{"1377006473":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377006469, 1377006372, 1377006441, 1377006408, 1377006464, 1377006473)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.835997343063354 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:13:03.496116 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/52/image_14082025_03_52_08_9259.jpg', '/media/data/images/14082025/03/52/image_14082025_03_52_19_10340.jpg', '/media/data/images/14082025/03/52/image_14082025_03_52_29_10378.jpg', '/media/data/images/14082025/03/52/image_14082025_03_52_38_9089.jpg', '/media/data/images/14082025/03/52/image_14082025_03_52_48_10392.jpg', '/media/data/images/14082025/03/52/image_14082025_03_52_59_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/52/image_14082025_03_52_08_9259.jpg /media/data/images/14082025/03/52/image_14082025_03_52_19_10340.jpg /media/data/images/14082025/03/52/image_14082025_03_52_29_10378.jpg /media/data/images/14082025/03/52/image_14082025_03_52_38_9089.jpg /media/data/images/14082025/03/52/image_14082025_03_52_48_10392.jpg /media/data/images/14082025/03/52/image_14082025_03_52_59_10328.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007042","1377006943","1377006823","1377006715","1377007005","1377006893"],"photo_ids_order":["1377006715","1377006823","1377006893","1377006943","1377007005","1377007042"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4d7a257cf169ba7a4799ba7503b07ea.jpg","text":"TemporaryFile(/tmp/multipartBody1037586983469984044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170044535,"filename":"image_14082025_03_52_59_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12614d9706cbe9a84bc06a2290fdb8ae.jpg","text":"TemporaryFile(/tmp/multipartBody4556687077068015312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170044535,"filename":"image_14082025_03_52_38_9089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/782b205f1d33d7cb8e66de7da04e7827.jpg","text":"TemporaryFile(/tmp/multipartBody3065705433302459641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170044535,"filename":"image_14082025_03_52_19_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f00a85bbf96d77f7d186c51858aa3c63.jpg","text":"TemporaryFile(/tmp/multipartBody1448862999607285691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170044535,"filename":"image_14082025_03_52_08_9259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5974846c59189856c83d57bf7d5509c6.jpg","text":"TemporaryFile(/tmp/multipartBody5933016933998021988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170044535,"filename":"image_14082025_03_52_48_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0c25ea8641a03053710c42abadf8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1412052088972830446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170044535,"filename":"image_14082025_03_52_29_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377006893","file1":"1377006823","file0":"1377006715","file4":"1377007005","file5":"1377007042","file3":"1377006943"},"map_files_photo_id_array":[{"photo_id":"1377007042","filename":"file5"},{"photo_id":"1377006893","filename":"file2"},{"photo_id":"1377007005","filename":"file4"},{"photo_id":"1377006823","filename":"file1"},{"photo_id":"1377006715","filename":"file0"},{"photo_id":"1377006943","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007042":["hashtag1","hashtag2"]},{"1377006943":["hashtag1","hashtag2"]},{"1377006823":["hashtag1","hashtag2"]},{"1377006715":["hashtag1","hashtag2"]},{"1377007005":["hashtag1","hashtag2"]},{"1377006893":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007042, 1377006943, 1377006823, 1377006715, 1377007005, 1377006893)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.404574155807495 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:14:03.543530 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/53/image_14082025_03_53_09_10292.jpg', '/media/data/images/14082025/03/53/image_14082025_03_53_18_9337.jpg', '/media/data/images/14082025/03/53/image_14082025_03_53_29_10412.jpg', '/media/data/images/14082025/03/53/image_14082025_03_53_38_9193.jpg', '/media/data/images/14082025/03/53/image_14082025_03_53_48_10332.jpg', '/media/data/images/14082025/03/53/image_14082025_03_53_59_10427.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/53/image_14082025_03_53_09_10292.jpg /media/data/images/14082025/03/53/image_14082025_03_53_18_9337.jpg /media/data/images/14082025/03/53/image_14082025_03_53_29_10412.jpg /media/data/images/14082025/03/53/image_14082025_03_53_38_9193.jpg /media/data/images/14082025/03/53/image_14082025_03_53_48_10332.jpg /media/data/images/14082025/03/53/image_14082025_03_53_59_10427.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007315","1377007221","1377007226","1377007322","1377007276","1377007243"],"photo_ids_order":["1377007221","1377007226","1377007243","1377007276","1377007315","1377007322"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1218084511798c395498f1ed43ef94f9.jpg","text":"TemporaryFile(/tmp/multipartBody7740390673449122394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170104538,"filename":"image_14082025_03_53_48_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/760f6b1f0cec2a8cc34fdc1c070378d4.jpg","text":"TemporaryFile(/tmp/multipartBody8854973165331101304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170104538,"filename":"image_14082025_03_53_09_10292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1b5d4fa109d0e13ac5c48450f2dd348.jpg","text":"TemporaryFile(/tmp/multipartBody3658701088692432256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170104538,"filename":"image_14082025_03_53_18_9337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4792f8b1466d4a882e13b4aa8c2e808b.jpg","text":"TemporaryFile(/tmp/multipartBody877606584061013784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170104538,"filename":"image_14082025_03_53_59_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ff91d88c9566d7d23039db3a1113c50.jpg","text":"TemporaryFile(/tmp/multipartBody2263435464620739041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170104538,"filename":"image_14082025_03_53_38_9193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80920720564caae52c2348a96ea41552.jpg","text":"TemporaryFile(/tmp/multipartBody8642760505398658570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170104538,"filename":"image_14082025_03_53_29_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007243","file1":"1377007226","file0":"1377007221","file4":"1377007315","file5":"1377007322","file3":"1377007276"},"map_files_photo_id_array":[{"photo_id":"1377007322","filename":"file5"},{"photo_id":"1377007243","filename":"file2"},{"photo_id":"1377007315","filename":"file4"},{"photo_id":"1377007226","filename":"file1"},{"photo_id":"1377007221","filename":"file0"},{"photo_id":"1377007276","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007315":["hashtag1","hashtag2"]},{"1377007221":["hashtag1","hashtag2"]},{"1377007226":["hashtag1","hashtag2"]},{"1377007322":["hashtag1","hashtag2"]},{"1377007276":["hashtag1","hashtag2"]},{"1377007243":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007315, 1377007221, 1377007226, 1377007322, 1377007276, 1377007243)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.807594537734985 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:15:02.776885 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/54/image_14082025_03_54_09_10286.jpg', '/media/data/images/14082025/03/54/image_14082025_03_54_18_9181.jpg', '/media/data/images/14082025/03/54/image_14082025_03_54_29_10329.jpg', '/media/data/images/14082025/03/54/image_14082025_03_54_39_10406.jpg', '/media/data/images/14082025/03/54/image_14082025_03_54_48_9200.jpg', '/media/data/images/14082025/03/54/image_14082025_03_54_58_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/54/image_14082025_03_54_09_10286.jpg /media/data/images/14082025/03/54/image_14082025_03_54_18_9181.jpg /media/data/images/14082025/03/54/image_14082025_03_54_29_10329.jpg /media/data/images/14082025/03/54/image_14082025_03_54_39_10406.jpg /media/data/images/14082025/03/54/image_14082025_03_54_48_9200.jpg /media/data/images/14082025/03/54/image_14082025_03_54_58_10328.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007467","1377007422","1377007413","1377007407","1377007415","1377007418"],"photo_ids_order":["1377007407","1377007413","1377007415","1377007418","1377007422","1377007467"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c7a31a1a3cdc314ddd236f46c82757e.jpg","text":"TemporaryFile(/tmp/multipartBody5558305048484021680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170163769,"filename":"image_14082025_03_54_58_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63663a04538cb4107da1b534d2cae89c.jpg","text":"TemporaryFile(/tmp/multipartBody7165709279856497948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170163769,"filename":"image_14082025_03_54_48_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88f446d78a7eb6eef45cbb2346ff68a8.jpg","text":"TemporaryFile(/tmp/multipartBody4009801055687848480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170163769,"filename":"image_14082025_03_54_18_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54b4a612c060cfce2c98cfbefa26a854.jpg","text":"TemporaryFile(/tmp/multipartBody1789953427189653547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170163769,"filename":"image_14082025_03_54_09_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7d8dee846c087ab0cbc29e71cc82f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7852310635187743536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170163769,"filename":"image_14082025_03_54_29_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf0846defa0911eaa6ce8dc138b13116.jpg","text":"TemporaryFile(/tmp/multipartBody2771280476217457142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170163769,"filename":"image_14082025_03_54_39_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007415","file1":"1377007413","file0":"1377007407","file4":"1377007422","file5":"1377007467","file3":"1377007418"},"map_files_photo_id_array":[{"photo_id":"1377007467","filename":"file5"},{"photo_id":"1377007415","filename":"file2"},{"photo_id":"1377007422","filename":"file4"},{"photo_id":"1377007413","filename":"file1"},{"photo_id":"1377007407","filename":"file0"},{"photo_id":"1377007418","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007467":["hashtag1","hashtag2"]},{"1377007422":["hashtag1","hashtag2"]},{"1377007413":["hashtag1","hashtag2"]},{"1377007407":["hashtag1","hashtag2"]},{"1377007415":["hashtag1","hashtag2"]},{"1377007418":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007467, 1377007422, 1377007413, 1377007407, 1377007415, 1377007418)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.85942554473877 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:16:02.765867 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/55/image_14082025_03_55_09_10201.jpg', '/media/data/images/14082025/03/55/image_14082025_03_55_19_10321.jpg', '/media/data/images/14082025/03/55/image_14082025_03_55_28_9097.jpg', '/media/data/images/14082025/03/55/image_14082025_03_55_38_10417.jpg', '/media/data/images/14082025/03/55/image_14082025_03_55_49_10418.jpg', '/media/data/images/14082025/03/55/image_14082025_03_55_58_9089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/55/image_14082025_03_55_09_10201.jpg /media/data/images/14082025/03/55/image_14082025_03_55_19_10321.jpg /media/data/images/14082025/03/55/image_14082025_03_55_28_9097.jpg /media/data/images/14082025/03/55/image_14082025_03_55_38_10417.jpg /media/data/images/14082025/03/55/image_14082025_03_55_49_10418.jpg /media/data/images/14082025/03/55/image_14082025_03_55_58_9089.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007608","1377007682","1377007640","1377007598","1377007663","1377007645"],"photo_ids_order":["1377007598","1377007608","1377007640","1377007645","1377007663","1377007682"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6746fabfd09688466c6dda2f88d99555.jpg","text":"TemporaryFile(/tmp/multipartBody5323990474568410272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170223720,"filename":"image_14082025_03_55_19_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54e0aa981b3b5ea08c88cdc2cce8ab56.jpg","text":"TemporaryFile(/tmp/multipartBody5633985673104030380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170223720,"filename":"image_14082025_03_55_58_9089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac07c9c98207bed796accc1a89627f70.jpg","text":"TemporaryFile(/tmp/multipartBody9010282458001319487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170223720,"filename":"image_14082025_03_55_28_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6610310e3b282a66a09232c10934d041.jpg","text":"TemporaryFile(/tmp/multipartBody4839053234646472475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170223720,"filename":"image_14082025_03_55_09_10201.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dec5aea6169afce940eea3303bc88f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2250149172347079731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170223720,"filename":"image_14082025_03_55_49_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67af1520fac19dd167355601c04c4cd3.jpg","text":"TemporaryFile(/tmp/multipartBody119087901247697806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170223720,"filename":"image_14082025_03_55_38_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007640","file1":"1377007608","file0":"1377007598","file4":"1377007663","file5":"1377007682","file3":"1377007645"},"map_files_photo_id_array":[{"photo_id":"1377007682","filename":"file5"},{"photo_id":"1377007640","filename":"file2"},{"photo_id":"1377007663","filename":"file4"},{"photo_id":"1377007608","filename":"file1"},{"photo_id":"1377007598","filename":"file0"},{"photo_id":"1377007645","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007608":["hashtag1","hashtag2"]},{"1377007682":["hashtag1","hashtag2"]},{"1377007640":["hashtag1","hashtag2"]},{"1377007598":["hashtag1","hashtag2"]},{"1377007663":["hashtag1","hashtag2"]},{"1377007645":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007608, 1377007682, 1377007640, 1377007598, 1377007663, 1377007645)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.90585947036743 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:17:03.075928 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/55/image_14082025_03_56_09_10586.jpg', '/media/data/images/14082025/03/56/image_14082025_03_56_19_10367.jpg', '/media/data/images/14082025/03/56/image_14082025_03_56_28_9192.jpg', '/media/data/images/14082025/03/56/image_14082025_03_56_38_10351.jpg', '/media/data/images/14082025/03/56/image_14082025_03_56_49_10326.jpg', '/media/data/images/14082025/03/56/image_14082025_03_56_58_9093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/55/image_14082025_03_56_09_10586.jpg /media/data/images/14082025/03/56/image_14082025_03_56_19_10367.jpg /media/data/images/14082025/03/56/image_14082025_03_56_28_9192.jpg /media/data/images/14082025/03/56/image_14082025_03_56_38_10351.jpg /media/data/images/14082025/03/56/image_14082025_03_56_49_10326.jpg /media/data/images/14082025/03/56/image_14082025_03_56_58_9093.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007729","1377007738","1377007734","1377007742","1377007727","1377007732"],"photo_ids_order":["1377007727","1377007729","1377007732","1377007734","1377007738","1377007742"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/efc3bdc9830d1412f858e964f5e4c6bd.jpg","text":"TemporaryFile(/tmp/multipartBody3590423311501094098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170284047,"filename":"image_14082025_03_56_19_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44f8aa230e0ed611702a11db3ab71436.jpg","text":"TemporaryFile(/tmp/multipartBody4995950945031432564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170284047,"filename":"image_14082025_03_56_49_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d937af0c87e6bc7525ed15bd701acd24.jpg","text":"TemporaryFile(/tmp/multipartBody726738451192128633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170284047,"filename":"image_14082025_03_56_38_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f1e06aa14edc9fbcc263d091ad5fc0a.jpg","text":"TemporaryFile(/tmp/multipartBody6635122553832149695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170284047,"filename":"image_14082025_03_56_58_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b9b38c60faf36daf62e9551c519d003.jpg","text":"TemporaryFile(/tmp/multipartBody630794805630458975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170284047,"filename":"image_14082025_03_56_09_10586.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27ac1ee8fa811c384290f458e884ead7.jpg","text":"TemporaryFile(/tmp/multipartBody6865048306057623402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170284047,"filename":"image_14082025_03_56_28_9192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007732","file1":"1377007729","file0":"1377007727","file4":"1377007738","file5":"1377007742","file3":"1377007734"},"map_files_photo_id_array":[{"photo_id":"1377007742","filename":"file5"},{"photo_id":"1377007732","filename":"file2"},{"photo_id":"1377007738","filename":"file4"},{"photo_id":"1377007729","filename":"file1"},{"photo_id":"1377007727","filename":"file0"},{"photo_id":"1377007734","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007729":["hashtag1","hashtag2"]},{"1377007738":["hashtag1","hashtag2"]},{"1377007734":["hashtag1","hashtag2"]},{"1377007742":["hashtag1","hashtag2"]},{"1377007727":["hashtag1","hashtag2"]},{"1377007732":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007729, 1377007738, 1377007734, 1377007742, 1377007727, 1377007732)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.9073851108551 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:18:02.834442 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/56/image_14082025_03_57_08_10548.jpg', '/media/data/images/14082025/03/57/image_14082025_03_57_19_10330.jpg', '/media/data/images/14082025/03/57/image_14082025_03_57_28_9142.jpg', '/media/data/images/14082025/03/57/image_14082025_03_57_38_10446.jpg', '/media/data/images/14082025/03/57/image_14082025_03_57_49_10457.jpg', '/media/data/images/14082025/03/57/image_14082025_03_57_58_9172.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/56/image_14082025_03_57_08_10548.jpg /media/data/images/14082025/03/57/image_14082025_03_57_19_10330.jpg /media/data/images/14082025/03/57/image_14082025_03_57_28_9142.jpg /media/data/images/14082025/03/57/image_14082025_03_57_38_10446.jpg /media/data/images/14082025/03/57/image_14082025_03_57_49_10457.jpg /media/data/images/14082025/03/57/image_14082025_03_57_58_9172.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007761","1377007770","1377007764","1377007758","1377007767","1377007754"],"photo_ids_order":["1377007754","1377007758","1377007761","1377007764","1377007767","1377007770"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b909ba614e99dd29d77d698add69c434.jpg","text":"TemporaryFile(/tmp/multipartBody5631768449750765124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170343809,"filename":"image_14082025_03_57_28_9142.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9015a0731946e30c2b951399c212a507.jpg","text":"TemporaryFile(/tmp/multipartBody1367464763171858145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170343809,"filename":"image_14082025_03_57_58_9172.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/08c3832400e03d881c1ecc04a4523f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3867235677592425978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170343809,"filename":"image_14082025_03_57_38_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79d615bf6bac0341e06b96424ba76150.jpg","text":"TemporaryFile(/tmp/multipartBody7121098602394103942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170343809,"filename":"image_14082025_03_57_19_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c114850fff1f3881d3d6922ee5d3a599.jpg","text":"TemporaryFile(/tmp/multipartBody7831503009322180340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170343809,"filename":"image_14082025_03_57_49_10457.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/db6d8d563f638223e7c85c527f016eca.jpg","text":"TemporaryFile(/tmp/multipartBody5680357715716815947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170343809,"filename":"image_14082025_03_57_08_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007761","file1":"1377007758","file0":"1377007754","file4":"1377007767","file5":"1377007770","file3":"1377007764"},"map_files_photo_id_array":[{"photo_id":"1377007770","filename":"file5"},{"photo_id":"1377007761","filename":"file2"},{"photo_id":"1377007767","filename":"file4"},{"photo_id":"1377007758","filename":"file1"},{"photo_id":"1377007754","filename":"file0"},{"photo_id":"1377007764","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007761":["hashtag1","hashtag2"]},{"1377007770":["hashtag1","hashtag2"]},{"1377007764":["hashtag1","hashtag2"]},{"1377007758":["hashtag1","hashtag2"]},{"1377007767":["hashtag1","hashtag2"]},{"1377007754":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007761, 1377007770, 1377007764, 1377007758, 1377007767, 1377007754)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.81826996803284 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:19:03.327822 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/57/image_14082025_03_58_09_10616.jpg', '/media/data/images/14082025/03/58/image_14082025_03_58_19_10345.jpg', '/media/data/images/14082025/03/58/image_14082025_03_58_28_9096.jpg', '/media/data/images/14082025/03/58/image_14082025_03_58_38_10325.jpg', '/media/data/images/14082025/03/58/image_14082025_03_58_49_10325.jpg', '/media/data/images/14082025/03/58/image_14082025_03_58_58_9099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/57/image_14082025_03_58_09_10616.jpg /media/data/images/14082025/03/58/image_14082025_03_58_19_10345.jpg /media/data/images/14082025/03/58/image_14082025_03_58_28_9096.jpg /media/data/images/14082025/03/58/image_14082025_03_58_38_10325.jpg /media/data/images/14082025/03/58/image_14082025_03_58_49_10325.jpg /media/data/images/14082025/03/58/image_14082025_03_58_58_9099.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007866","1377007796","1377007800","1377007802","1377007861","1377007825"],"photo_ids_order":["1377007796","1377007800","1377007802","1377007825","1377007861","1377007866"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/243b80bee48b616eb43cadfdd7f7172e.jpg","text":"TemporaryFile(/tmp/multipartBody4281446916318862852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170404312,"filename":"image_14082025_03_58_58_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd5119bbe63f394699168edb85b7a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody4505443021825488505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170404312,"filename":"image_14082025_03_58_09_10616.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7aa69d6174a035606a2d404a4b1dbdb5.jpg","text":"TemporaryFile(/tmp/multipartBody5500154348134523647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170404312,"filename":"image_14082025_03_58_19_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e1c6960425abc2d862256e9416e1730.jpg","text":"TemporaryFile(/tmp/multipartBody2473512503588450851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170404312,"filename":"image_14082025_03_58_28_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d326913fabc8c6522d581542135596c.jpg","text":"TemporaryFile(/tmp/multipartBody611666283812890535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170404312,"filename":"image_14082025_03_58_49_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2ab607eb6f9336a0ebc4b386684946b.jpg","text":"TemporaryFile(/tmp/multipartBody8619677010826969223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170404312,"filename":"image_14082025_03_58_38_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007802","file1":"1377007800","file0":"1377007796","file4":"1377007861","file5":"1377007866","file3":"1377007825"},"map_files_photo_id_array":[{"photo_id":"1377007866","filename":"file5"},{"photo_id":"1377007802","filename":"file2"},{"photo_id":"1377007861","filename":"file4"},{"photo_id":"1377007800","filename":"file1"},{"photo_id":"1377007796","filename":"file0"},{"photo_id":"1377007825","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007866":["hashtag1","hashtag2"]},{"1377007796":["hashtag1","hashtag2"]},{"1377007800":["hashtag1","hashtag2"]},{"1377007802":["hashtag1","hashtag2"]},{"1377007861":["hashtag1","hashtag2"]},{"1377007825":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007866, 1377007796, 1377007800, 1377007802, 1377007861, 1377007825)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.92500114440918 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:20:03.166747 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/58/image_14082025_03_59_08_10371.jpg', '/media/data/images/14082025/03/59/image_14082025_03_59_19_10412.jpg', '/media/data/images/14082025/03/59/image_14082025_03_59_28_9245.jpg', '/media/data/images/14082025/03/59/image_14082025_03_59_38_10326.jpg', '/media/data/images/14082025/03/59/image_14082025_03_59_49_10376.jpg', '/media/data/images/14082025/03/59/image_14082025_03_59_59_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/58/image_14082025_03_59_08_10371.jpg /media/data/images/14082025/03/59/image_14082025_03_59_19_10412.jpg /media/data/images/14082025/03/59/image_14082025_03_59_28_9245.jpg /media/data/images/14082025/03/59/image_14082025_03_59_38_10326.jpg /media/data/images/14082025/03/59/image_14082025_03_59_49_10376.jpg /media/data/images/14082025/03/59/image_14082025_03_59_59_10405.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007927","1377007915","1377007918","1377007920","1377007922","1377007925"],"photo_ids_order":["1377007915","1377007918","1377007920","1377007922","1377007925","1377007927"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29e06e6b9473de7fa06257ec10deb7f3.jpg","text":"TemporaryFile(/tmp/multipartBody4778619725561675869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170464172,"filename":"image_14082025_03_59_59_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ae6500a603223ff480262d83d326d83.jpg","text":"TemporaryFile(/tmp/multipartBody7887650455844236700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170464172,"filename":"image_14082025_03_59_08_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f64d7e9ab9c1cb48f60bc57772afff58.jpg","text":"TemporaryFile(/tmp/multipartBody9002594585616077636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170464172,"filename":"image_14082025_03_59_19_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ce5aa7ae239400770ada7c10f523691.jpg","text":"TemporaryFile(/tmp/multipartBody3690743989394830118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170464172,"filename":"image_14082025_03_59_28_9245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fa9510ffa080bc7aa9f54b88fe32dce.jpg","text":"TemporaryFile(/tmp/multipartBody5324014408380583113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170464172,"filename":"image_14082025_03_59_38_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e91b16930eef50ef23ca5de1e856a47d.jpg","text":"TemporaryFile(/tmp/multipartBody4256941569986160621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170464172,"filename":"image_14082025_03_59_49_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007920","file1":"1377007918","file0":"1377007915","file4":"1377007925","file5":"1377007927","file3":"1377007922"},"map_files_photo_id_array":[{"photo_id":"1377007927","filename":"file5"},{"photo_id":"1377007920","filename":"file2"},{"photo_id":"1377007925","filename":"file4"},{"photo_id":"1377007918","filename":"file1"},{"photo_id":"1377007915","filename":"file0"},{"photo_id":"1377007922","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007927":["hashtag1","hashtag2"]},{"1377007915":["hashtag1","hashtag2"]},{"1377007918":["hashtag1","hashtag2"]},{"1377007920":["hashtag1","hashtag2"]},{"1377007922":["hashtag1","hashtag2"]},{"1377007925":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007927, 1377007915, 1377007918, 1377007920, 1377007922, 1377007925)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.24657607078552 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:21:03.407669 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/03/59/image_14082025_04_00_08_9153.jpg', '/media/data/images/14082025/04/00/image_14082025_04_00_18_10340.jpg', '/media/data/images/14082025/04/00/image_14082025_04_00_29_10425.jpg', '/media/data/images/14082025/04/00/image_14082025_04_00_38_9088.jpg', '/media/data/images/14082025/04/00/image_14082025_04_00_48_10333.jpg', '/media/data/images/14082025/04/00/image_14082025_04_00_59_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/03/59/image_14082025_04_00_08_9153.jpg /media/data/images/14082025/04/00/image_14082025_04_00_18_10340.jpg /media/data/images/14082025/04/00/image_14082025_04_00_29_10425.jpg /media/data/images/14082025/04/00/image_14082025_04_00_38_9088.jpg /media/data/images/14082025/04/00/image_14082025_04_00_48_10333.jpg /media/data/images/14082025/04/00/image_14082025_04_00_59_10390.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007971","1377007947","1377007938","1377007958","1377007943","1377007975"],"photo_ids_order":["1377007938","1377007943","1377007947","1377007958","1377007971","1377007975"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e575a39dcacee324172c0709097cd14.jpg","text":"TemporaryFile(/tmp/multipartBody4586661518611857951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170524392,"filename":"image_14082025_04_00_48_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e12a5756c33346533332ac8e53ce4c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6736987852952127589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170524392,"filename":"image_14082025_04_00_29_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/894f729a08f9200a678f60f5322b874e.jpg","text":"TemporaryFile(/tmp/multipartBody6190655120533581634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170524392,"filename":"image_14082025_04_00_08_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3870383c37a770e7df28de8c5189efb.jpg","text":"TemporaryFile(/tmp/multipartBody7473255655253206575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170524392,"filename":"image_14082025_04_00_38_9088.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0fb4b57231659e5d07e39c724198bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7201793140372890813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170524392,"filename":"image_14082025_04_00_18_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14d27570068b1c4f67aa1fcb3d8b37e3.jpg","text":"TemporaryFile(/tmp/multipartBody6790237653888803398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170524392,"filename":"image_14082025_04_00_59_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007947","file1":"1377007943","file0":"1377007938","file4":"1377007971","file5":"1377007975","file3":"1377007958"},"map_files_photo_id_array":[{"photo_id":"1377007975","filename":"file5"},{"photo_id":"1377007947","filename":"file2"},{"photo_id":"1377007971","filename":"file4"},{"photo_id":"1377007943","filename":"file1"},{"photo_id":"1377007938","filename":"file0"},{"photo_id":"1377007958","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007971":["hashtag1","hashtag2"]},{"1377007947":["hashtag1","hashtag2"]},{"1377007938":["hashtag1","hashtag2"]},{"1377007958":["hashtag1","hashtag2"]},{"1377007943":["hashtag1","hashtag2"]},{"1377007975":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007971, 1377007947, 1377007938, 1377007958, 1377007943, 1377007975)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.4498405456543 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:22:02.349490 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/01/image_14082025_04_01_08_9151.jpg', '/media/data/images/14082025/04/01/image_14082025_04_01_18_10379.jpg', '/media/data/images/14082025/04/01/image_14082025_04_01_29_10399.jpg', '/media/data/images/14082025/04/01/image_14082025_04_01_39_10331.jpg', '/media/data/images/14082025/04/01/image_14082025_04_01_48_9141.jpg', '/media/data/images/14082025/04/01/image_14082025_04_01_59_10406.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/01/image_14082025_04_01_08_9151.jpg /media/data/images/14082025/04/01/image_14082025_04_01_18_10379.jpg /media/data/images/14082025/04/01/image_14082025_04_01_29_10399.jpg /media/data/images/14082025/04/01/image_14082025_04_01_39_10331.jpg /media/data/images/14082025/04/01/image_14082025_04_01_48_9141.jpg /media/data/images/14082025/04/01/image_14082025_04_01_59_10406.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377007983","1377008004","1377008001","1377007994","1377007991","1377007988"],"photo_ids_order":["1377007983","1377007988","1377007991","1377007994","1377008001","1377008004"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3039523ce14b0cf1deb93aa1bb6f300d.jpg","text":"TemporaryFile(/tmp/multipartBody7313494326063869939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170583339,"filename":"image_14082025_04_01_08_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff611bdfd3ba0f963ad3854d779b2ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8342567864427968661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170583339,"filename":"image_14082025_04_01_59_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23a8f819a23e53203a02e1a8322938f0.jpg","text":"TemporaryFile(/tmp/multipartBody7834197651851846465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170583339,"filename":"image_14082025_04_01_48_9141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e93a4f0cf4168e8e9bfd9a92c4da2c3.jpg","text":"TemporaryFile(/tmp/multipartBody3411691838921732901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170583339,"filename":"image_14082025_04_01_39_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a8a42c17c143efe6badfa240257ba4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6138251478667803156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170583339,"filename":"image_14082025_04_01_29_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/976cbf3f05124f22d35f947502e1b0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2180523217336288547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170583339,"filename":"image_14082025_04_01_18_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377007991","file1":"1377007988","file0":"1377007983","file4":"1377008001","file5":"1377008004","file3":"1377007994"},"map_files_photo_id_array":[{"photo_id":"1377008004","filename":"file5"},{"photo_id":"1377007991","filename":"file2"},{"photo_id":"1377008001","filename":"file4"},{"photo_id":"1377007988","filename":"file1"},{"photo_id":"1377007983","filename":"file0"},{"photo_id":"1377007994","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377007983":["hashtag1","hashtag2"]},{"1377008004":["hashtag1","hashtag2"]},{"1377008001":["hashtag1","hashtag2"]},{"1377007994":["hashtag1","hashtag2"]},{"1377007991":["hashtag1","hashtag2"]},{"1377007988":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377007983, 1377008004, 1377008001, 1377007994, 1377007991, 1377007988)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.412516355514526 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:23:02.515304 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/02/image_14082025_04_02_09_10199.jpg', '/media/data/images/14082025/04/02/image_14082025_04_02_18_9238.jpg', '/media/data/images/14082025/04/02/image_14082025_04_02_28_10349.jpg', '/media/data/images/14082025/04/02/image_14082025_04_02_39_10365.jpg', '/media/data/images/14082025/04/02/image_14082025_04_02_49_10371.jpg', '/media/data/images/14082025/04/02/image_14082025_04_02_58_9176.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/02/image_14082025_04_02_09_10199.jpg /media/data/images/14082025/04/02/image_14082025_04_02_18_9238.jpg /media/data/images/14082025/04/02/image_14082025_04_02_28_10349.jpg /media/data/images/14082025/04/02/image_14082025_04_02_39_10365.jpg /media/data/images/14082025/04/02/image_14082025_04_02_49_10371.jpg /media/data/images/14082025/04/02/image_14082025_04_02_58_9176.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008028","1377008025","1377008033","1377008036","1377008021","1377008015"],"photo_ids_order":["1377008015","1377008021","1377008025","1377008028","1377008033","1377008036"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebf5eecd3af56afb548cadcde62651ab.jpg","text":"TemporaryFile(/tmp/multipartBody1401028737803577289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170643576,"filename":"image_14082025_04_02_39_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0aaeef45a233c853712b849fcd973f39.jpg","text":"TemporaryFile(/tmp/multipartBody733978826051297354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170643576,"filename":"image_14082025_04_02_28_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d9d6f49e55f682541b2cf516ce23e41.jpg","text":"TemporaryFile(/tmp/multipartBody8217771854337931995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170643576,"filename":"image_14082025_04_02_49_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35a1776d229bfa4e44ab212574582617.jpg","text":"TemporaryFile(/tmp/multipartBody7886087545437817812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170643576,"filename":"image_14082025_04_02_58_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2123a679e98f5a6ddd0f581670ad4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7646477143362295558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170643576,"filename":"image_14082025_04_02_18_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c42aa27fafb607214cc2ea99410262d.jpg","text":"TemporaryFile(/tmp/multipartBody4463751409244300777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170643576,"filename":"image_14082025_04_02_09_10199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008025","file1":"1377008021","file0":"1377008015","file4":"1377008033","file5":"1377008036","file3":"1377008028"},"map_files_photo_id_array":[{"photo_id":"1377008036","filename":"file5"},{"photo_id":"1377008025","filename":"file2"},{"photo_id":"1377008033","filename":"file4"},{"photo_id":"1377008021","filename":"file1"},{"photo_id":"1377008015","filename":"file0"},{"photo_id":"1377008028","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008028":["hashtag1","hashtag2"]},{"1377008025":["hashtag1","hashtag2"]},{"1377008033":["hashtag1","hashtag2"]},{"1377008036":["hashtag1","hashtag2"]},{"1377008021":["hashtag1","hashtag2"]},{"1377008015":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008028, 1377008025, 1377008033, 1377008036, 1377008021, 1377008015)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.602139949798584 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:24:02.891712 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/03/image_14082025_04_03_08_10160.jpg', '/media/data/images/14082025/04/03/image_14082025_04_03_19_10386.jpg', '/media/data/images/14082025/04/03/image_14082025_04_03_28_9212.jpg', '/media/data/images/14082025/04/03/image_14082025_04_03_38_10291.jpg', '/media/data/images/14082025/04/03/image_14082025_04_03_49_10266.jpg', '/media/data/images/14082025/04/03/image_14082025_04_03_59_10279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/03/image_14082025_04_03_08_10160.jpg /media/data/images/14082025/04/03/image_14082025_04_03_19_10386.jpg /media/data/images/14082025/04/03/image_14082025_04_03_28_9212.jpg /media/data/images/14082025/04/03/image_14082025_04_03_38_10291.jpg /media/data/images/14082025/04/03/image_14082025_04_03_49_10266.jpg /media/data/images/14082025/04/03/image_14082025_04_03_59_10279.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008073","1377008130","1377008057","1377008060","1377008062","1377008110"],"photo_ids_order":["1377008057","1377008060","1377008062","1377008073","1377008110","1377008130"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c5ce8589e47f9bf254188ad48470cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3483842533235749308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170703910,"filename":"image_14082025_04_03_38_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29ea70c23eebf2eb77e881fef62729c9.jpg","text":"TemporaryFile(/tmp/multipartBody9012049156896506936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170703910,"filename":"image_14082025_04_03_59_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66684871c010f2a0f2b757fe9658fbf9.jpg","text":"TemporaryFile(/tmp/multipartBody2582108896187503512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170703910,"filename":"image_14082025_04_03_08_10160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e55c4217d6b8e9ea9542c19803ae6466.jpg","text":"TemporaryFile(/tmp/multipartBody3405296582442600433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170703910,"filename":"image_14082025_04_03_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7583387251e8d9e6effe92544c683d4.jpg","text":"TemporaryFile(/tmp/multipartBody8950210388036439433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170703910,"filename":"image_14082025_04_03_28_9212.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/231723f68499dc4b0df1aa8d1520e161.jpg","text":"TemporaryFile(/tmp/multipartBody1212356721914604414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170703910,"filename":"image_14082025_04_03_49_10266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008062","file1":"1377008060","file0":"1377008057","file4":"1377008110","file5":"1377008130","file3":"1377008073"},"map_files_photo_id_array":[{"photo_id":"1377008130","filename":"file5"},{"photo_id":"1377008062","filename":"file2"},{"photo_id":"1377008110","filename":"file4"},{"photo_id":"1377008060","filename":"file1"},{"photo_id":"1377008057","filename":"file0"},{"photo_id":"1377008073","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008073":["hashtag1","hashtag2"]},{"1377008130":["hashtag1","hashtag2"]},{"1377008057":["hashtag1","hashtag2"]},{"1377008060":["hashtag1","hashtag2"]},{"1377008062":["hashtag1","hashtag2"]},{"1377008110":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008073, 1377008130, 1377008057, 1377008060, 1377008062, 1377008110)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.82185959815979 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:25:03.226307 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/04/image_14082025_04_04_08_9313.jpg', '/media/data/images/14082025/04/05/image_14082025_04_05_48_9100.jpg', '/media/data/images/14082025/04/06/image_14082025_04_06_29_10281.jpg', '/media/data/images/14082025/04/06/image_14082025_04_06_38_9179.jpg', '/media/data/images/14082025/04/06/image_14082025_04_06_48_10275.jpg', '/media/data/images/14082025/04/06/image_14082025_04_06_59_10429.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/04/image_14082025_04_04_08_9313.jpg /media/data/images/14082025/04/05/image_14082025_04_05_48_9100.jpg /media/data/images/14082025/04/06/image_14082025_04_06_29_10281.jpg /media/data/images/14082025/04/06/image_14082025_04_06_38_9179.jpg /media/data/images/14082025/04/06/image_14082025_04_06_48_10275.jpg /media/data/images/14082025/04/06/image_14082025_04_06_59_10429.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008232","1377008226","1377008243","1377008240","1377008236","1377008245"],"photo_ids_order":["1377008226","1377008232","1377008236","1377008240","1377008243","1377008245"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f5644cf818db13bd6d3b548e9fb7d21.jpg","text":"TemporaryFile(/tmp/multipartBody8980564893290695186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170764232,"filename":"image_14082025_04_05_48_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c0bccd1bc78b011bdcdd6e4062e52e1.jpg","text":"TemporaryFile(/tmp/multipartBody9006453820675492632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170764232,"filename":"image_14082025_04_04_08_9313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec181bfa19e38a0cfebada98ac73c1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1071691812369525891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170764232,"filename":"image_14082025_04_06_48_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05c46042f7b3411fac7cf015bd81f196.jpg","text":"TemporaryFile(/tmp/multipartBody530201410602426004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170764232,"filename":"image_14082025_04_06_38_9179.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b9cb05d78a3a92a3ca7c88bfb061d36.jpg","text":"TemporaryFile(/tmp/multipartBody6143662952619347011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170764232,"filename":"image_14082025_04_06_29_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/844a0de4a56113f4321c8c25e680d560.jpg","text":"TemporaryFile(/tmp/multipartBody176509243323468717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170764232,"filename":"image_14082025_04_06_59_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008236","file1":"1377008232","file0":"1377008226","file4":"1377008243","file5":"1377008245","file3":"1377008240"},"map_files_photo_id_array":[{"photo_id":"1377008245","filename":"file5"},{"photo_id":"1377008236","filename":"file2"},{"photo_id":"1377008243","filename":"file4"},{"photo_id":"1377008232","filename":"file1"},{"photo_id":"1377008226","filename":"file0"},{"photo_id":"1377008240","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008232":["hashtag1","hashtag2"]},{"1377008226":["hashtag1","hashtag2"]},{"1377008243":["hashtag1","hashtag2"]},{"1377008240":["hashtag1","hashtag2"]},{"1377008236":["hashtag1","hashtag2"]},{"1377008245":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008232, 1377008226, 1377008243, 1377008240, 1377008236, 1377008245)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.80717730522156 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:26:03.041228 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/07/image_14082025_04_07_09_10115.jpg', '/media/data/images/14082025/04/07/image_14082025_04_07_18_9187.jpg', '/media/data/images/14082025/04/07/image_14082025_04_07_29_10427.jpg', '/media/data/images/14082025/04/07/image_14082025_04_07_38_9191.jpg', '/media/data/images/14082025/04/07/image_14082025_04_07_49_10337.jpg', '/media/data/images/14082025/04/07/image_14082025_04_07_58_9940.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/07/image_14082025_04_07_09_10115.jpg /media/data/images/14082025/04/07/image_14082025_04_07_18_9187.jpg /media/data/images/14082025/04/07/image_14082025_04_07_29_10427.jpg /media/data/images/14082025/04/07/image_14082025_04_07_38_9191.jpg /media/data/images/14082025/04/07/image_14082025_04_07_49_10337.jpg /media/data/images/14082025/04/07/image_14082025_04_07_58_9940.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008355","1377008409","1377008432","1377008389","1377008401","1377008404"],"photo_ids_order":["1377008355","1377008389","1377008401","1377008404","1377008409","1377008432"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ebd6ce2a3f8bd09af1258cd92df34db.jpg","text":"TemporaryFile(/tmp/multipartBody4091872897820208948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170824016,"filename":"image_14082025_04_07_09_10115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0c8eb43c0779508696e2f6b6aca9323.jpg","text":"TemporaryFile(/tmp/multipartBody2926561822631097915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170824016,"filename":"image_14082025_04_07_49_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29fda88e44982ed23146beb8fcf1d13a.jpg","text":"TemporaryFile(/tmp/multipartBody8299685901341374968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170824016,"filename":"image_14082025_04_07_58_9940.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d7cae0d8dc177df9c23e8b55292a2999.jpg","text":"TemporaryFile(/tmp/multipartBody290747392759753487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170824016,"filename":"image_14082025_04_07_18_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c30004ee3f37020043a3e67107193195.jpg","text":"TemporaryFile(/tmp/multipartBody8861892090824295567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170824016,"filename":"image_14082025_04_07_29_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88bac6cdb25b356a53c967764eccb99d.jpg","text":"TemporaryFile(/tmp/multipartBody4175597133013323055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170824016,"filename":"image_14082025_04_07_38_9191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008401","file1":"1377008389","file0":"1377008355","file4":"1377008409","file5":"1377008432","file3":"1377008404"},"map_files_photo_id_array":[{"photo_id":"1377008432","filename":"file5"},{"photo_id":"1377008401","filename":"file2"},{"photo_id":"1377008409","filename":"file4"},{"photo_id":"1377008389","filename":"file1"},{"photo_id":"1377008355","filename":"file0"},{"photo_id":"1377008404","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008355":["hashtag1","hashtag2"]},{"1377008409":["hashtag1","hashtag2"]},{"1377008432":["hashtag1","hashtag2"]},{"1377008389":["hashtag1","hashtag2"]},{"1377008401":["hashtag1","hashtag2"]},{"1377008404":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008355, 1377008409, 1377008432, 1377008389, 1377008401, 1377008404)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.078701972961426 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:27:03.341602 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/08/image_14082025_04_08_08_10160.jpg', '/media/data/images/14082025/04/08/image_14082025_04_08_19_10370.jpg', '/media/data/images/14082025/04/08/image_14082025_04_08_28_9185.jpg', '/media/data/images/14082025/04/08/image_14082025_04_08_38_10357.jpg', '/media/data/images/14082025/04/08/image_14082025_04_08_49_10390.jpg', '/media/data/images/14082025/04/08/image_14082025_04_08_59_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/08/image_14082025_04_08_08_10160.jpg /media/data/images/14082025/04/08/image_14082025_04_08_19_10370.jpg /media/data/images/14082025/04/08/image_14082025_04_08_28_9185.jpg /media/data/images/14082025/04/08/image_14082025_04_08_38_10357.jpg /media/data/images/14082025/04/08/image_14082025_04_08_49_10390.jpg /media/data/images/14082025/04/08/image_14082025_04_08_59_10397.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008505","1377008529","1377008508","1377008512","1377008515","1377008500"],"photo_ids_order":["1377008500","1377008505","1377008508","1377008512","1377008515","1377008529"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c532c9a42b0d830c1dc15a82b1e16756.jpg","text":"TemporaryFile(/tmp/multipartBody2442927772650050112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170884366,"filename":"image_14082025_04_08_19_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ab6fd9660b2920719beef6e9f7c2933.jpg","text":"TemporaryFile(/tmp/multipartBody7105959035204314422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170884366,"filename":"image_14082025_04_08_59_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fede168b0ce16913fc4fbaba0a09c75b.jpg","text":"TemporaryFile(/tmp/multipartBody9107229430818337542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170884366,"filename":"image_14082025_04_08_28_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81f0159070ab32a6e711657fb1882234.jpg","text":"TemporaryFile(/tmp/multipartBody3603230448184310544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170884366,"filename":"image_14082025_04_08_38_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f3c29d352f1e083fdb2e261ce455d74c.jpg","text":"TemporaryFile(/tmp/multipartBody3915131219474504628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170884366,"filename":"image_14082025_04_08_49_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50b6e3d7e86c145ac8ec06dc2f5167ba.jpg","text":"TemporaryFile(/tmp/multipartBody8931238027845730793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170884366,"filename":"image_14082025_04_08_08_10160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008508","file1":"1377008505","file0":"1377008500","file4":"1377008515","file5":"1377008529","file3":"1377008512"},"map_files_photo_id_array":[{"photo_id":"1377008529","filename":"file5"},{"photo_id":"1377008508","filename":"file2"},{"photo_id":"1377008515","filename":"file4"},{"photo_id":"1377008505","filename":"file1"},{"photo_id":"1377008500","filename":"file0"},{"photo_id":"1377008512","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008505":["hashtag1","hashtag2"]},{"1377008529":["hashtag1","hashtag2"]},{"1377008508":["hashtag1","hashtag2"]},{"1377008512":["hashtag1","hashtag2"]},{"1377008515":["hashtag1","hashtag2"]},{"1377008500":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008505, 1377008529, 1377008508, 1377008512, 1377008515, 1377008500)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.03042697906494 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:28:03.141701 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/09/image_14082025_04_09_08_8906.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_18_10404.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_39_10339.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_48_9069.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_58_10369.jpg', '/media/data/images/14082025/04/10/image_14082025_04_10_09_10596.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/09/image_14082025_04_09_08_8906.jpg /media/data/images/14082025/04/09/image_14082025_04_09_18_10404.jpg /media/data/images/14082025/04/09/image_14082025_04_09_39_10339.jpg /media/data/images/14082025/04/09/image_14082025_04_09_48_9069.jpg /media/data/images/14082025/04/09/image_14082025_04_09_58_10369.jpg /media/data/images/14082025/04/10/image_14082025_04_10_09_10596.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5800259113311768 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:28:22.554843 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/09/image_14082025_04_09_08_8906.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_18_10404.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_39_10339.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_48_9069.jpg', '/media/data/images/14082025/04/09/image_14082025_04_09_58_10369.jpg', '/media/data/images/14082025/04/10/image_14082025_04_10_09_10596.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/09/image_14082025_04_09_08_8906.jpg /media/data/images/14082025/04/09/image_14082025_04_09_18_10404.jpg /media/data/images/14082025/04/09/image_14082025_04_09_39_10339.jpg /media/data/images/14082025/04/09/image_14082025_04_09_48_9069.jpg /media/data/images/14082025/04/09/image_14082025_04_09_58_10369.jpg /media/data/images/14082025/04/10/image_14082025_04_10_09_10596.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008652","1377008637","1377008648","1377008642","1377008662","1377008665"],"photo_ids_order":["1377008637","1377008642","1377008648","1377008652","1377008662","1377008665"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1cbf1842543f72c5cc21d43cb146cf51.jpg","text":"TemporaryFile(/tmp/multipartBody5806608901682973426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170963485,"filename":"image_14082025_04_09_48_9069.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5c193967206f6cd60120b5c32d63618.jpg","text":"TemporaryFile(/tmp/multipartBody243241143101084747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170963485,"filename":"image_14082025_04_09_08_8906.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6219dea6eb4e8331574d431d9eca0e7c.jpg","text":"TemporaryFile(/tmp/multipartBody3286272676683944213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170963485,"filename":"image_14082025_04_09_39_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0198ec530f042674d831bf5962917ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7166569694922067223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170963485,"filename":"image_14082025_04_09_18_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/603e031337936fd977aecf8736271885.jpg","text":"TemporaryFile(/tmp/multipartBody8614386467644618348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170963485,"filename":"image_14082025_04_09_58_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2c17cecf439709ec9917a8d677bf497.jpg","text":"TemporaryFile(/tmp/multipartBody3835308388932168007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755170963485,"filename":"image_14082025_04_10_09_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008648","file1":"1377008642","file0":"1377008637","file4":"1377008662","file5":"1377008665","file3":"1377008652"},"map_files_photo_id_array":[{"photo_id":"1377008665","filename":"file5"},{"photo_id":"1377008648","filename":"file2"},{"photo_id":"1377008662","filename":"file4"},{"photo_id":"1377008642","filename":"file1"},{"photo_id":"1377008637","filename":"file0"},{"photo_id":"1377008652","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008652":["hashtag1","hashtag2"]},{"1377008637":["hashtag1","hashtag2"]},{"1377008648":["hashtag1","hashtag2"]},{"1377008642":["hashtag1","hashtag2"]},{"1377008662":["hashtag1","hashtag2"]},{"1377008665":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008652, 1377008637, 1377008648, 1377008642, 1377008662, 1377008665)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.23136067390442 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:29:22.648166 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/10/image_14082025_04_10_18_9045.jpg', '/media/data/images/14082025/04/10/image_14082025_04_10_28_10376.jpg', '/media/data/images/14082025/04/10/image_14082025_04_10_39_10452.jpg', '/media/data/images/14082025/04/10/image_14082025_04_10_48_9072.jpg', '/media/data/images/14082025/04/10/image_14082025_04_10_59_10609.jpg', '/media/data/images/14082025/04/11/image_14082025_04_11_09_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/10/image_14082025_04_10_18_9045.jpg /media/data/images/14082025/04/10/image_14082025_04_10_28_10376.jpg /media/data/images/14082025/04/10/image_14082025_04_10_39_10452.jpg /media/data/images/14082025/04/10/image_14082025_04_10_48_9072.jpg /media/data/images/14082025/04/10/image_14082025_04_10_59_10609.jpg /media/data/images/14082025/04/11/image_14082025_04_11_09_10323.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008704","1377008696","1377008700","1377008738","1377008692","1377008698"],"photo_ids_order":["1377008692","1377008696","1377008698","1377008700","1377008704","1377008738"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c500408ced620f92955033a84b4cd469.jpg","text":"TemporaryFile(/tmp/multipartBody6757268575269941456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171023676,"filename":"image_14082025_04_10_59_10609.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6926335833562419a3983222b2953dd0.jpg","text":"TemporaryFile(/tmp/multipartBody7392605133672317027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171023676,"filename":"image_14082025_04_10_28_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b9b12021947f4e82e812cbeb59466df2.jpg","text":"TemporaryFile(/tmp/multipartBody5472066691354683957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171023676,"filename":"image_14082025_04_10_48_9072.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f119bbb46c6d35f338451eb43367034.jpg","text":"TemporaryFile(/tmp/multipartBody8375479987636422298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171023676,"filename":"image_14082025_04_11_09_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bcc430f0f1b206c2e84805e6eaace91b.jpg","text":"TemporaryFile(/tmp/multipartBody6747776436823052505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171023676,"filename":"image_14082025_04_10_18_9045.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c046b0bce34056c23c5474ed95c26a39.jpg","text":"TemporaryFile(/tmp/multipartBody8896858137499410588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171023676,"filename":"image_14082025_04_10_39_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008698","file1":"1377008696","file0":"1377008692","file4":"1377008704","file5":"1377008738","file3":"1377008700"},"map_files_photo_id_array":[{"photo_id":"1377008738","filename":"file5"},{"photo_id":"1377008698","filename":"file2"},{"photo_id":"1377008704","filename":"file4"},{"photo_id":"1377008696","filename":"file1"},{"photo_id":"1377008692","filename":"file0"},{"photo_id":"1377008700","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008704":["hashtag1","hashtag2"]},{"1377008696":["hashtag1","hashtag2"]},{"1377008700":["hashtag1","hashtag2"]},{"1377008738":["hashtag1","hashtag2"]},{"1377008692":["hashtag1","hashtag2"]},{"1377008698":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008704, 1377008696, 1377008700, 1377008738, 1377008692, 1377008698)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.248647928237915 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:30:22.713905 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/11/image_14082025_04_11_18_9167.jpg', '/media/data/images/14082025/04/11/image_14082025_04_11_28_10354.jpg', '/media/data/images/14082025/04/11/image_14082025_04_11_39_10322.jpg', '/media/data/images/14082025/04/11/image_14082025_04_11_49_10333.jpg', '/media/data/images/14082025/04/11/image_14082025_04_11_58_9075.jpg', '/media/data/images/14082025/04/12/image_14082025_04_12_08_10274.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/11/image_14082025_04_11_18_9167.jpg /media/data/images/14082025/04/11/image_14082025_04_11_28_10354.jpg /media/data/images/14082025/04/11/image_14082025_04_11_39_10322.jpg /media/data/images/14082025/04/11/image_14082025_04_11_49_10333.jpg /media/data/images/14082025/04/11/image_14082025_04_11_58_9075.jpg /media/data/images/14082025/04/12/image_14082025_04_12_08_10274.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008850","1377008847","1377008844","1377008825","1377008849","1377008833"],"photo_ids_order":["1377008825","1377008833","1377008844","1377008847","1377008849","1377008850"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5c765657632598a03df8763ee9f5d18.jpg","text":"TemporaryFile(/tmp/multipartBody7253583390801318875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171083683,"filename":"image_14082025_04_12_08_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/294f2766554899c28ad3f11c754f8024.jpg","text":"TemporaryFile(/tmp/multipartBody4233331045511349620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171083683,"filename":"image_14082025_04_11_49_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2d0b7caa2452e530688dc9ce0b87907.jpg","text":"TemporaryFile(/tmp/multipartBody5898972934032595096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171083683,"filename":"image_14082025_04_11_39_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3ac63384ef4bc52395e8395e7aef863.jpg","text":"TemporaryFile(/tmp/multipartBody7817796124326931087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171083683,"filename":"image_14082025_04_11_18_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c4557948798aa8745a0f56492cf647d.jpg","text":"TemporaryFile(/tmp/multipartBody4767517446208698649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171083683,"filename":"image_14082025_04_11_58_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/844c127bcee3e2c337fe8c26142dfbd9.jpg","text":"TemporaryFile(/tmp/multipartBody3852311364571029173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171083683,"filename":"image_14082025_04_11_28_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008844","file1":"1377008833","file0":"1377008825","file4":"1377008849","file5":"1377008850","file3":"1377008847"},"map_files_photo_id_array":[{"photo_id":"1377008850","filename":"file5"},{"photo_id":"1377008844","filename":"file2"},{"photo_id":"1377008849","filename":"file4"},{"photo_id":"1377008833","filename":"file1"},{"photo_id":"1377008825","filename":"file0"},{"photo_id":"1377008847","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008850":["hashtag1","hashtag2"]},{"1377008847":["hashtag1","hashtag2"]},{"1377008844":["hashtag1","hashtag2"]},{"1377008825":["hashtag1","hashtag2"]},{"1377008849":["hashtag1","hashtag2"]},{"1377008833":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008850, 1377008847, 1377008844, 1377008825, 1377008849, 1377008833)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.00331687927246 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:31:21.839423 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/12/image_14082025_04_12_19_10308.jpg', '/media/data/images/14082025/04/12/image_14082025_04_12_28_9227.jpg', '/media/data/images/14082025/04/12/image_14082025_04_12_38_10269.jpg', '/media/data/images/14082025/04/12/image_14082025_04_12_49_10475.jpg', '/media/data/images/14082025/04/12/image_14082025_04_12_58_9366.jpg', '/media/data/images/14082025/04/12/image_14082025_04_13_08_10313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/12/image_14082025_04_12_19_10308.jpg /media/data/images/14082025/04/12/image_14082025_04_12_28_9227.jpg /media/data/images/14082025/04/12/image_14082025_04_12_38_10269.jpg /media/data/images/14082025/04/12/image_14082025_04_12_49_10475.jpg /media/data/images/14082025/04/12/image_14082025_04_12_58_9366.jpg /media/data/images/14082025/04/12/image_14082025_04_13_08_10313.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377008946","1377008949","1377008934","1377008876","1377008900","1377008941"],"photo_ids_order":["1377008876","1377008900","1377008934","1377008941","1377008946","1377008949"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3aeebbb2ce63dbf9fac47f628a9059b.jpg","text":"TemporaryFile(/tmp/multipartBody6187051994079884422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171142904,"filename":"image_14082025_04_12_58_9366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f0c0d8071afaf8108008628a319941a.jpg","text":"TemporaryFile(/tmp/multipartBody565119583552766903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171142904,"filename":"image_14082025_04_13_08_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/970dade7d546c61bf88388bd380923f6.jpg","text":"TemporaryFile(/tmp/multipartBody5257609586673948903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171142904,"filename":"image_14082025_04_12_38_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62fd5549549233cc1e76c133d6a55b44.jpg","text":"TemporaryFile(/tmp/multipartBody1577687275448788064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171142904,"filename":"image_14082025_04_12_19_10308.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5baab5b03fd8f9ecd16bd1c1135970be.jpg","text":"TemporaryFile(/tmp/multipartBody3596309324534939302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171142904,"filename":"image_14082025_04_12_28_9227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc2177d9b9d8e99178da0b7ce9600f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6308267001431923673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171142904,"filename":"image_14082025_04_12_49_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377008934","file1":"1377008900","file0":"1377008876","file4":"1377008946","file5":"1377008949","file3":"1377008941"},"map_files_photo_id_array":[{"photo_id":"1377008949","filename":"file5"},{"photo_id":"1377008934","filename":"file2"},{"photo_id":"1377008946","filename":"file4"},{"photo_id":"1377008900","filename":"file1"},{"photo_id":"1377008876","filename":"file0"},{"photo_id":"1377008941","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377008946":["hashtag1","hashtag2"]},{"1377008949":["hashtag1","hashtag2"]},{"1377008934":["hashtag1","hashtag2"]},{"1377008876":["hashtag1","hashtag2"]},{"1377008900":["hashtag1","hashtag2"]},{"1377008941":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377008946, 1377008949, 1377008934, 1377008876, 1377008900, 1377008941)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.132063150405884 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:32:21.948261 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/13/image_14082025_04_13_19_10401.jpg', '/media/data/images/14082025/04/13/image_14082025_04_13_28_9308.jpg', '/media/data/images/14082025/04/13/image_14082025_04_13_38_10285.jpg', '/media/data/images/14082025/04/13/image_14082025_04_13_49_10287.jpg', '/media/data/images/14082025/04/13/image_14082025_04_13_59_10321.jpg', '/media/data/images/14082025/04/14/image_14082025_04_14_08_9056.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/13/image_14082025_04_13_19_10401.jpg /media/data/images/14082025/04/13/image_14082025_04_13_28_9308.jpg /media/data/images/14082025/04/13/image_14082025_04_13_38_10285.jpg /media/data/images/14082025/04/13/image_14082025_04_13_49_10287.jpg /media/data/images/14082025/04/13/image_14082025_04_13_59_10321.jpg /media/data/images/14082025/04/14/image_14082025_04_14_08_9056.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009033","1377009071","1377008960","1377009064","1377009057","1377008994"],"photo_ids_order":["1377008960","1377008994","1377009033","1377009057","1377009064","1377009071"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e104b9d8bf59dab7aaeb49b20fb89f1.jpg","text":"TemporaryFile(/tmp/multipartBody6166320607698570598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171203729,"filename":"image_14082025_04_13_38_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2db5f1b7399d31a16068b29e0984191b.jpg","text":"TemporaryFile(/tmp/multipartBody6173718150111815625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171203729,"filename":"image_14082025_04_14_08_9056.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d46fce47debcf22841a60348916db31.jpg","text":"TemporaryFile(/tmp/multipartBody8709704989482203655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171203729,"filename":"image_14082025_04_13_19_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c264c88090bc942ea1a7fdbfa7948dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6504430408214408335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171203729,"filename":"image_14082025_04_13_59_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e53665f11c90b7f13f7cb7ef6eb9347.jpg","text":"TemporaryFile(/tmp/multipartBody933305747211355882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171203729,"filename":"image_14082025_04_13_49_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/def732c24ecd6df060d7664444e49c95.jpg","text":"TemporaryFile(/tmp/multipartBody4099419313596741480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171203729,"filename":"image_14082025_04_13_28_9308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009033","file1":"1377008994","file0":"1377008960","file4":"1377009064","file5":"1377009071","file3":"1377009057"},"map_files_photo_id_array":[{"photo_id":"1377009071","filename":"file5"},{"photo_id":"1377009033","filename":"file2"},{"photo_id":"1377009064","filename":"file4"},{"photo_id":"1377008994","filename":"file1"},{"photo_id":"1377008960","filename":"file0"},{"photo_id":"1377009057","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009033":["hashtag1","hashtag2"]},{"1377009071":["hashtag1","hashtag2"]},{"1377008960":["hashtag1","hashtag2"]},{"1377009064":["hashtag1","hashtag2"]},{"1377009057":["hashtag1","hashtag2"]},{"1377008994":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009033, 1377009071, 1377008960, 1377009064, 1377009057, 1377008994)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.3180730342865 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:33:22.013382 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/14/image_14082025_04_14_29_10464.jpg', '/media/data/images/14082025/04/14/image_14082025_04_14_39_10278.jpg', '/media/data/images/14082025/04/14/image_14082025_04_14_48_9043.jpg', '/media/data/images/14082025/04/14/image_14082025_04_14_58_10278.jpg', '/media/data/images/14082025/04/15/image_14082025_04_15_09_10289.jpg', '/media/data/images/14082025/04/15/image_14082025_04_15_19_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/14/image_14082025_04_14_29_10464.jpg /media/data/images/14082025/04/14/image_14082025_04_14_39_10278.jpg /media/data/images/14082025/04/14/image_14082025_04_14_48_9043.jpg /media/data/images/14082025/04/14/image_14082025_04_14_58_10278.jpg /media/data/images/14082025/04/15/image_14082025_04_15_09_10289.jpg /media/data/images/14082025/04/15/image_14082025_04_15_19_10376.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009351","1377009312","1377009341","1377009326","1377009274","1377009337"],"photo_ids_order":["1377009274","1377009312","1377009326","1377009337","1377009341","1377009351"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d78d94127025da5f307052450262b870.jpg","text":"TemporaryFile(/tmp/multipartBody2048016338386279171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171263064,"filename":"image_14082025_04_15_19_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d67bc22cbb25aec5994551f434d9331.jpg","text":"TemporaryFile(/tmp/multipartBody397653881819728395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171263064,"filename":"image_14082025_04_14_39_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83098232c884fdfd3993d19ded5a12d5.jpg","text":"TemporaryFile(/tmp/multipartBody7825968243462328227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171263064,"filename":"image_14082025_04_15_09_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22830f995230e7d281a119d01446a608.jpg","text":"TemporaryFile(/tmp/multipartBody7501033173378761134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171263064,"filename":"image_14082025_04_14_48_9043.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3363367ddfb5de801edd7b7bc2a018f1.jpg","text":"TemporaryFile(/tmp/multipartBody6955342362572195502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171263064,"filename":"image_14082025_04_14_29_10464.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ff21ab91945b04b728edc9065f8d807.jpg","text":"TemporaryFile(/tmp/multipartBody3517248529773723077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171263064,"filename":"image_14082025_04_14_58_10278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009326","file1":"1377009312","file0":"1377009274","file4":"1377009341","file5":"1377009351","file3":"1377009337"},"map_files_photo_id_array":[{"photo_id":"1377009351","filename":"file5"},{"photo_id":"1377009326","filename":"file2"},{"photo_id":"1377009341","filename":"file4"},{"photo_id":"1377009312","filename":"file1"},{"photo_id":"1377009274","filename":"file0"},{"photo_id":"1377009337","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009351":["hashtag1","hashtag2"]},{"1377009312":["hashtag1","hashtag2"]},{"1377009341":["hashtag1","hashtag2"]},{"1377009326":["hashtag1","hashtag2"]},{"1377009274":["hashtag1","hashtag2"]},{"1377009337":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009351, 1377009312, 1377009341, 1377009326, 1377009274, 1377009337)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.848392724990845 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:34:22.127337 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/15/image_14082025_04_15_28_9114.jpg', '/media/data/images/14082025/04/15/image_14082025_04_15_39_10443.jpg', '/media/data/images/14082025/04/15/image_14082025_04_15_48_9813.jpg', '/media/data/images/14082025/04/15/image_14082025_04_15_59_10283.jpg', '/media/data/images/14082025/04/16/image_14082025_04_16_09_10305.jpg', '/media/data/images/14082025/04/16/image_14082025_04_16_18_9066.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/15/image_14082025_04_15_28_9114.jpg /media/data/images/14082025/04/15/image_14082025_04_15_39_10443.jpg /media/data/images/14082025/04/15/image_14082025_04_15_48_9813.jpg /media/data/images/14082025/04/15/image_14082025_04_15_59_10283.jpg /media/data/images/14082025/04/16/image_14082025_04_16_09_10305.jpg /media/data/images/14082025/04/16/image_14082025_04_16_18_9066.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009397","1377009385","1377009400","1377009390","1377009393","1377009381"],"photo_ids_order":["1377009381","1377009385","1377009390","1377009393","1377009397","1377009400"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4888f0f1d7e5afd79ddfc74a7c7aa27.jpg","text":"TemporaryFile(/tmp/multipartBody7005587413240310854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171323163,"filename":"image_14082025_04_16_09_10305.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20c31e60fe6bccdffd0bc4dd9f6964c9.jpg","text":"TemporaryFile(/tmp/multipartBody4844827719928830681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171323163,"filename":"image_14082025_04_15_39_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94ed4c314de87f98f5bc7b4242731e03.jpg","text":"TemporaryFile(/tmp/multipartBody7402246700512102353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171323163,"filename":"image_14082025_04_16_18_9066.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/04b2d235ff643f293b23363438fc3c10.jpg","text":"TemporaryFile(/tmp/multipartBody1275117771778941920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171323163,"filename":"image_14082025_04_15_48_9813.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a241351a9c635ecd0cb96a8097b9ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody8556015452780815200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171323163,"filename":"image_14082025_04_15_59_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/139709a7d8346a69a9b5daa868176b92.jpg","text":"TemporaryFile(/tmp/multipartBody9174806034193720429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171323163,"filename":"image_14082025_04_15_28_9114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009390","file1":"1377009385","file0":"1377009381","file4":"1377009397","file5":"1377009400","file3":"1377009393"},"map_files_photo_id_array":[{"photo_id":"1377009400","filename":"file5"},{"photo_id":"1377009390","filename":"file2"},{"photo_id":"1377009397","filename":"file4"},{"photo_id":"1377009385","filename":"file1"},{"photo_id":"1377009381","filename":"file0"},{"photo_id":"1377009393","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009397":["hashtag1","hashtag2"]},{"1377009385":["hashtag1","hashtag2"]},{"1377009400":["hashtag1","hashtag2"]},{"1377009390":["hashtag1","hashtag2"]},{"1377009393":["hashtag1","hashtag2"]},{"1377009381":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009397, 1377009385, 1377009400, 1377009390, 1377009393, 1377009381)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07618069648743 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:35:22.265916 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/16/image_14082025_04_16_28_10285.jpg', '/media/data/images/14082025/04/16/image_14082025_04_16_39_10627.jpg', '/media/data/images/14082025/04/16/image_14082025_04_16_48_9169.jpg', '/media/data/images/14082025/04/17/image_14082025_04_17_09_10405.jpg', '/media/data/images/14082025/04/17/image_14082025_04_17_18_9048.jpg', '/media/data/images/14082025/04/17/image_14082025_04_17_28_10301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/16/image_14082025_04_16_28_10285.jpg /media/data/images/14082025/04/16/image_14082025_04_16_39_10627.jpg /media/data/images/14082025/04/16/image_14082025_04_16_48_9169.jpg /media/data/images/14082025/04/17/image_14082025_04_17_09_10405.jpg /media/data/images/14082025/04/17/image_14082025_04_17_18_9048.jpg /media/data/images/14082025/04/17/image_14082025_04_17_28_10301.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009440","1377009443","1377009430","1377009433","1377009427","1377009436"],"photo_ids_order":["1377009427","1377009430","1377009433","1377009436","1377009440","1377009443"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8424374b3909ec75612ea1c85329a269.jpg","text":"TemporaryFile(/tmp/multipartBody1548895516421719781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171383317,"filename":"image_14082025_04_17_18_9048.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b51ea77371e6a24ec5083b45ccf95cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7359251239644912894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171383317,"filename":"image_14082025_04_17_28_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94ddae08567eb2310cbf9eeb3f1baec0.jpg","text":"TemporaryFile(/tmp/multipartBody3256620422179780474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171383317,"filename":"image_14082025_04_16_39_10627.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bee2af3bb8669999c30c76ff40cae7b.jpg","text":"TemporaryFile(/tmp/multipartBody3711118689428382997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171383317,"filename":"image_14082025_04_16_48_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca83f0cc33fecf1e4bf7934074169df5.jpg","text":"TemporaryFile(/tmp/multipartBody8709043116076939936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171383317,"filename":"image_14082025_04_16_28_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24ec43122e009660ef19f3f545eeaf6a.jpg","text":"TemporaryFile(/tmp/multipartBody6516042067847051420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171383317,"filename":"image_14082025_04_17_09_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009433","file1":"1377009430","file0":"1377009427","file4":"1377009440","file5":"1377009443","file3":"1377009436"},"map_files_photo_id_array":[{"photo_id":"1377009443","filename":"file5"},{"photo_id":"1377009433","filename":"file2"},{"photo_id":"1377009440","filename":"file4"},{"photo_id":"1377009430","filename":"file1"},{"photo_id":"1377009427","filename":"file0"},{"photo_id":"1377009436","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009440":["hashtag1","hashtag2"]},{"1377009443":["hashtag1","hashtag2"]},{"1377009430":["hashtag1","hashtag2"]},{"1377009433":["hashtag1","hashtag2"]},{"1377009427":["hashtag1","hashtag2"]},{"1377009436":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009440, 1377009443, 1377009430, 1377009433, 1377009427, 1377009436)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.87254595756531 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:36:22.367015 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/17/image_14082025_04_17_38_10280.jpg', '/media/data/images/14082025/04/17/image_14082025_04_17_49_10317.jpg', '/media/data/images/14082025/04/17/image_14082025_04_17_59_10267.jpg', '/media/data/images/14082025/04/18/image_14082025_04_18_08_9391.jpg', '/media/data/images/14082025/04/18/image_14082025_04_18_19_10384.jpg', '/media/data/images/14082025/04/18/image_14082025_04_18_28_9158.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/17/image_14082025_04_17_38_10280.jpg /media/data/images/14082025/04/17/image_14082025_04_17_49_10317.jpg /media/data/images/14082025/04/17/image_14082025_04_17_59_10267.jpg /media/data/images/14082025/04/18/image_14082025_04_18_08_9391.jpg /media/data/images/14082025/04/18/image_14082025_04_18_19_10384.jpg /media/data/images/14082025/04/18/image_14082025_04_18_28_9158.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009464","1377009458","1377009461","1377009455","1377009463","1377009453"],"photo_ids_order":["1377009453","1377009455","1377009458","1377009461","1377009463","1377009464"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4beb8be6025b7dda2fdcfadceae036a.jpg","text":"TemporaryFile(/tmp/multipartBody1339884555947683291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171443384,"filename":"image_14082025_04_18_28_9158.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/91ebf54b41ad8726b409c892b162a9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2831279216540888103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171443384,"filename":"image_14082025_04_17_59_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f0aac200893876358eb43b007cedbaf.jpg","text":"TemporaryFile(/tmp/multipartBody3571234930148783938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171443384,"filename":"image_14082025_04_18_08_9391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/978b5c7743b5596aed81d930a73df91a.jpg","text":"TemporaryFile(/tmp/multipartBody5234323505992266633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171443384,"filename":"image_14082025_04_17_49_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c4bba0f4b6db073a340cf94fa3df8dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8933591196974089185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171443384,"filename":"image_14082025_04_18_19_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/775ba35c04cbaa8b21323d8b346b0bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8836851450297819035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171443384,"filename":"image_14082025_04_17_38_10280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009458","file1":"1377009455","file0":"1377009453","file4":"1377009463","file5":"1377009464","file3":"1377009461"},"map_files_photo_id_array":[{"photo_id":"1377009464","filename":"file5"},{"photo_id":"1377009458","filename":"file2"},{"photo_id":"1377009463","filename":"file4"},{"photo_id":"1377009455","filename":"file1"},{"photo_id":"1377009453","filename":"file0"},{"photo_id":"1377009461","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009464":["hashtag1","hashtag2"]},{"1377009458":["hashtag1","hashtag2"]},{"1377009461":["hashtag1","hashtag2"]},{"1377009455":["hashtag1","hashtag2"]},{"1377009463":["hashtag1","hashtag2"]},{"1377009453":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009464, 1377009458, 1377009461, 1377009455, 1377009463, 1377009453)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.861804246902466 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:37:22.461075 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/18/image_14082025_04_18_39_10632.jpg', '/media/data/images/14082025/04/18/image_14082025_04_18_49_10313.jpg', '/media/data/images/14082025/04/18/image_14082025_04_18_58_9353.jpg', '/media/data/images/14082025/04/19/image_14082025_04_19_08_10222.jpg', '/media/data/images/14082025/04/19/image_14082025_04_19_19_10349.jpg', '/media/data/images/14082025/04/19/image_14082025_04_19_28_9088.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/18/image_14082025_04_18_39_10632.jpg /media/data/images/14082025/04/18/image_14082025_04_18_49_10313.jpg /media/data/images/14082025/04/18/image_14082025_04_18_58_9353.jpg /media/data/images/14082025/04/19/image_14082025_04_19_08_10222.jpg /media/data/images/14082025/04/19/image_14082025_04_19_19_10349.jpg /media/data/images/14082025/04/19/image_14082025_04_19_28_9088.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009494","1377009497","1377009485","1377009481","1377009490","1377009477"],"photo_ids_order":["1377009477","1377009481","1377009485","1377009490","1377009494","1377009497"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d211893866b5553c21c23e7bfc33421.jpg","text":"TemporaryFile(/tmp/multipartBody2166802410732252246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171503439,"filename":"image_14082025_04_19_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ab5c7cd0bd689b9ce0409f5efa5b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7445037790106302408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171503439,"filename":"image_14082025_04_19_28_9088.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4329bfcd111a79687ce835afa475cbdf.jpg","text":"TemporaryFile(/tmp/multipartBody1306508888082904349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171503439,"filename":"image_14082025_04_18_58_9353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a738ec3d775a5592f3a90ed9d1d7fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7009688215434568995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171503439,"filename":"image_14082025_04_18_49_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0083ba1316fbb32e1ca773bdae0de734.jpg","text":"TemporaryFile(/tmp/multipartBody8164601834730567161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171503439,"filename":"image_14082025_04_19_08_10222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3030302d8fd88deb1934be01b697d3ea.jpg","text":"TemporaryFile(/tmp/multipartBody2960581377559603465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171503439,"filename":"image_14082025_04_18_39_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009485","file1":"1377009481","file0":"1377009477","file4":"1377009494","file5":"1377009497","file3":"1377009490"},"map_files_photo_id_array":[{"photo_id":"1377009497","filename":"file5"},{"photo_id":"1377009485","filename":"file2"},{"photo_id":"1377009494","filename":"file4"},{"photo_id":"1377009481","filename":"file1"},{"photo_id":"1377009477","filename":"file0"},{"photo_id":"1377009490","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009494":["hashtag1","hashtag2"]},{"1377009497":["hashtag1","hashtag2"]},{"1377009485":["hashtag1","hashtag2"]},{"1377009481":["hashtag1","hashtag2"]},{"1377009490":["hashtag1","hashtag2"]},{"1377009477":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009494, 1377009497, 1377009485, 1377009481, 1377009490, 1377009477)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.32417178153992 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:38:22.570833 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/19/image_14082025_04_19_38_10465.jpg', '/media/data/images/14082025/04/19/image_14082025_04_19_49_10330.jpg', '/media/data/images/14082025/04/19/image_14082025_04_19_58_9136.jpg', '/media/data/images/14082025/04/19/image_14082025_04_20_08_10537.jpg', '/media/data/images/14082025/04/20/image_14082025_04_20_19_10348.jpg', '/media/data/images/14082025/04/20/image_14082025_04_20_29_10310.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/19/image_14082025_04_19_38_10465.jpg /media/data/images/14082025/04/19/image_14082025_04_19_49_10330.jpg /media/data/images/14082025/04/19/image_14082025_04_19_58_9136.jpg /media/data/images/14082025/04/19/image_14082025_04_20_08_10537.jpg /media/data/images/14082025/04/20/image_14082025_04_20_19_10348.jpg /media/data/images/14082025/04/20/image_14082025_04_20_29_10310.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009668","1377009665","1377009620","1377009661","1377009622","1377009645"],"photo_ids_order":["1377009620","1377009622","1377009645","1377009661","1377009665","1377009668"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09a3df8469ed8fefdf3cae2537deb66d.jpg","text":"TemporaryFile(/tmp/multipartBody9100150070570263418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171563607,"filename":"image_14082025_04_20_29_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a7a0ac9bbdcd4e508cfc2f97fc458e1.jpg","text":"TemporaryFile(/tmp/multipartBody5217430317483432646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171563607,"filename":"image_14082025_04_20_19_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/190efc66f2c186215d6129614511fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody1083439236842027531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171563607,"filename":"image_14082025_04_19_38_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bfd5e8a81a88975ab9b10155e38eef34.jpg","text":"TemporaryFile(/tmp/multipartBody6732793366955385049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171563607,"filename":"image_14082025_04_20_08_10537.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/480a52832c2b4418ff496e3ac1795267.jpg","text":"TemporaryFile(/tmp/multipartBody1128544042727033196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171563607,"filename":"image_14082025_04_19_49_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2471bc97cd06ef6e09eafc2555442dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8465348102737196417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171563607,"filename":"image_14082025_04_19_58_9136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009645","file1":"1377009622","file0":"1377009620","file4":"1377009665","file5":"1377009668","file3":"1377009661"},"map_files_photo_id_array":[{"photo_id":"1377009668","filename":"file5"},{"photo_id":"1377009645","filename":"file2"},{"photo_id":"1377009665","filename":"file4"},{"photo_id":"1377009622","filename":"file1"},{"photo_id":"1377009620","filename":"file0"},{"photo_id":"1377009661","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009668":["hashtag1","hashtag2"]},{"1377009665":["hashtag1","hashtag2"]},{"1377009620":["hashtag1","hashtag2"]},{"1377009661":["hashtag1","hashtag2"]},{"1377009622":["hashtag1","hashtag2"]},{"1377009645":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009668, 1377009665, 1377009620, 1377009661, 1377009622, 1377009645)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.46145462989807 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:39:22.673306 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/20/image_14082025_04_20_38_9049.jpg', '/media/data/images/14082025/04/20/image_14082025_04_20_49_10496.jpg', '/media/data/images/14082025/04/20/image_14082025_04_20_58_9420.jpg', '/media/data/images/14082025/04/20/image_14082025_04_21_08_10357.jpg', '/media/data/images/14082025/04/21/image_14082025_04_21_19_10330.jpg', '/media/data/images/14082025/04/21/image_14082025_04_21_28_9133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/20/image_14082025_04_20_38_9049.jpg /media/data/images/14082025/04/20/image_14082025_04_20_49_10496.jpg /media/data/images/14082025/04/20/image_14082025_04_20_58_9420.jpg /media/data/images/14082025/04/20/image_14082025_04_21_08_10357.jpg /media/data/images/14082025/04/21/image_14082025_04_21_19_10330.jpg /media/data/images/14082025/04/21/image_14082025_04_21_28_9133.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009796","1377009778","1377009787","1377009775","1377009780","1377009771"],"photo_ids_order":["1377009771","1377009775","1377009778","1377009780","1377009787","1377009796"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45a25c675ec38be7eb637b6a3ad8a88f.jpg","text":"TemporaryFile(/tmp/multipartBody2017203217384693077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171623717,"filename":"image_14082025_04_21_28_9133.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7efb159fa0438bf71fbf5a145d6a046a.jpg","text":"TemporaryFile(/tmp/multipartBody6370337852877752339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171623717,"filename":"image_14082025_04_20_58_9420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5bdf2a90dda897fa7af53b29c82b69f.jpg","text":"TemporaryFile(/tmp/multipartBody6312326601616835944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171623717,"filename":"image_14082025_04_21_19_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5106eb63f917d4e41ca7999aefd0a83a.jpg","text":"TemporaryFile(/tmp/multipartBody5058204892969095358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171623717,"filename":"image_14082025_04_20_49_10496.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd74e08e84e0158757f122f801cf8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6627815464285637728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171623717,"filename":"image_14082025_04_21_08_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/351cf7af5e61eca93d7ca3e93fd69668.jpg","text":"TemporaryFile(/tmp/multipartBody3714957101704436825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171623717,"filename":"image_14082025_04_20_38_9049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009778","file1":"1377009775","file0":"1377009771","file4":"1377009787","file5":"1377009796","file3":"1377009780"},"map_files_photo_id_array":[{"photo_id":"1377009796","filename":"file5"},{"photo_id":"1377009778","filename":"file2"},{"photo_id":"1377009787","filename":"file4"},{"photo_id":"1377009775","filename":"file1"},{"photo_id":"1377009771","filename":"file0"},{"photo_id":"1377009780","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009796":["hashtag1","hashtag2"]},{"1377009778":["hashtag1","hashtag2"]},{"1377009787":["hashtag1","hashtag2"]},{"1377009775":["hashtag1","hashtag2"]},{"1377009780":["hashtag1","hashtag2"]},{"1377009771":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009796, 1377009778, 1377009787, 1377009775, 1377009780, 1377009771)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.395015716552734 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:40:21.796516 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/21/image_14082025_04_21_38_10280.jpg', '/media/data/images/14082025/04/21/image_14082025_04_21_48_10368.jpg', '/media/data/images/14082025/04/21/image_14082025_04_21_59_10310.jpg', '/media/data/images/14082025/04/22/image_14082025_04_22_08_9285.jpg', '/media/data/images/14082025/04/22/image_14082025_04_22_19_10433.jpg', '/media/data/images/14082025/04/22/image_14082025_04_22_29_10269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/21/image_14082025_04_21_38_10280.jpg /media/data/images/14082025/04/21/image_14082025_04_21_48_10368.jpg /media/data/images/14082025/04/21/image_14082025_04_21_59_10310.jpg /media/data/images/14082025/04/22/image_14082025_04_22_08_9285.jpg /media/data/images/14082025/04/22/image_14082025_04_22_19_10433.jpg /media/data/images/14082025/04/22/image_14082025_04_22_29_10269.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009816","1377009804","1377009821","1377009812","1377009809","1377009823"],"photo_ids_order":["1377009804","1377009809","1377009812","1377009816","1377009821","1377009823"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c163e706fb3345ddda24a911b4be18e.jpg","text":"TemporaryFile(/tmp/multipartBody6099393967266638246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171682828,"filename":"image_14082025_04_22_08_9285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65d50c4fb8ce17f577e0227492a652a3.jpg","text":"TemporaryFile(/tmp/multipartBody6958260664195758506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171682828,"filename":"image_14082025_04_21_38_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d36cdaadbc5bed89d9209ce00afdf35.jpg","text":"TemporaryFile(/tmp/multipartBody2767761055065896253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171682828,"filename":"image_14082025_04_22_19_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a7cdf3752da99f3c7385102a4078e67.jpg","text":"TemporaryFile(/tmp/multipartBody4359050411911511744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171682828,"filename":"image_14082025_04_21_59_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/176f15eee836dc240b915e38eab177b5.jpg","text":"TemporaryFile(/tmp/multipartBody1114884952610242851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171682828,"filename":"image_14082025_04_21_48_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e842634b8517a6714a5fb832e6aa6a15.jpg","text":"TemporaryFile(/tmp/multipartBody8944728169934823321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171682828,"filename":"image_14082025_04_22_29_10269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009812","file1":"1377009809","file0":"1377009804","file4":"1377009821","file5":"1377009823","file3":"1377009816"},"map_files_photo_id_array":[{"photo_id":"1377009823","filename":"file5"},{"photo_id":"1377009812","filename":"file2"},{"photo_id":"1377009821","filename":"file4"},{"photo_id":"1377009809","filename":"file1"},{"photo_id":"1377009804","filename":"file0"},{"photo_id":"1377009816","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009816":["hashtag1","hashtag2"]},{"1377009804":["hashtag1","hashtag2"]},{"1377009821":["hashtag1","hashtag2"]},{"1377009812":["hashtag1","hashtag2"]},{"1377009809":["hashtag1","hashtag2"]},{"1377009823":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009816, 1377009804, 1377009821, 1377009812, 1377009809, 1377009823)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.74864745140076 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:41:21.853135 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/22/image_14082025_04_22_38_9051.jpg', '/media/data/images/14082025/04/22/image_14082025_04_22_48_10387.jpg', '/media/data/images/14082025/04/22/image_14082025_04_22_59_10375.jpg', '/media/data/images/14082025/04/23/image_14082025_04_23_09_10097.jpg', '/media/data/images/14082025/04/23/image_14082025_04_23_28_9102.jpg', '/media/data/images/14082025/04/23/image_14082025_04_23_38_10288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/22/image_14082025_04_22_38_9051.jpg /media/data/images/14082025/04/22/image_14082025_04_22_48_10387.jpg /media/data/images/14082025/04/22/image_14082025_04_22_59_10375.jpg /media/data/images/14082025/04/23/image_14082025_04_23_09_10097.jpg /media/data/images/14082025/04/23/image_14082025_04_23_28_9102.jpg /media/data/images/14082025/04/23/image_14082025_04_23_38_10288.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009840","1377009860","1377009863","1377009851","1377009845","1377009856"],"photo_ids_order":["1377009840","1377009845","1377009851","1377009856","1377009860","1377009863"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/484489cb84194d5f144b8fbebed1526a.jpg","text":"TemporaryFile(/tmp/multipartBody8309289013226679977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171742891,"filename":"image_14082025_04_22_38_9051.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16cb52ad5624151bd7173958250f062d.jpg","text":"TemporaryFile(/tmp/multipartBody8377158892469369880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171742891,"filename":"image_14082025_04_23_28_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4c62c3e2480807485f0d09be2ff4d43.jpg","text":"TemporaryFile(/tmp/multipartBody6880973113492424268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171742891,"filename":"image_14082025_04_23_38_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50fe38c43d7e962b21fbc9037d95cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody1655505653805017629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171742891,"filename":"image_14082025_04_22_59_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7d1cb4863515ca977f4c9d13c72b95d.jpg","text":"TemporaryFile(/tmp/multipartBody2843776552421140188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171742891,"filename":"image_14082025_04_22_48_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dae3a8e7ab7cbb03d50ec68e77072275.jpg","text":"TemporaryFile(/tmp/multipartBody7006629567721908989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171742891,"filename":"image_14082025_04_23_09_10097.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009851","file1":"1377009845","file0":"1377009840","file4":"1377009860","file5":"1377009863","file3":"1377009856"},"map_files_photo_id_array":[{"photo_id":"1377009863","filename":"file5"},{"photo_id":"1377009851","filename":"file2"},{"photo_id":"1377009860","filename":"file4"},{"photo_id":"1377009845","filename":"file1"},{"photo_id":"1377009840","filename":"file0"},{"photo_id":"1377009856","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009840":["hashtag1","hashtag2"]},{"1377009860":["hashtag1","hashtag2"]},{"1377009863":["hashtag1","hashtag2"]},{"1377009851":["hashtag1","hashtag2"]},{"1377009845":["hashtag1","hashtag2"]},{"1377009856":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009840, 1377009860, 1377009863, 1377009851, 1377009845, 1377009856)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.102001428604126 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:42:21.960113 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/23/image_14082025_04_23_49_10310.jpg', '/media/data/images/14082025/04/23/image_14082025_04_23_58_9168.jpg', '/media/data/images/14082025/04/23/image_14082025_04_24_08_10628.jpg', '/media/data/images/14082025/04/24/image_14082025_04_24_19_10285.jpg', '/media/data/images/14082025/04/24/image_14082025_04_24_28_9270.jpg', '/media/data/images/14082025/04/24/image_14082025_04_24_38_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/23/image_14082025_04_23_49_10310.jpg /media/data/images/14082025/04/23/image_14082025_04_23_58_9168.jpg /media/data/images/14082025/04/23/image_14082025_04_24_08_10628.jpg /media/data/images/14082025/04/24/image_14082025_04_24_19_10285.jpg /media/data/images/14082025/04/24/image_14082025_04_24_28_9270.jpg /media/data/images/14082025/04/24/image_14082025_04_24_38_10350.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377009899","1377009903","1377009911","1377009895","1377009914","1377009907"],"photo_ids_order":["1377009895","1377009899","1377009903","1377009907","1377009911","1377009914"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d989ddf0617e43abab143dee2a41f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6241315450444913744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171802988,"filename":"image_14082025_04_23_58_9168.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3a0683bfa7755e05114d433e260f9cc.jpg","text":"TemporaryFile(/tmp/multipartBody6351643442958602132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171802988,"filename":"image_14082025_04_24_08_10628.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f4f3bcd9e08bbb981be8990a6c3d417.jpg","text":"TemporaryFile(/tmp/multipartBody4901119645010593588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171802988,"filename":"image_14082025_04_24_28_9270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebf032d93bcabb9ddb76ad6b64e316cf.jpg","text":"TemporaryFile(/tmp/multipartBody57305714497307546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171802988,"filename":"image_14082025_04_23_49_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b702c25133655c01d92377d136f72cd.jpg","text":"TemporaryFile(/tmp/multipartBody2098136424667963619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171802988,"filename":"image_14082025_04_24_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4131adb629104e3ed24cc323b45387a.jpg","text":"TemporaryFile(/tmp/multipartBody6419025816145898501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171802988,"filename":"image_14082025_04_24_19_10285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377009903","file1":"1377009899","file0":"1377009895","file4":"1377009911","file5":"1377009914","file3":"1377009907"},"map_files_photo_id_array":[{"photo_id":"1377009914","filename":"file5"},{"photo_id":"1377009903","filename":"file2"},{"photo_id":"1377009911","filename":"file4"},{"photo_id":"1377009899","filename":"file1"},{"photo_id":"1377009895","filename":"file0"},{"photo_id":"1377009907","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377009899":["hashtag1","hashtag2"]},{"1377009903":["hashtag1","hashtag2"]},{"1377009911":["hashtag1","hashtag2"]},{"1377009895":["hashtag1","hashtag2"]},{"1377009914":["hashtag1","hashtag2"]},{"1377009907":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377009899, 1377009903, 1377009911, 1377009895, 1377009914, 1377009907)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.76821708679199 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:43:22.112499 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/24/image_14082025_04_24_49_10435.jpg', '/media/data/images/14082025/04/24/image_14082025_04_24_58_9055.jpg', '/media/data/images/14082025/04/24/image_14082025_04_25_09_10796.jpg', '/media/data/images/14082025/04/25/image_14082025_04_25_19_10309.jpg', '/media/data/images/14082025/04/25/image_14082025_04_25_28_9204.jpg', '/media/data/images/14082025/04/25/image_14082025_04_25_39_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/24/image_14082025_04_24_49_10435.jpg /media/data/images/14082025/04/24/image_14082025_04_24_58_9055.jpg /media/data/images/14082025/04/24/image_14082025_04_25_09_10796.jpg /media/data/images/14082025/04/25/image_14082025_04_25_19_10309.jpg /media/data/images/14082025/04/25/image_14082025_04_25_28_9204.jpg /media/data/images/14082025/04/25/image_14082025_04_25_39_10353.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010023","1377010032","1377010029","1377010025","1377010021","1377010018"],"photo_ids_order":["1377010018","1377010021","1377010023","1377010025","1377010029","1377010032"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a48db36be71b4a42b86b43be87967d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5300665441630685878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171863185,"filename":"image_14082025_04_25_09_10796.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77781be62da2114d5b870a30022861c6.jpg","text":"TemporaryFile(/tmp/multipartBody6952221548607847031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171863185,"filename":"image_14082025_04_25_39_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef3c5fc0c6225d588461b11f7593d63b.jpg","text":"TemporaryFile(/tmp/multipartBody5519864146183003813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171863185,"filename":"image_14082025_04_25_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4aac8ffe64c5194c2b1d701bf0d9d549.jpg","text":"TemporaryFile(/tmp/multipartBody7770574065143035625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171863185,"filename":"image_14082025_04_25_19_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c77cad97ea12c902bc552922f3ccc8e4.jpg","text":"TemporaryFile(/tmp/multipartBody2560342875594376673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171863185,"filename":"image_14082025_04_24_58_9055.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29eb3a73b03fb777023c4b551fd94ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4096911674091733320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171863185,"filename":"image_14082025_04_24_49_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010023","file1":"1377010021","file0":"1377010018","file4":"1377010029","file5":"1377010032","file3":"1377010025"},"map_files_photo_id_array":[{"photo_id":"1377010032","filename":"file5"},{"photo_id":"1377010023","filename":"file2"},{"photo_id":"1377010029","filename":"file4"},{"photo_id":"1377010021","filename":"file1"},{"photo_id":"1377010018","filename":"file0"},{"photo_id":"1377010025","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010023":["hashtag1","hashtag2"]},{"1377010032":["hashtag1","hashtag2"]},{"1377010029":["hashtag1","hashtag2"]},{"1377010025":["hashtag1","hashtag2"]},{"1377010021":["hashtag1","hashtag2"]},{"1377010018":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010023, 1377010032, 1377010029, 1377010025, 1377010021, 1377010018)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.1223726272583 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:44:22.223553 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/25/image_14082025_04_25_49_10361.jpg', '/media/data/images/14082025/04/25/image_14082025_04_25_58_9047.jpg', '/media/data/images/14082025/04/25/image_14082025_04_26_09_10725.jpg', '/media/data/images/14082025/04/26/image_14082025_04_26_19_10355.jpg', '/media/data/images/14082025/04/26/image_14082025_04_26_28_9067.jpg', '/media/data/images/14082025/04/26/image_14082025_04_26_38_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/25/image_14082025_04_25_49_10361.jpg /media/data/images/14082025/04/25/image_14082025_04_25_58_9047.jpg /media/data/images/14082025/04/25/image_14082025_04_26_09_10725.jpg /media/data/images/14082025/04/26/image_14082025_04_26_19_10355.jpg /media/data/images/14082025/04/26/image_14082025_04_26_28_9067.jpg /media/data/images/14082025/04/26/image_14082025_04_26_38_10361.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010111","1377010113","1377010094","1377010121","1377010106","1377010117"],"photo_ids_order":["1377010094","1377010106","1377010111","1377010113","1377010117","1377010121"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e906ec2a07c85a5802933e23c3670276.jpg","text":"TemporaryFile(/tmp/multipartBody2870518975359234972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171923261,"filename":"image_14082025_04_26_09_10725.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3b166b2cbdf79fb95b7bfb48b36fc20.jpg","text":"TemporaryFile(/tmp/multipartBody5706042311869038824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171923261,"filename":"image_14082025_04_26_19_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8906e326bce16f25f38d8bc01265867a.jpg","text":"TemporaryFile(/tmp/multipartBody6007632000798309306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171923261,"filename":"image_14082025_04_25_49_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00c7947351332ef088380f722e50873f.jpg","text":"TemporaryFile(/tmp/multipartBody1509522846211120091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171923261,"filename":"image_14082025_04_26_38_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f4e55f48961e577e7d36320d61a3906.jpg","text":"TemporaryFile(/tmp/multipartBody219790429679837571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171923261,"filename":"image_14082025_04_25_58_9047.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b19dc1117082b350dfca81beaaab6102.jpg","text":"TemporaryFile(/tmp/multipartBody8438627679897187238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171923261,"filename":"image_14082025_04_26_28_9067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010111","file1":"1377010106","file0":"1377010094","file4":"1377010117","file5":"1377010121","file3":"1377010113"},"map_files_photo_id_array":[{"photo_id":"1377010121","filename":"file5"},{"photo_id":"1377010111","filename":"file2"},{"photo_id":"1377010117","filename":"file4"},{"photo_id":"1377010106","filename":"file1"},{"photo_id":"1377010094","filename":"file0"},{"photo_id":"1377010113","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010111":["hashtag1","hashtag2"]},{"1377010113":["hashtag1","hashtag2"]},{"1377010094":["hashtag1","hashtag2"]},{"1377010121":["hashtag1","hashtag2"]},{"1377010106":["hashtag1","hashtag2"]},{"1377010117":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010111, 1377010113, 1377010094, 1377010121, 1377010106, 1377010117)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.0151207447052 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:45:22.313449 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/26/image_14082025_04_26_58_9061.jpg', '/media/data/images/14082025/04/26/image_14082025_04_27_08_10520.jpg', '/media/data/images/14082025/04/27/image_14082025_04_27_19_10461.jpg', '/media/data/images/14082025/04/27/image_14082025_04_27_28_9133.jpg', '/media/data/images/14082025/04/27/image_14082025_04_27_38_10468.jpg', '/media/data/images/14082025/04/27/image_14082025_04_27_49_10298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/26/image_14082025_04_26_58_9061.jpg /media/data/images/14082025/04/26/image_14082025_04_27_08_10520.jpg /media/data/images/14082025/04/27/image_14082025_04_27_19_10461.jpg /media/data/images/14082025/04/27/image_14082025_04_27_28_9133.jpg /media/data/images/14082025/04/27/image_14082025_04_27_38_10468.jpg /media/data/images/14082025/04/27/image_14082025_04_27_49_10298.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010179","1377010302","1377010214","1377010304","1377010249","1377010284"],"photo_ids_order":["1377010179","1377010214","1377010249","1377010284","1377010302","1377010304"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd04af2653064d38cd478f5f132d407a.jpg","text":"TemporaryFile(/tmp/multipartBody8868402003508813447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171983378,"filename":"image_14082025_04_26_58_9061.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/daa780b514f6ead68ea55661058b5dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7723385477862053056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171983378,"filename":"image_14082025_04_27_38_10468.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7563a6b869b0e0f8cd5269e9c196f19.jpg","text":"TemporaryFile(/tmp/multipartBody6431733085260824802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171983378,"filename":"image_14082025_04_27_08_10520.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7d8a3521ac638083a0981dad3bdd0b9.jpg","text":"TemporaryFile(/tmp/multipartBody6208765244928424145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171983378,"filename":"image_14082025_04_27_49_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b15f0a93189dccbbbe73b200a4b48d6.jpg","text":"TemporaryFile(/tmp/multipartBody6426331867064126867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171983378,"filename":"image_14082025_04_27_19_10461.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d11c7695785f41f08bc366db3baefd71.jpg","text":"TemporaryFile(/tmp/multipartBody6688231854073384880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755171983378,"filename":"image_14082025_04_27_28_9133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010249","file1":"1377010214","file0":"1377010179","file4":"1377010302","file5":"1377010304","file3":"1377010284"},"map_files_photo_id_array":[{"photo_id":"1377010304","filename":"file5"},{"photo_id":"1377010249","filename":"file2"},{"photo_id":"1377010302","filename":"file4"},{"photo_id":"1377010214","filename":"file1"},{"photo_id":"1377010179","filename":"file0"},{"photo_id":"1377010284","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010179":["hashtag1","hashtag2"]},{"1377010302":["hashtag1","hashtag2"]},{"1377010214":["hashtag1","hashtag2"]},{"1377010304":["hashtag1","hashtag2"]},{"1377010249":["hashtag1","hashtag2"]},{"1377010284":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010179, 1377010302, 1377010214, 1377010304, 1377010249, 1377010284)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.430389165878296 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:46:22.433507 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/27/image_14082025_04_27_58_9097.jpg', '/media/data/images/14082025/04/27/image_14082025_04_28_08_10524.jpg', '/media/data/images/14082025/04/28/image_14082025_04_28_19_10290.jpg', '/media/data/images/14082025/04/28/image_14082025_04_28_29_10324.jpg', '/media/data/images/14082025/04/28/image_14082025_04_28_38_9145.jpg', '/media/data/images/14082025/04/28/image_14082025_04_28_48_10272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/27/image_14082025_04_27_58_9097.jpg /media/data/images/14082025/04/27/image_14082025_04_28_08_10524.jpg /media/data/images/14082025/04/28/image_14082025_04_28_19_10290.jpg /media/data/images/14082025/04/28/image_14082025_04_28_29_10324.jpg /media/data/images/14082025/04/28/image_14082025_04_28_38_9145.jpg /media/data/images/14082025/04/28/image_14082025_04_28_48_10272.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010402","1377010428","1377010439","1377010436","1377010438","1377010432"],"photo_ids_order":["1377010402","1377010428","1377010432","1377010436","1377010438","1377010439"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2804ef732576e34f83d5f3d2c06c3c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3360409295554315602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172043458,"filename":"image_14082025_04_27_58_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3972304411edf786f5a8cfab3de49e85.jpg","text":"TemporaryFile(/tmp/multipartBody2465475642479731618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172043458,"filename":"image_14082025_04_28_08_10524.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17f5a163c1069df48d33700258fa70ed.jpg","text":"TemporaryFile(/tmp/multipartBody2775983401000090687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172043458,"filename":"image_14082025_04_28_48_10272.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4bee5ca12cc066b5d59298343353e73.jpg","text":"TemporaryFile(/tmp/multipartBody2382645723069884774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172043458,"filename":"image_14082025_04_28_29_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f26077c60bc6f4004156b10683ac401.jpg","text":"TemporaryFile(/tmp/multipartBody4828970362525614574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172043458,"filename":"image_14082025_04_28_38_9145.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3cca97ef28c6b20f5ba94adc69c3d2df.jpg","text":"TemporaryFile(/tmp/multipartBody3196736092466104573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172043458,"filename":"image_14082025_04_28_19_10290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010432","file1":"1377010428","file0":"1377010402","file4":"1377010438","file5":"1377010439","file3":"1377010436"},"map_files_photo_id_array":[{"photo_id":"1377010439","filename":"file5"},{"photo_id":"1377010432","filename":"file2"},{"photo_id":"1377010438","filename":"file4"},{"photo_id":"1377010428","filename":"file1"},{"photo_id":"1377010402","filename":"file0"},{"photo_id":"1377010436","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010402":["hashtag1","hashtag2"]},{"1377010428":["hashtag1","hashtag2"]},{"1377010439":["hashtag1","hashtag2"]},{"1377010436":["hashtag1","hashtag2"]},{"1377010438":["hashtag1","hashtag2"]},{"1377010432":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010402, 1377010428, 1377010439, 1377010436, 1377010438, 1377010432)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.70506572723389 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:47:22.525302 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/28/image_14082025_04_28_59_10309.jpg', '/media/data/images/14082025/04/29/image_14082025_04_29_09_10283.jpg', '/media/data/images/14082025/04/29/image_14082025_04_29_29_10289.jpg', '/media/data/images/14082025/04/29/image_14082025_04_29_39_10302.jpg', '/media/data/images/14082025/04/29/image_14082025_04_29_48_9168.jpg', '/media/data/images/14082025/04/29/image_14082025_04_29_58_10294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/28/image_14082025_04_28_59_10309.jpg /media/data/images/14082025/04/29/image_14082025_04_29_09_10283.jpg /media/data/images/14082025/04/29/image_14082025_04_29_29_10289.jpg /media/data/images/14082025/04/29/image_14082025_04_29_39_10302.jpg /media/data/images/14082025/04/29/image_14082025_04_29_48_9168.jpg /media/data/images/14082025/04/29/image_14082025_04_29_58_10294.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010563","1377010557","1377010538","1377010547","1377010552","1377010561"],"photo_ids_order":["1377010538","1377010547","1377010552","1377010557","1377010561","1377010563"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/819752b5868aac937459aada8da5f66c.jpg","text":"TemporaryFile(/tmp/multipartBody8946895890446339371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172103520,"filename":"image_14082025_04_29_58_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a68b78df5bcec95a4064af0c3d0278fe.jpg","text":"TemporaryFile(/tmp/multipartBody3125473424131165265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172103520,"filename":"image_14082025_04_29_39_10302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e4d30ea1d449f507484e109721c9251.jpg","text":"TemporaryFile(/tmp/multipartBody4713497019521522248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172103520,"filename":"image_14082025_04_28_59_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d761bab6b4ed76666025c2b57e5567f6.jpg","text":"TemporaryFile(/tmp/multipartBody699903902715567927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172103520,"filename":"image_14082025_04_29_09_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc11bfae6aa2fc3902eba51c1145e2b4.jpg","text":"TemporaryFile(/tmp/multipartBody3547772323719590344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172103520,"filename":"image_14082025_04_29_29_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/428c72126741a1d5631f718266c88a82.jpg","text":"TemporaryFile(/tmp/multipartBody3261214207363236715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172103520,"filename":"image_14082025_04_29_48_9168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010552","file1":"1377010547","file0":"1377010538","file4":"1377010561","file5":"1377010563","file3":"1377010557"},"map_files_photo_id_array":[{"photo_id":"1377010563","filename":"file5"},{"photo_id":"1377010552","filename":"file2"},{"photo_id":"1377010561","filename":"file4"},{"photo_id":"1377010547","filename":"file1"},{"photo_id":"1377010538","filename":"file0"},{"photo_id":"1377010557","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010563":["hashtag1","hashtag2"]},{"1377010557":["hashtag1","hashtag2"]},{"1377010538":["hashtag1","hashtag2"]},{"1377010547":["hashtag1","hashtag2"]},{"1377010552":["hashtag1","hashtag2"]},{"1377010561":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010563, 1377010557, 1377010538, 1377010547, 1377010552, 1377010561)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.78651738166809 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:48:22.627554 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/30/image_14082025_04_30_09_10251.jpg', '/media/data/images/14082025/04/30/image_14082025_04_30_19_10309.jpg', '/media/data/images/14082025/04/30/image_14082025_04_30_28_9081.jpg', '/media/data/images/14082025/04/30/image_14082025_04_30_38_10343.jpg', '/media/data/images/14082025/04/30/image_14082025_04_30_49_10444.jpg', '/media/data/images/14082025/04/30/image_14082025_04_30_58_9167.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/30/image_14082025_04_30_09_10251.jpg /media/data/images/14082025/04/30/image_14082025_04_30_19_10309.jpg /media/data/images/14082025/04/30/image_14082025_04_30_28_9081.jpg /media/data/images/14082025/04/30/image_14082025_04_30_38_10343.jpg /media/data/images/14082025/04/30/image_14082025_04_30_49_10444.jpg /media/data/images/14082025/04/30/image_14082025_04_30_58_9167.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010592","1377010595","1377010598","1377010627","1377010621","1377010612"],"photo_ids_order":["1377010592","1377010595","1377010598","1377010612","1377010621","1377010627"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b84f42932f684fba416a9ebb4cdd4a0b.jpg","text":"TemporaryFile(/tmp/multipartBody6234316792770110476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172163625,"filename":"image_14082025_04_30_09_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3775c621f0f5bb732b68e3f88bedee4b.jpg","text":"TemporaryFile(/tmp/multipartBody9151770939661929498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172163625,"filename":"image_14082025_04_30_19_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73bac815de63d2a0e1889313bc96a3f6.jpg","text":"TemporaryFile(/tmp/multipartBody8535712451475764982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172163625,"filename":"image_14082025_04_30_28_9081.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0695a48be9ea9498eb80206f1178af89.jpg","text":"TemporaryFile(/tmp/multipartBody416686549066671382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172163625,"filename":"image_14082025_04_30_58_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10109f882e0720f763703152bbd96289.jpg","text":"TemporaryFile(/tmp/multipartBody4951303501941925355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172163625,"filename":"image_14082025_04_30_49_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95d5a7f47ea82493eddcd266e55885ce.jpg","text":"TemporaryFile(/tmp/multipartBody8828519395800060176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172163625,"filename":"image_14082025_04_30_38_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010598","file1":"1377010595","file0":"1377010592","file4":"1377010621","file5":"1377010627","file3":"1377010612"},"map_files_photo_id_array":[{"photo_id":"1377010627","filename":"file5"},{"photo_id":"1377010598","filename":"file2"},{"photo_id":"1377010621","filename":"file4"},{"photo_id":"1377010595","filename":"file1"},{"photo_id":"1377010592","filename":"file0"},{"photo_id":"1377010612","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010592":["hashtag1","hashtag2"]},{"1377010595":["hashtag1","hashtag2"]},{"1377010598":["hashtag1","hashtag2"]},{"1377010627":["hashtag1","hashtag2"]},{"1377010621":["hashtag1","hashtag2"]},{"1377010612":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010592, 1377010595, 1377010598, 1377010627, 1377010621, 1377010612)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.03652238845825 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:49:22.710799 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/30/image_14082025_04_31_08_10389.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_19_10419.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_29_10276.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_38_9054.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_48_10302.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_59_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/30/image_14082025_04_31_08_10389.jpg /media/data/images/14082025/04/31/image_14082025_04_31_19_10419.jpg /media/data/images/14082025/04/31/image_14082025_04_31_29_10276.jpg /media/data/images/14082025/04/31/image_14082025_04_31_38_9054.jpg /media/data/images/14082025/04/31/image_14082025_04_31_48_10302.jpg /media/data/images/14082025/04/31/image_14082025_04_31_59_10306.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.549614429473877 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:49:42.711065 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/30/image_14082025_04_31_08_10389.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_19_10419.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_29_10276.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_38_9054.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_48_10302.jpg', '/media/data/images/14082025/04/31/image_14082025_04_31_59_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/30/image_14082025_04_31_08_10389.jpg /media/data/images/14082025/04/31/image_14082025_04_31_19_10419.jpg /media/data/images/14082025/04/31/image_14082025_04_31_29_10276.jpg /media/data/images/14082025/04/31/image_14082025_04_31_38_9054.jpg /media/data/images/14082025/04/31/image_14082025_04_31_48_10302.jpg /media/data/images/14082025/04/31/image_14082025_04_31_59_10306.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010752","1377010746","1377010748","1377010742","1377010744","1377010729"],"photo_ids_order":["1377010729","1377010742","1377010744","1377010746","1377010748","1377010752"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3af99f560d04ef1bf92bd93f0c2f455c.jpg","text":"TemporaryFile(/tmp/multipartBody4715016951572016407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172243662,"filename":"image_14082025_04_31_59_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8f470d1f842ba9e38908f0725ce4946.jpg","text":"TemporaryFile(/tmp/multipartBody4139322253641807522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172243662,"filename":"image_14082025_04_31_38_9054.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f010ed90b2dc56a30270888411a6b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody801383359068350225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172243662,"filename":"image_14082025_04_31_48_10302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab88c08e809710da39d90abc5ad6ddd4.jpg","text":"TemporaryFile(/tmp/multipartBody4103645738080035778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172243662,"filename":"image_14082025_04_31_19_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12fa65bba1fcd097bb34a273dec65f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7921483380830105570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172243662,"filename":"image_14082025_04_31_29_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/313f2a6bab9f3d2019142eb1e5a389fd.jpg","text":"TemporaryFile(/tmp/multipartBody4910023768111340687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172243662,"filename":"image_14082025_04_31_08_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010744","file1":"1377010742","file0":"1377010729","file4":"1377010748","file5":"1377010752","file3":"1377010746"},"map_files_photo_id_array":[{"photo_id":"1377010752","filename":"file5"},{"photo_id":"1377010744","filename":"file2"},{"photo_id":"1377010748","filename":"file4"},{"photo_id":"1377010742","filename":"file1"},{"photo_id":"1377010729","filename":"file0"},{"photo_id":"1377010746","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010752":["hashtag1","hashtag2"]},{"1377010746":["hashtag1","hashtag2"]},{"1377010748":["hashtag1","hashtag2"]},{"1377010742":["hashtag1","hashtag2"]},{"1377010744":["hashtag1","hashtag2"]},{"1377010729":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010752, 1377010746, 1377010748, 1377010742, 1377010744, 1377010729)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.22079515457153 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:50:41.808891 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/32/image_14082025_04_32_09_10306.jpg', '/media/data/images/14082025/04/32/image_14082025_04_32_18_9115.jpg', '/media/data/images/14082025/04/32/image_14082025_04_32_28_10386.jpg', '/media/data/images/14082025/04/32/image_14082025_04_32_39_10341.jpg', '/media/data/images/14082025/04/32/image_14082025_04_32_48_9173.jpg', '/media/data/images/14082025/04/32/image_14082025_04_32_58_10286.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/32/image_14082025_04_32_09_10306.jpg /media/data/images/14082025/04/32/image_14082025_04_32_18_9115.jpg /media/data/images/14082025/04/32/image_14082025_04_32_28_10386.jpg /media/data/images/14082025/04/32/image_14082025_04_32_39_10341.jpg /media/data/images/14082025/04/32/image_14082025_04_32_48_9173.jpg /media/data/images/14082025/04/32/image_14082025_04_32_58_10286.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377010776","1377010767","1377010806","1377010760","1377010762","1377010765"],"photo_ids_order":["1377010760","1377010762","1377010765","1377010767","1377010776","1377010806"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a736af774d219dd1ae276cf0e23bd45.jpg","text":"TemporaryFile(/tmp/multipartBody970014522606211440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172302821,"filename":"image_14082025_04_32_48_9173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35f60206eab613e8846c59598c2290be.jpg","text":"TemporaryFile(/tmp/multipartBody1463680383501433594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172302821,"filename":"image_14082025_04_32_39_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac1907a74ac757fe0bb7244fcd8b7bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2058265486516750360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172302821,"filename":"image_14082025_04_32_58_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a2f8fa658c08d2ab339cd5ea367e9ec.jpg","text":"TemporaryFile(/tmp/multipartBody3559044760518932207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172302821,"filename":"image_14082025_04_32_09_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df5dde22d84adf52d132ed4abd765b07.jpg","text":"TemporaryFile(/tmp/multipartBody3661051881422697406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172302821,"filename":"image_14082025_04_32_18_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7bad6610bc2004a3c3ba9595b17edf29.jpg","text":"TemporaryFile(/tmp/multipartBody3817011678341830630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172302821,"filename":"image_14082025_04_32_28_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377010765","file1":"1377010762","file0":"1377010760","file4":"1377010776","file5":"1377010806","file3":"1377010767"},"map_files_photo_id_array":[{"photo_id":"1377010806","filename":"file5"},{"photo_id":"1377010765","filename":"file2"},{"photo_id":"1377010776","filename":"file4"},{"photo_id":"1377010762","filename":"file1"},{"photo_id":"1377010760","filename":"file0"},{"photo_id":"1377010767","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377010776":["hashtag1","hashtag2"]},{"1377010767":["hashtag1","hashtag2"]},{"1377010806":["hashtag1","hashtag2"]},{"1377010760":["hashtag1","hashtag2"]},{"1377010762":["hashtag1","hashtag2"]},{"1377010765":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377010776, 1377010767, 1377010806, 1377010760, 1377010762, 1377010765)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.69273543357849 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:51:41.914195 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/33/image_14082025_04_33_09_10348.jpg', '/media/data/images/14082025/04/33/image_14082025_04_33_19_10271.jpg', '/media/data/images/14082025/04/33/image_14082025_04_33_28_9205.jpg', '/media/data/images/14082025/04/33/image_14082025_04_33_38_10279.jpg', '/media/data/images/14082025/04/33/image_14082025_04_33_49_10313.jpg', '/media/data/images/14082025/04/33/image_14082025_04_33_58_9174.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/33/image_14082025_04_33_09_10348.jpg /media/data/images/14082025/04/33/image_14082025_04_33_19_10271.jpg /media/data/images/14082025/04/33/image_14082025_04_33_28_9205.jpg /media/data/images/14082025/04/33/image_14082025_04_33_38_10279.jpg /media/data/images/14082025/04/33/image_14082025_04_33_49_10313.jpg /media/data/images/14082025/04/33/image_14082025_04_33_58_9174.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377011022","1377011060","1377011141","1377011131","1377011151","1377011094"],"photo_ids_order":["1377011022","1377011060","1377011094","1377011131","1377011141","1377011151"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2167d5b931a5c6ddc4c4e45d591a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody5864700306971725702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172362970,"filename":"image_14082025_04_33_09_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e628aca84ab8e880cc547e57de9a245a.jpg","text":"TemporaryFile(/tmp/multipartBody7759813524932101809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172362970,"filename":"image_14082025_04_33_19_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f446e3ea41348b2d9069437d8bcf3b5.jpg","text":"TemporaryFile(/tmp/multipartBody6535670770245325846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172362970,"filename":"image_14082025_04_33_49_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/592051945d4c14e21e30219d33d23ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3657896480766161028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172362970,"filename":"image_14082025_04_33_38_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f9c9d903f3145ccf5585f39d91f9c12.jpg","text":"TemporaryFile(/tmp/multipartBody234992738971458349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172362970,"filename":"image_14082025_04_33_58_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa8731fa05d26d4eaadcf58c9bc41239.jpg","text":"TemporaryFile(/tmp/multipartBody3168998537744273869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172362970,"filename":"image_14082025_04_33_28_9205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377011094","file1":"1377011060","file0":"1377011022","file4":"1377011141","file5":"1377011151","file3":"1377011131"},"map_files_photo_id_array":[{"photo_id":"1377011151","filename":"file5"},{"photo_id":"1377011094","filename":"file2"},{"photo_id":"1377011141","filename":"file4"},{"photo_id":"1377011060","filename":"file1"},{"photo_id":"1377011022","filename":"file0"},{"photo_id":"1377011131","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377011022":["hashtag1","hashtag2"]},{"1377011060":["hashtag1","hashtag2"]},{"1377011141":["hashtag1","hashtag2"]},{"1377011131":["hashtag1","hashtag2"]},{"1377011151":["hashtag1","hashtag2"]},{"1377011094":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377011022, 1377011060, 1377011141, 1377011131, 1377011151, 1377011094)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.244057416915894 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:52:42.080559 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/33/image_14082025_04_34_08_10367.jpg', '/media/data/images/14082025/04/34/image_14082025_04_34_19_10379.jpg', '/media/data/images/14082025/04/34/image_14082025_04_34_29_10371.jpg', '/media/data/images/14082025/04/34/image_14082025_04_34_38_9182.jpg', '/media/data/images/14082025/04/34/image_14082025_04_34_49_10382.jpg', '/media/data/images/14082025/04/34/image_14082025_04_34_59_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/33/image_14082025_04_34_08_10367.jpg /media/data/images/14082025/04/34/image_14082025_04_34_19_10379.jpg /media/data/images/14082025/04/34/image_14082025_04_34_29_10371.jpg /media/data/images/14082025/04/34/image_14082025_04_34_38_9182.jpg /media/data/images/14082025/04/34/image_14082025_04_34_49_10382.jpg /media/data/images/14082025/04/34/image_14082025_04_34_59_10324.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377011264","1377011240","1377011234","1377011266","1377011262","1377011271"],"photo_ids_order":["1377011234","1377011240","1377011262","1377011264","1377011266","1377011271"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8cc90109a2f3b61d2aa95a69f332575.jpg","text":"TemporaryFile(/tmp/multipartBody2551501302045439941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172423073,"filename":"image_14082025_04_34_38_9182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76a4e46854d91b7486a1dc58c795c85a.jpg","text":"TemporaryFile(/tmp/multipartBody1438944860925548598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172423073,"filename":"image_14082025_04_34_19_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da6b4a05d9974fb97485210bd1a7fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody3956134860990466407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172423073,"filename":"image_14082025_04_34_08_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5057c55632ba5be07dcf20fe0445e11.jpg","text":"TemporaryFile(/tmp/multipartBody258555602806411011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172423073,"filename":"image_14082025_04_34_49_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6ba3570bc00de30a7d80d1789e68c67.jpg","text":"TemporaryFile(/tmp/multipartBody75015005559082716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172423073,"filename":"image_14082025_04_34_29_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7959efcb87af9178833227bc81d5eace.jpg","text":"TemporaryFile(/tmp/multipartBody2823296485477218650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172423073,"filename":"image_14082025_04_34_59_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377011262","file1":"1377011240","file0":"1377011234","file4":"1377011266","file5":"1377011271","file3":"1377011264"},"map_files_photo_id_array":[{"photo_id":"1377011271","filename":"file5"},{"photo_id":"1377011262","filename":"file2"},{"photo_id":"1377011266","filename":"file4"},{"photo_id":"1377011240","filename":"file1"},{"photo_id":"1377011234","filename":"file0"},{"photo_id":"1377011264","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377011264":["hashtag1","hashtag2"]},{"1377011240":["hashtag1","hashtag2"]},{"1377011234":["hashtag1","hashtag2"]},{"1377011266":["hashtag1","hashtag2"]},{"1377011262":["hashtag1","hashtag2"]},{"1377011271":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377011264, 1377011240, 1377011234, 1377011266, 1377011262, 1377011271)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.27649784088135 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:53:42.169971 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/35/image_14082025_04_35_09_10197.jpg', '/media/data/images/14082025/04/35/image_14082025_04_35_18_9211.jpg', '/media/data/images/14082025/04/35/image_14082025_04_35_29_10419.jpg', '/media/data/images/14082025/04/35/image_14082025_04_35_39_10352.jpg', '/media/data/images/14082025/04/35/image_14082025_04_35_48_9162.jpg', '/media/data/images/14082025/04/35/image_14082025_04_35_58_10270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/35/image_14082025_04_35_09_10197.jpg /media/data/images/14082025/04/35/image_14082025_04_35_18_9211.jpg /media/data/images/14082025/04/35/image_14082025_04_35_29_10419.jpg /media/data/images/14082025/04/35/image_14082025_04_35_39_10352.jpg /media/data/images/14082025/04/35/image_14082025_04_35_48_9162.jpg /media/data/images/14082025/04/35/image_14082025_04_35_58_10270.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377011489","1377011450","1377011479","1377011413","1377011416","1377011419"],"photo_ids_order":["1377011413","1377011416","1377011419","1377011450","1377011479","1377011489"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6795a3177b83059607486bbb6a4797d.jpg","text":"TemporaryFile(/tmp/multipartBody1991571288900263901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172483192,"filename":"image_14082025_04_35_58_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8955a70768e7e65b59963891446a5775.jpg","text":"TemporaryFile(/tmp/multipartBody7890548547110285510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172483192,"filename":"image_14082025_04_35_39_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4cd762f4b380d865a1d749d6bea047d5.jpg","text":"TemporaryFile(/tmp/multipartBody869784623758106337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172483192,"filename":"image_14082025_04_35_48_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4128d946f663e93dfd606c5f5cd7207.jpg","text":"TemporaryFile(/tmp/multipartBody8904171050034453347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172483192,"filename":"image_14082025_04_35_09_10197.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/384ee8bd88973c3da430c431350ffbae.jpg","text":"TemporaryFile(/tmp/multipartBody8015835233823043742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172483192,"filename":"image_14082025_04_35_18_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd84be323882ab6da111cd3ecd9addb3.jpg","text":"TemporaryFile(/tmp/multipartBody8761543627333576970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172483192,"filename":"image_14082025_04_35_29_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377011419","file1":"1377011416","file0":"1377011413","file4":"1377011479","file5":"1377011489","file3":"1377011450"},"map_files_photo_id_array":[{"photo_id":"1377011489","filename":"file5"},{"photo_id":"1377011419","filename":"file2"},{"photo_id":"1377011479","filename":"file4"},{"photo_id":"1377011416","filename":"file1"},{"photo_id":"1377011413","filename":"file0"},{"photo_id":"1377011450","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377011489":["hashtag1","hashtag2"]},{"1377011450":["hashtag1","hashtag2"]},{"1377011479":["hashtag1","hashtag2"]},{"1377011413":["hashtag1","hashtag2"]},{"1377011416":["hashtag1","hashtag2"]},{"1377011419":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377011489, 1377011450, 1377011479, 1377011413, 1377011416, 1377011419)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.9005560874939 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:54:42.265057 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/36/image_14082025_04_36_09_10369.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_18_9064.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_28_10320.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_38_10301.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_49_10368.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_58_9083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/36/image_14082025_04_36_09_10369.jpg /media/data/images/14082025/04/36/image_14082025_04_36_18_9064.jpg /media/data/images/14082025/04/36/image_14082025_04_36_28_10320.jpg /media/data/images/14082025/04/36/image_14082025_04_36_38_10301.jpg /media/data/images/14082025/04/36/image_14082025_04_36_49_10368.jpg /media/data/images/14082025/04/36/image_14082025_04_36_58_9083.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5612087249755859 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:55:03.327794 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/36/image_14082025_04_36_09_10369.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_18_9064.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_28_10320.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_38_10301.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_49_10368.jpg', '/media/data/images/14082025/04/36/image_14082025_04_36_58_9083.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/36/image_14082025_04_36_09_10369.jpg /media/data/images/14082025/04/36/image_14082025_04_36_18_9064.jpg /media/data/images/14082025/04/36/image_14082025_04_36_28_10320.jpg /media/data/images/14082025/04/36/image_14082025_04_36_38_10301.jpg /media/data/images/14082025/04/36/image_14082025_04_36_49_10368.jpg /media/data/images/14082025/04/36/image_14082025_04_36_58_9083.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377011672","1377011669","1377011665","1377011635","1377011661","1377011655"],"photo_ids_order":["1377011635","1377011655","1377011661","1377011665","1377011669","1377011672"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebeaffc06ea72b7538cb26a2c6da0785.jpg","text":"TemporaryFile(/tmp/multipartBody6437511731634243590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172564277,"filename":"image_14082025_04_36_58_9083.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea182692727c5b7aa22110f6f3f687e6.jpg","text":"TemporaryFile(/tmp/multipartBody312829673276135796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172564277,"filename":"image_14082025_04_36_49_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ee8d8150bbf327a417a6dd5e9b7c28a.jpg","text":"TemporaryFile(/tmp/multipartBody4541453563150890825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172564277,"filename":"image_14082025_04_36_38_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/19939d1d8e0091d6c59343513497c9ec.jpg","text":"TemporaryFile(/tmp/multipartBody1250620906948600067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172564277,"filename":"image_14082025_04_36_09_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/209a7de998b2818828ce1e83e092fcc0.jpg","text":"TemporaryFile(/tmp/multipartBody5786118773983462616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172564277,"filename":"image_14082025_04_36_28_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d20457e0a5bae4e8e9f3828a9c4a0825.jpg","text":"TemporaryFile(/tmp/multipartBody4748723766246743652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172564277,"filename":"image_14082025_04_36_18_9064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377011661","file1":"1377011655","file0":"1377011635","file4":"1377011669","file5":"1377011672","file3":"1377011665"},"map_files_photo_id_array":[{"photo_id":"1377011672","filename":"file5"},{"photo_id":"1377011661","filename":"file2"},{"photo_id":"1377011669","filename":"file4"},{"photo_id":"1377011655","filename":"file1"},{"photo_id":"1377011635","filename":"file0"},{"photo_id":"1377011665","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377011672":["hashtag1","hashtag2"]},{"1377011669":["hashtag1","hashtag2"]},{"1377011665":["hashtag1","hashtag2"]},{"1377011635":["hashtag1","hashtag2"]},{"1377011661":["hashtag1","hashtag2"]},{"1377011655":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377011672, 1377011669, 1377011665, 1377011635, 1377011661, 1377011655)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.05237174034119 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:56:03.141361 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/36/image_14082025_04_37_08_10340.jpg', '/media/data/images/14082025/04/37/image_14082025_04_37_19_10461.jpg', '/media/data/images/14082025/04/37/image_14082025_04_37_29_10274.jpg', '/media/data/images/14082025/04/37/image_14082025_04_37_38_9143.jpg', '/media/data/images/14082025/04/37/image_14082025_04_37_48_10257.jpg', '/media/data/images/14082025/04/37/image_14082025_04_37_59_10258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/36/image_14082025_04_37_08_10340.jpg /media/data/images/14082025/04/37/image_14082025_04_37_19_10461.jpg /media/data/images/14082025/04/37/image_14082025_04_37_29_10274.jpg /media/data/images/14082025/04/37/image_14082025_04_37_38_9143.jpg /media/data/images/14082025/04/37/image_14082025_04_37_48_10257.jpg /media/data/images/14082025/04/37/image_14082025_04_37_59_10258.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377011706","1377011681","1377011737","1377011710","1377011734","1377011694"],"photo_ids_order":["1377011681","1377011694","1377011706","1377011710","1377011734","1377011737"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a1f5e4d3ac73de9b0b4fbb21391483f.jpg","text":"TemporaryFile(/tmp/multipartBody8653988958642070401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172624203,"filename":"image_14082025_04_37_29_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d244f2ea7bedeab25d0062450e55c28e.jpg","text":"TemporaryFile(/tmp/multipartBody7022630968771612323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172624203,"filename":"image_14082025_04_37_08_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57243da2bd434b2d172666f6db931d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8648731397233797584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172624203,"filename":"image_14082025_04_37_59_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/527960311b6f2aa6b6740b3194e25752.jpg","text":"TemporaryFile(/tmp/multipartBody3867978192515187393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172624203,"filename":"image_14082025_04_37_38_9143.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37b2404b7332971d49e4f42315d254f8.jpg","text":"TemporaryFile(/tmp/multipartBody4076572478591013586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172624203,"filename":"image_14082025_04_37_48_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a58e99d8b6dffa9d236c2be2a7d6ee4a.jpg","text":"TemporaryFile(/tmp/multipartBody1335050161562261477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172624203,"filename":"image_14082025_04_37_19_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377011706","file1":"1377011694","file0":"1377011681","file4":"1377011734","file5":"1377011737","file3":"1377011710"},"map_files_photo_id_array":[{"photo_id":"1377011737","filename":"file5"},{"photo_id":"1377011706","filename":"file2"},{"photo_id":"1377011734","filename":"file4"},{"photo_id":"1377011694","filename":"file1"},{"photo_id":"1377011681","filename":"file0"},{"photo_id":"1377011710","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377011706":["hashtag1","hashtag2"]},{"1377011681":["hashtag1","hashtag2"]},{"1377011737":["hashtag1","hashtag2"]},{"1377011710":["hashtag1","hashtag2"]},{"1377011734":["hashtag1","hashtag2"]},{"1377011694":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377011706, 1377011681, 1377011737, 1377011710, 1377011734, 1377011694)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.81554913520813 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:57:03.288618 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/38/image_14082025_04_38_08_9382.jpg', '/media/data/images/14082025/04/38/image_14082025_04_38_18_10277.jpg', '/media/data/images/14082025/04/38/image_14082025_04_38_29_10273.jpg', '/media/data/images/14082025/04/38/image_14082025_04_38_38_9241.jpg', '/media/data/images/14082025/04/38/image_14082025_04_38_48_10308.jpg', '/media/data/images/14082025/04/38/image_14082025_04_38_58_10317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/38/image_14082025_04_38_08_9382.jpg /media/data/images/14082025/04/38/image_14082025_04_38_18_10277.jpg /media/data/images/14082025/04/38/image_14082025_04_38_29_10273.jpg /media/data/images/14082025/04/38/image_14082025_04_38_38_9241.jpg /media/data/images/14082025/04/38/image_14082025_04_38_48_10308.jpg /media/data/images/14082025/04/38/image_14082025_04_38_58_10317.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377011925","1377012071","1377012035","1377011962","1377012106","1377011997"],"photo_ids_order":["1377011925","1377011962","1377011997","1377012035","1377012071","1377012106"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/252b3c5e53b6e5982b90c33453e33843.jpg","text":"TemporaryFile(/tmp/multipartBody572862580290059743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172684325,"filename":"image_14082025_04_38_08_9382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92c71cf8ad69f29ec8364f823aaffff2.jpg","text":"TemporaryFile(/tmp/multipartBody5054911117257118730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172684325,"filename":"image_14082025_04_38_48_10308.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/823749bd21a3240fd2297b453cf59859.jpg","text":"TemporaryFile(/tmp/multipartBody7894086214723129862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172684325,"filename":"image_14082025_04_38_38_9241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68728e426e8f075e4c8e50b5f771b9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4828173689104767709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172684325,"filename":"image_14082025_04_38_18_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af60c29dc02afc4e5ab0ae2446186d39.jpg","text":"TemporaryFile(/tmp/multipartBody5421462681921649434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172684325,"filename":"image_14082025_04_38_58_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/334b8eb14603673d053fcea93576a7af.jpg","text":"TemporaryFile(/tmp/multipartBody3428501180711621973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172684325,"filename":"image_14082025_04_38_29_10273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377011997","file1":"1377011962","file0":"1377011925","file4":"1377012071","file5":"1377012106","file3":"1377012035"},"map_files_photo_id_array":[{"photo_id":"1377012106","filename":"file5"},{"photo_id":"1377011997","filename":"file2"},{"photo_id":"1377012071","filename":"file4"},{"photo_id":"1377011962","filename":"file1"},{"photo_id":"1377011925","filename":"file0"},{"photo_id":"1377012035","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377011925":["hashtag1","hashtag2"]},{"1377012071":["hashtag1","hashtag2"]},{"1377012035":["hashtag1","hashtag2"]},{"1377011962":["hashtag1","hashtag2"]},{"1377012106":["hashtag1","hashtag2"]},{"1377011997":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377011925, 1377012071, 1377012035, 1377011962, 1377012106, 1377011997)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.29639649391174 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 13:59:03.292176 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/39/image_14082025_04_39_09_10149.jpg', '/media/data/images/14082025/04/39/image_14082025_04_39_19_10315.jpg', '/media/data/images/14082025/04/39/image_14082025_04_39_28_9229.jpg', '/media/data/images/14082025/04/39/image_14082025_04_39_38_10306.jpg', '/media/data/images/14082025/04/39/image_14082025_04_39_49_10326.jpg', '/media/data/images/14082025/04/39/image_14082025_04_39_58_9184.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/39/image_14082025_04_39_09_10149.jpg /media/data/images/14082025/04/39/image_14082025_04_39_19_10315.jpg /media/data/images/14082025/04/39/image_14082025_04_39_28_9229.jpg /media/data/images/14082025/04/39/image_14082025_04_39_38_10306.jpg /media/data/images/14082025/04/39/image_14082025_04_39_49_10326.jpg /media/data/images/14082025/04/39/image_14082025_04_39_58_9184.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377012569","1377012461","1377012385","1377012535","1377012501","1377012423"],"photo_ids_order":["1377012385","1377012423","1377012461","1377012501","1377012535","1377012569"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/784ea109d5c38b4eb2ad9a6cb83dd65e.jpg","text":"TemporaryFile(/tmp/multipartBody3972386812071171025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172804354,"filename":"image_14082025_04_39_58_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ddab6024bc7a7d9903947385b837275.jpg","text":"TemporaryFile(/tmp/multipartBody746080102330600553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172804354,"filename":"image_14082025_04_39_28_9229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2fad26f2ffbbb8a037864a2743ca9ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1997110162631838500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172804354,"filename":"image_14082025_04_39_09_10149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59fd58cb60863cb3607b46184b948fd5.jpg","text":"TemporaryFile(/tmp/multipartBody7584941673983029491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172804354,"filename":"image_14082025_04_39_49_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84740877ba483c7a47465895c18afe8a.jpg","text":"TemporaryFile(/tmp/multipartBody1603058141699961955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172804354,"filename":"image_14082025_04_39_38_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e5a8637751d72b87dd0f53b45a7f726.jpg","text":"TemporaryFile(/tmp/multipartBody7189481245326735064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172804354,"filename":"image_14082025_04_39_19_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377012461","file1":"1377012423","file0":"1377012385","file4":"1377012535","file5":"1377012569","file3":"1377012501"},"map_files_photo_id_array":[{"photo_id":"1377012569","filename":"file5"},{"photo_id":"1377012461","filename":"file2"},{"photo_id":"1377012535","filename":"file4"},{"photo_id":"1377012423","filename":"file1"},{"photo_id":"1377012385","filename":"file0"},{"photo_id":"1377012501","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377012569":["hashtag1","hashtag2"]},{"1377012461":["hashtag1","hashtag2"]},{"1377012385":["hashtag1","hashtag2"]},{"1377012535":["hashtag1","hashtag2"]},{"1377012501":["hashtag1","hashtag2"]},{"1377012423":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377012569, 1377012461, 1377012385, 1377012535, 1377012501, 1377012423)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.99853587150574 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:00:03.020026 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/39/image_14082025_04_40_09_10598.jpg', '/media/data/images/14082025/04/40/image_14082025_04_40_19_10326.jpg', '/media/data/images/14082025/04/40/image_14082025_04_40_28_9190.jpg', '/media/data/images/14082025/04/40/image_14082025_04_40_38_10259.jpg', '/media/data/images/14082025/04/40/image_14082025_04_40_58_9161.jpg', '/media/data/images/14082025/04/40/image_14082025_04_41_09_10600.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/39/image_14082025_04_40_09_10598.jpg /media/data/images/14082025/04/40/image_14082025_04_40_19_10326.jpg /media/data/images/14082025/04/40/image_14082025_04_40_28_9190.jpg /media/data/images/14082025/04/40/image_14082025_04_40_38_10259.jpg /media/data/images/14082025/04/40/image_14082025_04_40_58_9161.jpg /media/data/images/14082025/04/40/image_14082025_04_41_09_10600.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377012932","1377012898","1377012790","1377012832","1377012940","1377012866"],"photo_ids_order":["1377012790","1377012832","1377012866","1377012898","1377012932","1377012940"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4795c05d9726d8d3db2995ca6be5fd9.jpg","text":"TemporaryFile(/tmp/multipartBody4379357111524840385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172864042,"filename":"image_14082025_04_40_58_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1aa8b7d9765273963d3492d8e63ab868.jpg","text":"TemporaryFile(/tmp/multipartBody2470312270006614649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172864042,"filename":"image_14082025_04_40_38_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65bc8f3880805f3e380a6c6cf32a5adb.jpg","text":"TemporaryFile(/tmp/multipartBody2264453593485817006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172864042,"filename":"image_14082025_04_40_09_10598.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aff2c0e7bb5fccf6237f7cd13f625327.jpg","text":"TemporaryFile(/tmp/multipartBody5342276108863309735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172864042,"filename":"image_14082025_04_40_19_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a06a568ca264df9ff0648317e81b82ca.jpg","text":"TemporaryFile(/tmp/multipartBody8859910465615679943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172864042,"filename":"image_14082025_04_41_09_10600.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4801271249db78514e6d5a0c790466dc.jpg","text":"TemporaryFile(/tmp/multipartBody284032309535281589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172864042,"filename":"image_14082025_04_40_28_9190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377012866","file1":"1377012832","file0":"1377012790","file4":"1377012932","file5":"1377012940","file3":"1377012898"},"map_files_photo_id_array":[{"photo_id":"1377012940","filename":"file5"},{"photo_id":"1377012866","filename":"file2"},{"photo_id":"1377012932","filename":"file4"},{"photo_id":"1377012832","filename":"file1"},{"photo_id":"1377012790","filename":"file0"},{"photo_id":"1377012898","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377012932":["hashtag1","hashtag2"]},{"1377012898":["hashtag1","hashtag2"]},{"1377012790":["hashtag1","hashtag2"]},{"1377012832":["hashtag1","hashtag2"]},{"1377012940":["hashtag1","hashtag2"]},{"1377012866":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377012932, 1377012898, 1377012790, 1377012832, 1377012940, 1377012866)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.31827688217163 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:01:03.383583 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/41/image_14082025_04_41_19_10414.jpg', '/media/data/images/14082025/04/41/image_14082025_04_41_38_10374.jpg', '/media/data/images/14082025/04/41/image_14082025_04_41_49_10417.jpg', '/media/data/images/14082025/04/41/image_14082025_04_41_58_9100.jpg', '/media/data/images/14082025/04/41/image_14082025_04_42_08_10523.jpg', '/media/data/images/14082025/04/42/image_14082025_04_42_19_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/41/image_14082025_04_41_19_10414.jpg /media/data/images/14082025/04/41/image_14082025_04_41_38_10374.jpg /media/data/images/14082025/04/41/image_14082025_04_41_49_10417.jpg /media/data/images/14082025/04/41/image_14082025_04_41_58_9100.jpg /media/data/images/14082025/04/41/image_14082025_04_42_08_10523.jpg /media/data/images/14082025/04/42/image_14082025_04_42_19_10442.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377013477","1377013417","1377013225","1377013299","1377013565","1377013367"],"photo_ids_order":["1377013225","1377013299","1377013367","1377013417","1377013477","1377013565"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73b31ca2a70cf1bf08d24bbe0177745d.jpg","text":"TemporaryFile(/tmp/multipartBody6177110309407596760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172924344,"filename":"image_14082025_04_42_08_10523.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59dcf3c4938a7050aa3df71408879efa.jpg","text":"TemporaryFile(/tmp/multipartBody7983755096918384579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172924344,"filename":"image_14082025_04_41_58_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5baf0b363da00a451db7b13452434293.jpg","text":"TemporaryFile(/tmp/multipartBody2456506026539577701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172924344,"filename":"image_14082025_04_41_19_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da63546f9c003abe1fd24191a07cfad2.jpg","text":"TemporaryFile(/tmp/multipartBody7238804637257736553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172924344,"filename":"image_14082025_04_41_38_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03a26c1e64d9de6914ee3024c944b97d.jpg","text":"TemporaryFile(/tmp/multipartBody322660051538555813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172924344,"filename":"image_14082025_04_42_19_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45b960e6f83fbb6b5b2632ce0021b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody6514507492117630790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172924344,"filename":"image_14082025_04_41_49_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377013367","file1":"1377013299","file0":"1377013225","file4":"1377013477","file5":"1377013565","file3":"1377013417"},"map_files_photo_id_array":[{"photo_id":"1377013565","filename":"file5"},{"photo_id":"1377013367","filename":"file2"},{"photo_id":"1377013477","filename":"file4"},{"photo_id":"1377013299","filename":"file1"},{"photo_id":"1377013225","filename":"file0"},{"photo_id":"1377013417","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377013477":["hashtag1","hashtag2"]},{"1377013417":["hashtag1","hashtag2"]},{"1377013225":["hashtag1","hashtag2"]},{"1377013299":["hashtag1","hashtag2"]},{"1377013565":["hashtag1","hashtag2"]},{"1377013367":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377013477, 1377013417, 1377013225, 1377013299, 1377013565, 1377013367)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.84580063819885 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:02:03.378014 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/42/image_14082025_04_42_28_9146.jpg', '/media/data/images/14082025/04/42/image_14082025_04_42_38_10345.jpg', '/media/data/images/14082025/04/42/image_14082025_04_42_49_10367.jpg', '/media/data/images/14082025/04/42/image_14082025_04_42_58_9149.jpg', '/media/data/images/14082025/04/42/image_14082025_04_43_08_10449.jpg', '/media/data/images/14082025/04/43/image_14082025_04_43_19_10470.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/42/image_14082025_04_42_28_9146.jpg /media/data/images/14082025/04/42/image_14082025_04_42_38_10345.jpg /media/data/images/14082025/04/42/image_14082025_04_42_49_10367.jpg /media/data/images/14082025/04/42/image_14082025_04_42_58_9149.jpg /media/data/images/14082025/04/42/image_14082025_04_43_08_10449.jpg /media/data/images/14082025/04/43/image_14082025_04_43_19_10470.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377013802","1377013897","1377013906","1377013893","1377013875","1377013839"],"photo_ids_order":["1377013802","1377013839","1377013875","1377013893","1377013897","1377013906"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/964278c6f9a7e7eba3ed33041b821219.jpg","text":"TemporaryFile(/tmp/multipartBody9202894809216598568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172984430,"filename":"image_14082025_04_42_28_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b2497f739f08660d75db97aa8475e86.jpg","text":"TemporaryFile(/tmp/multipartBody1191276695075149024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172984430,"filename":"image_14082025_04_43_08_10449.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2c9ca899357f9c55c6745d241a08771.jpg","text":"TemporaryFile(/tmp/multipartBody2648903302106127979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172984430,"filename":"image_14082025_04_43_19_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9cceb4f92efd345668d5e7318952eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1827029442780999235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172984430,"filename":"image_14082025_04_42_58_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/321cbc44a93fff4fd200fa245e218478.jpg","text":"TemporaryFile(/tmp/multipartBody1912404159878570604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172984430,"filename":"image_14082025_04_42_49_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0aba7cfcbb700596d19e2ca1b86bb8c.jpg","text":"TemporaryFile(/tmp/multipartBody6498933213844968673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755172984430,"filename":"image_14082025_04_42_38_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377013875","file1":"1377013839","file0":"1377013802","file4":"1377013897","file5":"1377013906","file3":"1377013893"},"map_files_photo_id_array":[{"photo_id":"1377013906","filename":"file5"},{"photo_id":"1377013875","filename":"file2"},{"photo_id":"1377013897","filename":"file4"},{"photo_id":"1377013839","filename":"file1"},{"photo_id":"1377013802","filename":"file0"},{"photo_id":"1377013893","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377013802":["hashtag1","hashtag2"]},{"1377013897":["hashtag1","hashtag2"]},{"1377013906":["hashtag1","hashtag2"]},{"1377013893":["hashtag1","hashtag2"]},{"1377013875":["hashtag1","hashtag2"]},{"1377013839":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377013802, 1377013897, 1377013906, 1377013893, 1377013875, 1377013839)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.09580945968628 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:03:02.849791 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/43/image_14082025_04_43_28_9186.jpg', '/media/data/images/14082025/04/43/image_14082025_04_43_38_10360.jpg', '/media/data/images/14082025/04/43/image_14082025_04_43_49_10292.jpg', '/media/data/images/14082025/04/43/image_14082025_04_43_59_10362.jpg', '/media/data/images/14082025/04/44/image_14082025_04_44_08_9189.jpg', '/media/data/images/14082025/04/44/image_14082025_04_44_19_10565.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/43/image_14082025_04_43_28_9186.jpg /media/data/images/14082025/04/43/image_14082025_04_43_38_10360.jpg /media/data/images/14082025/04/43/image_14082025_04_43_49_10292.jpg /media/data/images/14082025/04/43/image_14082025_04_43_59_10362.jpg /media/data/images/14082025/04/44/image_14082025_04_44_08_9189.jpg /media/data/images/14082025/04/44/image_14082025_04_44_19_10565.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377014199","1377014151","1377014232","1377014081","1377014039","1377014048"],"photo_ids_order":["1377014039","1377014048","1377014081","1377014151","1377014199","1377014232"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c328ed2335c4eeefdec0394bc8badc70.jpg","text":"TemporaryFile(/tmp/multipartBody5241715036036667420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173043877,"filename":"image_14082025_04_44_08_9189.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c89632e5ce788707d972bff13b5ca80f.jpg","text":"TemporaryFile(/tmp/multipartBody4650357700464540486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173043877,"filename":"image_14082025_04_43_59_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/623cd8d3a3b42e752bb161a7c4cf09fb.jpg","text":"TemporaryFile(/tmp/multipartBody1297465909797144298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173043877,"filename":"image_14082025_04_44_19_10565.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b32b3872855badff3ba625edab6748d.jpg","text":"TemporaryFile(/tmp/multipartBody5498630537781011231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173043877,"filename":"image_14082025_04_43_49_10292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7850ef75dd2290f0ed4c754e191a784f.jpg","text":"TemporaryFile(/tmp/multipartBody5757784037644451242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173043877,"filename":"image_14082025_04_43_28_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdd435dbd854ccac06dfd303f0fd38cd.jpg","text":"TemporaryFile(/tmp/multipartBody6779702757270286893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173043877,"filename":"image_14082025_04_43_38_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377014081","file1":"1377014048","file0":"1377014039","file4":"1377014199","file5":"1377014232","file3":"1377014151"},"map_files_photo_id_array":[{"photo_id":"1377014232","filename":"file5"},{"photo_id":"1377014081","filename":"file2"},{"photo_id":"1377014199","filename":"file4"},{"photo_id":"1377014048","filename":"file1"},{"photo_id":"1377014039","filename":"file0"},{"photo_id":"1377014151","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377014199":["hashtag1","hashtag2"]},{"1377014151":["hashtag1","hashtag2"]},{"1377014232":["hashtag1","hashtag2"]},{"1377014081":["hashtag1","hashtag2"]},{"1377014039":["hashtag1","hashtag2"]},{"1377014048":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377014199, 1377014151, 1377014232, 1377014081, 1377014039, 1377014048)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.976460218429565 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:04:02.696182 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/44/image_14082025_04_44_28_9111.jpg', '/media/data/images/14082025/04/44/image_14082025_04_44_38_10359.jpg', '/media/data/images/14082025/04/44/image_14082025_04_44_49_10349.jpg', '/media/data/images/14082025/04/44/image_14082025_04_44_59_10257.jpg', '/media/data/images/14082025/04/45/image_14082025_04_45_08_9047.jpg', '/media/data/images/14082025/04/45/image_14082025_04_45_18_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/44/image_14082025_04_44_28_9111.jpg /media/data/images/14082025/04/44/image_14082025_04_44_38_10359.jpg /media/data/images/14082025/04/44/image_14082025_04_44_49_10349.jpg /media/data/images/14082025/04/44/image_14082025_04_44_59_10257.jpg /media/data/images/14082025/04/45/image_14082025_04_45_08_9047.jpg /media/data/images/14082025/04/45/image_14082025_04_45_18_10459.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377014605","1377014568","1377014496","1377014640","1377014532","1377014675"],"photo_ids_order":["1377014496","1377014532","1377014568","1377014605","1377014640","1377014675"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/011b7f8233289ca24df05d9fb7e7c608.jpg","text":"TemporaryFile(/tmp/multipartBody5640688618409623423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173103702,"filename":"image_14082025_04_44_59_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7abcfed816134f309d05610650c7cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6428357533750100589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173103702,"filename":"image_14082025_04_44_49_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bacb891f4a6dacd46e781c7a6efd7909.jpg","text":"TemporaryFile(/tmp/multipartBody4023096539222018706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173103702,"filename":"image_14082025_04_44_28_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc60005c268e17144cf043e857c2ae7e.jpg","text":"TemporaryFile(/tmp/multipartBody6514307914200411260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173103702,"filename":"image_14082025_04_45_08_9047.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dc7dea49aa1cb92db655cb2825fb1aa.jpg","text":"TemporaryFile(/tmp/multipartBody4303317064595824207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173103702,"filename":"image_14082025_04_44_38_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8fec8174c20db9f8166cd8c9e3aee52d.jpg","text":"TemporaryFile(/tmp/multipartBody526822834506080227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173103702,"filename":"image_14082025_04_45_18_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377014568","file1":"1377014532","file0":"1377014496","file4":"1377014640","file5":"1377014675","file3":"1377014605"},"map_files_photo_id_array":[{"photo_id":"1377014675","filename":"file5"},{"photo_id":"1377014568","filename":"file2"},{"photo_id":"1377014640","filename":"file4"},{"photo_id":"1377014532","filename":"file1"},{"photo_id":"1377014496","filename":"file0"},{"photo_id":"1377014605","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377014605":["hashtag1","hashtag2"]},{"1377014568":["hashtag1","hashtag2"]},{"1377014496":["hashtag1","hashtag2"]},{"1377014640":["hashtag1","hashtag2"]},{"1377014532":["hashtag1","hashtag2"]},{"1377014675":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377014605, 1377014568, 1377014496, 1377014640, 1377014532, 1377014675)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.14299750328064 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:05:02.965402 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/45/image_14082025_04_45_29_10403.jpg', '/media/data/images/14082025/04/45/image_14082025_04_45_39_10284.jpg', '/media/data/images/14082025/04/45/image_14082025_04_45_48_9042.jpg', '/media/data/images/14082025/04/45/image_14082025_04_45_58_10365.jpg', '/media/data/images/14082025/04/46/image_14082025_04_46_09_10429.jpg', '/media/data/images/14082025/04/46/image_14082025_04_46_18_9163.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/45/image_14082025_04_45_29_10403.jpg /media/data/images/14082025/04/45/image_14082025_04_45_39_10284.jpg /media/data/images/14082025/04/45/image_14082025_04_45_48_9042.jpg /media/data/images/14082025/04/45/image_14082025_04_45_58_10365.jpg /media/data/images/14082025/04/46/image_14082025_04_46_09_10429.jpg /media/data/images/14082025/04/46/image_14082025_04_46_18_9163.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377014964","1377015098","1377015464","1377015365","1377015230","1377015002"],"photo_ids_order":["1377014964","1377015002","1377015098","1377015230","1377015365","1377015464"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a88a9491ef7cf2bb4b9b50dd7246cfb7.jpg","text":"TemporaryFile(/tmp/multipartBody6628038134381512749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173164011,"filename":"image_14082025_04_45_29_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90401320b8e2f7deea2f8de55ab88ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8239054978480418614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173164011,"filename":"image_14082025_04_45_48_9042.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c4337baf0e05b7c3297787f904f2660b.jpg","text":"TemporaryFile(/tmp/multipartBody4479739520172149177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173164011,"filename":"image_14082025_04_46_18_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09c74b0fd2a4d05db3a6cd65d2aa9002.jpg","text":"TemporaryFile(/tmp/multipartBody3032590295391213263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173164011,"filename":"image_14082025_04_46_09_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25ed76bbd26bf9d6af16da7fa468956b.jpg","text":"TemporaryFile(/tmp/multipartBody1180814989823890761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173164011,"filename":"image_14082025_04_45_58_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69665a926bc35dec2df9ccbfc9ad23b6.jpg","text":"TemporaryFile(/tmp/multipartBody8201124509971404009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173164011,"filename":"image_14082025_04_45_39_10284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377015098","file1":"1377015002","file0":"1377014964","file4":"1377015365","file5":"1377015464","file3":"1377015230"},"map_files_photo_id_array":[{"photo_id":"1377015464","filename":"file5"},{"photo_id":"1377015098","filename":"file2"},{"photo_id":"1377015365","filename":"file4"},{"photo_id":"1377015002","filename":"file1"},{"photo_id":"1377014964","filename":"file0"},{"photo_id":"1377015230","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377014964":["hashtag1","hashtag2"]},{"1377015098":["hashtag1","hashtag2"]},{"1377015464":["hashtag1","hashtag2"]},{"1377015365":["hashtag1","hashtag2"]},{"1377015230":["hashtag1","hashtag2"]},{"1377015002":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377014964, 1377015098, 1377015464, 1377015365, 1377015230, 1377015002)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.70731735229492 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:06:02.851305 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/46/image_14082025_04_46_28_10354.jpg', '/media/data/images/14082025/04/46/image_14082025_04_46_39_10320.jpg', '/media/data/images/14082025/04/46/image_14082025_04_46_48_9183.jpg', '/media/data/images/14082025/04/46/image_14082025_04_46_58_10282.jpg', '/media/data/images/14082025/04/47/image_14082025_04_47_08_10153.jpg', '/media/data/images/14082025/04/47/image_14082025_04_47_19_10574.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/46/image_14082025_04_46_28_10354.jpg /media/data/images/14082025/04/46/image_14082025_04_46_39_10320.jpg /media/data/images/14082025/04/46/image_14082025_04_46_48_9183.jpg /media/data/images/14082025/04/46/image_14082025_04_46_58_10282.jpg /media/data/images/14082025/04/47/image_14082025_04_47_08_10153.jpg /media/data/images/14082025/04/47/image_14082025_04_47_19_10574.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377015789","1377015936","1377015857","1377015833","1377015892","1377015814"],"photo_ids_order":["1377015789","1377015814","1377015833","1377015857","1377015892","1377015936"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9dfdee3de2a57cec99f6af5cb8497e93.jpg","text":"TemporaryFile(/tmp/multipartBody5467877039436564168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173223915,"filename":"image_14082025_04_46_28_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2170084ca66e5034f2388c35fd2915c2.jpg","text":"TemporaryFile(/tmp/multipartBody8120070961138237371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173223915,"filename":"image_14082025_04_47_19_10574.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51cd2234687d509b46c4cd14a6651cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7456152756831414305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173223915,"filename":"image_14082025_04_46_58_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86b511808127b1985ba86aaae7408073.jpg","text":"TemporaryFile(/tmp/multipartBody8061887425680701839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173223915,"filename":"image_14082025_04_46_48_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33c7ab27953918855310e23299d97767.jpg","text":"TemporaryFile(/tmp/multipartBody2606428088820242663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173223915,"filename":"image_14082025_04_47_08_10153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6931b16a519740b68da0cf7bc7bd60c.jpg","text":"TemporaryFile(/tmp/multipartBody5359213781916839247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173223915,"filename":"image_14082025_04_46_39_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377015833","file1":"1377015814","file0":"1377015789","file4":"1377015892","file5":"1377015936","file3":"1377015857"},"map_files_photo_id_array":[{"photo_id":"1377015936","filename":"file5"},{"photo_id":"1377015833","filename":"file2"},{"photo_id":"1377015892","filename":"file4"},{"photo_id":"1377015814","filename":"file1"},{"photo_id":"1377015789","filename":"file0"},{"photo_id":"1377015857","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377015789":["hashtag1","hashtag2"]},{"1377015936":["hashtag1","hashtag2"]},{"1377015857":["hashtag1","hashtag2"]},{"1377015833":["hashtag1","hashtag2"]},{"1377015892":["hashtag1","hashtag2"]},{"1377015814":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377015789, 1377015936, 1377015857, 1377015833, 1377015892, 1377015814)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.70807075500488 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:07:03.262344 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/47/image_14082025_04_47_28_9072.jpg', '/media/data/images/14082025/04/47/image_14082025_04_47_38_10391.jpg', '/media/data/images/14082025/04/47/image_14082025_04_47_49_10353.jpg', '/media/data/images/14082025/04/47/image_14082025_04_48_08_10498.jpg', '/media/data/images/14082025/04/48/image_14082025_04_48_19_10412.jpg', '/media/data/images/14082025/04/48/image_14082025_04_48_28_9067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/47/image_14082025_04_47_28_9072.jpg /media/data/images/14082025/04/47/image_14082025_04_47_38_10391.jpg /media/data/images/14082025/04/47/image_14082025_04_47_49_10353.jpg /media/data/images/14082025/04/47/image_14082025_04_48_08_10498.jpg /media/data/images/14082025/04/48/image_14082025_04_48_19_10412.jpg /media/data/images/14082025/04/48/image_14082025_04_48_28_9067.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377016233","1377016236","1377016416","1377016291","1377016249","1377016357"],"photo_ids_order":["1377016233","1377016236","1377016249","1377016291","1377016357","1377016416"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36f4fea457ed37675040e66741040171.jpg","text":"TemporaryFile(/tmp/multipartBody8792031929592559813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173284301,"filename":"image_14082025_04_47_28_9072.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/699e469b297c60a6957719321f19a5ae.jpg","text":"TemporaryFile(/tmp/multipartBody2851071522533829371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173284301,"filename":"image_14082025_04_47_38_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8b15adb733e45c69f7e1e19e4d4cafa.jpg","text":"TemporaryFile(/tmp/multipartBody1016687497763148072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173284301,"filename":"image_14082025_04_48_28_9067.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a9d0aa64a50a3ab7cfe48449c39eac8.jpg","text":"TemporaryFile(/tmp/multipartBody7661014186230265073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173284301,"filename":"image_14082025_04_48_08_10498.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/740ff6fd6008145c1403bf065741d27a.jpg","text":"TemporaryFile(/tmp/multipartBody5240393944633885586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173284301,"filename":"image_14082025_04_47_49_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c9783b2c8ac06155f315613aaa3aa57.jpg","text":"TemporaryFile(/tmp/multipartBody8239492710284797813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173284301,"filename":"image_14082025_04_48_19_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377016249","file1":"1377016236","file0":"1377016233","file4":"1377016357","file5":"1377016416","file3":"1377016291"},"map_files_photo_id_array":[{"photo_id":"1377016416","filename":"file5"},{"photo_id":"1377016249","filename":"file2"},{"photo_id":"1377016357","filename":"file4"},{"photo_id":"1377016236","filename":"file1"},{"photo_id":"1377016233","filename":"file0"},{"photo_id":"1377016291","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377016233":["hashtag1","hashtag2"]},{"1377016236":["hashtag1","hashtag2"]},{"1377016416":["hashtag1","hashtag2"]},{"1377016291":["hashtag1","hashtag2"]},{"1377016249":["hashtag1","hashtag2"]},{"1377016357":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377016233, 1377016236, 1377016416, 1377016291, 1377016249, 1377016357)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.30907225608826 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:08:03.223357 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/48/image_14082025_04_48_38_10331.jpg', '/media/data/images/14082025/04/48/image_14082025_04_48_49_10322.jpg', '/media/data/images/14082025/04/48/image_14082025_04_48_58_9331.jpg', '/media/data/images/14082025/04/48/image_14082025_04_49_08_10533.jpg', '/media/data/images/14082025/04/49/image_14082025_04_49_19_10481.jpg', '/media/data/images/14082025/04/49/image_14082025_04_49_28_9183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/48/image_14082025_04_48_38_10331.jpg /media/data/images/14082025/04/48/image_14082025_04_48_49_10322.jpg /media/data/images/14082025/04/48/image_14082025_04_48_58_9331.jpg /media/data/images/14082025/04/48/image_14082025_04_49_08_10533.jpg /media/data/images/14082025/04/49/image_14082025_04_49_19_10481.jpg /media/data/images/14082025/04/49/image_14082025_04_49_28_9183.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377016860","1377016629","1377016826","1377016720","1377016791","1377016903"],"photo_ids_order":["1377016629","1377016720","1377016791","1377016826","1377016860","1377016903"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a39eb8b3c1893a99777640a0aeb0b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1355192600136330265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173344225,"filename":"image_14082025_04_49_19_10481.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2bf952f39cb9c869b6cb168e0273a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8683835992343991441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173344225,"filename":"image_14082025_04_48_38_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e88e77675c3a54743b8c08f94ab8e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3991093173155649490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173344225,"filename":"image_14082025_04_49_08_10533.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8655d9f460c1481a455610a0f43c3ec.jpg","text":"TemporaryFile(/tmp/multipartBody353281441563015050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173344225,"filename":"image_14082025_04_48_49_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a1c8e46983202534425c6b1dced382e.jpg","text":"TemporaryFile(/tmp/multipartBody7398013670047352697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173344225,"filename":"image_14082025_04_48_58_9331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6876c7e1949cc3596f4d49d7a33dbe6.jpg","text":"TemporaryFile(/tmp/multipartBody6080131248322391550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173344225,"filename":"image_14082025_04_49_28_9183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377016791","file1":"1377016720","file0":"1377016629","file4":"1377016860","file5":"1377016903","file3":"1377016826"},"map_files_photo_id_array":[{"photo_id":"1377016903","filename":"file5"},{"photo_id":"1377016791","filename":"file2"},{"photo_id":"1377016860","filename":"file4"},{"photo_id":"1377016720","filename":"file1"},{"photo_id":"1377016629","filename":"file0"},{"photo_id":"1377016826","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377016860":["hashtag1","hashtag2"]},{"1377016629":["hashtag1","hashtag2"]},{"1377016826":["hashtag1","hashtag2"]},{"1377016720":["hashtag1","hashtag2"]},{"1377016791":["hashtag1","hashtag2"]},{"1377016903":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377016860, 1377016629, 1377016826, 1377016720, 1377016791, 1377016903)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.086097717285156 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:09:03.548022 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/49/image_14082025_04_49_38_10288.jpg', '/media/data/images/14082025/04/49/image_14082025_04_49_49_10293.jpg', '/media/data/images/14082025/04/49/image_14082025_04_49_59_10276.jpg', '/media/data/images/14082025/04/50/image_14082025_04_50_08_8968.jpg', '/media/data/images/14082025/04/50/image_14082025_04_50_18_10352.jpg', '/media/data/images/14082025/04/50/image_14082025_04_50_29_10273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/49/image_14082025_04_49_38_10288.jpg /media/data/images/14082025/04/49/image_14082025_04_49_49_10293.jpg /media/data/images/14082025/04/49/image_14082025_04_49_59_10276.jpg /media/data/images/14082025/04/50/image_14082025_04_50_08_8968.jpg /media/data/images/14082025/04/50/image_14082025_04_50_18_10352.jpg /media/data/images/14082025/04/50/image_14082025_04_50_29_10273.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377017220","1377017261","1377017277","1377017184","1377017052","1377017127"],"photo_ids_order":["1377017052","1377017127","1377017184","1377017220","1377017261","1377017277"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba62dc79bf2c9d33688bfd9a7132b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody5478991409364013259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173404650,"filename":"image_14082025_04_50_08_8968.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f79e52ab294a72748c71273bf964ca96.jpg","text":"TemporaryFile(/tmp/multipartBody1028925213817320762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173404650,"filename":"image_14082025_04_50_18_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b7da89bab668a29c4fa46556488dd17b.jpg","text":"TemporaryFile(/tmp/multipartBody1096358268481679077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173404650,"filename":"image_14082025_04_50_29_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a65042b57ed2505848be925324cb5a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1371253896204792469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173404650,"filename":"image_14082025_04_49_59_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38ce67f2a8ab728542db6d856806f7a3.jpg","text":"TemporaryFile(/tmp/multipartBody8462412715752606488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173404650,"filename":"image_14082025_04_49_38_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03830ed76a16ca2209a8b637690b5098.jpg","text":"TemporaryFile(/tmp/multipartBody4855688634460918132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173404650,"filename":"image_14082025_04_49_49_10293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377017184","file1":"1377017127","file0":"1377017052","file4":"1377017261","file5":"1377017277","file3":"1377017220"},"map_files_photo_id_array":[{"photo_id":"1377017277","filename":"file5"},{"photo_id":"1377017184","filename":"file2"},{"photo_id":"1377017261","filename":"file4"},{"photo_id":"1377017127","filename":"file1"},{"photo_id":"1377017052","filename":"file0"},{"photo_id":"1377017220","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377017220":["hashtag1","hashtag2"]},{"1377017261":["hashtag1","hashtag2"]},{"1377017277":["hashtag1","hashtag2"]},{"1377017184":["hashtag1","hashtag2"]},{"1377017052":["hashtag1","hashtag2"]},{"1377017127":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377017220, 1377017261, 1377017277, 1377017184, 1377017052, 1377017127)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.5741765499115 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:10:03.554885 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/50/image_14082025_04_50_39_10384.jpg', '/media/data/images/14082025/04/50/image_14082025_04_50_58_10272.jpg', '/media/data/images/14082025/04/51/image_14082025_04_51_09_10249.jpg', '/media/data/images/14082025/04/51/image_14082025_04_51_19_10310.jpg', '/media/data/images/14082025/04/51/image_14082025_04_51_28_9172.jpg', '/media/data/images/14082025/04/51/image_14082025_04_51_38_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/50/image_14082025_04_50_39_10384.jpg /media/data/images/14082025/04/50/image_14082025_04_50_58_10272.jpg /media/data/images/14082025/04/51/image_14082025_04_51_09_10249.jpg /media/data/images/14082025/04/51/image_14082025_04_51_19_10310.jpg /media/data/images/14082025/04/51/image_14082025_04_51_28_9172.jpg /media/data/images/14082025/04/51/image_14082025_04_51_38_10343.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377017576","1377017564","1377017558","1377017519","1377017482","1377017529"],"photo_ids_order":["1377017482","1377017519","1377017529","1377017558","1377017564","1377017576"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f6fcc46f93e37fc1b39a0bd071ce34d4.jpg","text":"TemporaryFile(/tmp/multipartBody1173027636829966258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173464581,"filename":"image_14082025_04_51_38_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/537904d05bf8a78e962d15d1b10d457f.jpg","text":"TemporaryFile(/tmp/multipartBody1559695551414744691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173464581,"filename":"image_14082025_04_51_28_9172.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23763b463380221314f9bc5e3381f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody8350548265206551323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173464581,"filename":"image_14082025_04_51_19_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1526b267536d2f9d9bb007e9539efe7.jpg","text":"TemporaryFile(/tmp/multipartBody8965782796729505775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173464581,"filename":"image_14082025_04_50_58_10272.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f39b669764ddfa60380cd2cc67054d79.jpg","text":"TemporaryFile(/tmp/multipartBody8928234562385638528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173464581,"filename":"image_14082025_04_50_39_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e4bb3cf1a82b48c650dee79acf8a63d.jpg","text":"TemporaryFile(/tmp/multipartBody8061671557399980108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173464581,"filename":"image_14082025_04_51_09_10249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377017529","file1":"1377017519","file0":"1377017482","file4":"1377017564","file5":"1377017576","file3":"1377017558"},"map_files_photo_id_array":[{"photo_id":"1377017576","filename":"file5"},{"photo_id":"1377017529","filename":"file2"},{"photo_id":"1377017564","filename":"file4"},{"photo_id":"1377017519","filename":"file1"},{"photo_id":"1377017482","filename":"file0"},{"photo_id":"1377017558","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377017576":["hashtag1","hashtag2"]},{"1377017564":["hashtag1","hashtag2"]},{"1377017558":["hashtag1","hashtag2"]},{"1377017519":["hashtag1","hashtag2"]},{"1377017482":["hashtag1","hashtag2"]},{"1377017529":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377017576, 1377017564, 1377017558, 1377017519, 1377017482, 1377017529)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.51181507110596 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:11:02.500909 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/51/image_14082025_04_51_49_10298.jpg', '/media/data/images/14082025/04/51/image_14082025_04_51_58_9134.jpg', '/media/data/images/14082025/04/51/image_14082025_04_52_08_10429.jpg', '/media/data/images/14082025/04/52/image_14082025_04_52_19_10370.jpg', '/media/data/images/14082025/04/52/image_14082025_04_52_29_10301.jpg', '/media/data/images/14082025/04/52/image_14082025_04_52_38_9266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/51/image_14082025_04_51_49_10298.jpg /media/data/images/14082025/04/51/image_14082025_04_51_58_9134.jpg /media/data/images/14082025/04/51/image_14082025_04_52_08_10429.jpg /media/data/images/14082025/04/52/image_14082025_04_52_19_10370.jpg /media/data/images/14082025/04/52/image_14082025_04_52_29_10301.jpg /media/data/images/14082025/04/52/image_14082025_04_52_38_9266.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377017802","1377017828","1377017836","1377017766","1377017832","1377017733"],"photo_ids_order":["1377017733","1377017766","1377017802","1377017828","1377017832","1377017836"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70f2bbcdc9cda3fc1b1ea33332b2eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody8707828438745198245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173523562,"filename":"image_14082025_04_52_08_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d097719d2ad64ce963b9576c336da523.jpg","text":"TemporaryFile(/tmp/multipartBody1695162045637300824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173523562,"filename":"image_14082025_04_52_19_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fea8e6a1b4d84067a3c2556747b0d733.jpg","text":"TemporaryFile(/tmp/multipartBody5809669846445853932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173523562,"filename":"image_14082025_04_52_38_9266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7288c5000df4acc842d929f56947f032.jpg","text":"TemporaryFile(/tmp/multipartBody1976052660646278394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173523562,"filename":"image_14082025_04_51_58_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69c3971e852b96000cdf5ed3dbce8021.jpg","text":"TemporaryFile(/tmp/multipartBody6661644725494158229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173523562,"filename":"image_14082025_04_52_29_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/854a58b269e9f42d8210ce0ca89e7f40.jpg","text":"TemporaryFile(/tmp/multipartBody4162094939322282478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173523562,"filename":"image_14082025_04_51_49_10298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377017802","file1":"1377017766","file0":"1377017733","file4":"1377017832","file5":"1377017836","file3":"1377017828"},"map_files_photo_id_array":[{"photo_id":"1377017836","filename":"file5"},{"photo_id":"1377017802","filename":"file2"},{"photo_id":"1377017832","filename":"file4"},{"photo_id":"1377017766","filename":"file1"},{"photo_id":"1377017733","filename":"file0"},{"photo_id":"1377017828","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377017802":["hashtag1","hashtag2"]},{"1377017828":["hashtag1","hashtag2"]},{"1377017836":["hashtag1","hashtag2"]},{"1377017766":["hashtag1","hashtag2"]},{"1377017832":["hashtag1","hashtag2"]},{"1377017733":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377017802, 1377017828, 1377017836, 1377017766, 1377017832, 1377017733)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.60907697677612 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:12:02.582831 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/52/image_14082025_04_52_49_10282.jpg', '/media/data/images/14082025/04/52/image_14082025_04_52_59_10271.jpg', '/media/data/images/14082025/04/53/image_14082025_04_53_09_10224.jpg', '/media/data/images/14082025/04/53/image_14082025_04_53_18_9045.jpg', '/media/data/images/14082025/04/53/image_14082025_04_53_28_10290.jpg', '/media/data/images/14082025/04/53/image_14082025_04_53_39_10291.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/52/image_14082025_04_52_49_10282.jpg /media/data/images/14082025/04/52/image_14082025_04_52_59_10271.jpg /media/data/images/14082025/04/53/image_14082025_04_53_09_10224.jpg /media/data/images/14082025/04/53/image_14082025_04_53_18_9045.jpg /media/data/images/14082025/04/53/image_14082025_04_53_28_10290.jpg /media/data/images/14082025/04/53/image_14082025_04_53_39_10291.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018031","1377017977","1377018022","1377017974","1377017982","1377018012"],"photo_ids_order":["1377017974","1377017977","1377017982","1377018012","1377018022","1377018031"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3be5a1f218de987a9eef7ba5c08fd08c.jpg","text":"TemporaryFile(/tmp/multipartBody8927027100417783283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173583625,"filename":"image_14082025_04_53_39_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22709a16f57db7243670c0da47b286f1.jpg","text":"TemporaryFile(/tmp/multipartBody4593444333739193384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173583625,"filename":"image_14082025_04_52_59_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e79aeecce3b22357f6b65f9100a25554.jpg","text":"TemporaryFile(/tmp/multipartBody6556138396741366760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173583625,"filename":"image_14082025_04_53_28_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef313649ccce263f0da0a1e5ccf8c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1368738867224391228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173583625,"filename":"image_14082025_04_52_49_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/793dbb191839cfa43b522da1918712b3.jpg","text":"TemporaryFile(/tmp/multipartBody2853572244943083277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173583625,"filename":"image_14082025_04_53_09_10224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7459da1a44a03c39ab5a71fc1c5744e5.jpg","text":"TemporaryFile(/tmp/multipartBody4410906243234446983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173583625,"filename":"image_14082025_04_53_18_9045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377017982","file1":"1377017977","file0":"1377017974","file4":"1377018022","file5":"1377018031","file3":"1377018012"},"map_files_photo_id_array":[{"photo_id":"1377018031","filename":"file5"},{"photo_id":"1377017982","filename":"file2"},{"photo_id":"1377018022","filename":"file4"},{"photo_id":"1377017977","filename":"file1"},{"photo_id":"1377017974","filename":"file0"},{"photo_id":"1377018012","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018031":["hashtag1","hashtag2"]},{"1377017977":["hashtag1","hashtag2"]},{"1377018022":["hashtag1","hashtag2"]},{"1377017974":["hashtag1","hashtag2"]},{"1377017982":["hashtag1","hashtag2"]},{"1377018012":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018031, 1377017977, 1377018022, 1377017974, 1377017982, 1377018012)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.64443302154541 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:13:03.064999 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/53/image_14082025_04_53_48_9184.jpg', '/media/data/images/14082025/04/53/image_14082025_04_53_58_10638.jpg', '/media/data/images/14082025/04/54/image_14082025_04_54_09_10369.jpg', '/media/data/images/14082025/04/54/image_14082025_04_54_18_9092.jpg', '/media/data/images/14082025/04/54/image_14082025_04_54_28_10320.jpg', '/media/data/images/14082025/04/54/image_14082025_04_54_39_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/53/image_14082025_04_53_48_9184.jpg /media/data/images/14082025/04/53/image_14082025_04_53_58_10638.jpg /media/data/images/14082025/04/54/image_14082025_04_54_09_10369.jpg /media/data/images/14082025/04/54/image_14082025_04_54_18_9092.jpg /media/data/images/14082025/04/54/image_14082025_04_54_28_10320.jpg /media/data/images/14082025/04/54/image_14082025_04_54_39_10338.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018167","1377018196","1377018208","1377018246","1377018132","1377018197"],"photo_ids_order":["1377018132","1377018167","1377018196","1377018197","1377018208","1377018246"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/147c1309f77911fc99bff295ecc9ada4.jpg","text":"TemporaryFile(/tmp/multipartBody301486788109293389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173644095,"filename":"image_14082025_04_53_58_10638.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f1468f7643c5f0922f693c8480b3dfc.jpg","text":"TemporaryFile(/tmp/multipartBody1912668445182026887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173644095,"filename":"image_14082025_04_54_09_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95e58110886891fb0eece3c672ac9351.jpg","text":"TemporaryFile(/tmp/multipartBody6398850433316732038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173644095,"filename":"image_14082025_04_54_28_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/759f05407b2bdebb9f699630c4be2c67.jpg","text":"TemporaryFile(/tmp/multipartBody4271921047181924049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173644095,"filename":"image_14082025_04_54_39_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/542426471db8f4a57e0a2dac55a72741.jpg","text":"TemporaryFile(/tmp/multipartBody226787458682954922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173644095,"filename":"image_14082025_04_53_48_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/06df4a01eb74b7293226b3dca4265ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3059350258892218164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173644095,"filename":"image_14082025_04_54_18_9092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377018196","file1":"1377018167","file0":"1377018132","file4":"1377018208","file5":"1377018246","file3":"1377018197"},"map_files_photo_id_array":[{"photo_id":"1377018246","filename":"file5"},{"photo_id":"1377018196","filename":"file2"},{"photo_id":"1377018208","filename":"file4"},{"photo_id":"1377018167","filename":"file1"},{"photo_id":"1377018132","filename":"file0"},{"photo_id":"1377018197","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018167":["hashtag1","hashtag2"]},{"1377018196":["hashtag1","hashtag2"]},{"1377018208":["hashtag1","hashtag2"]},{"1377018246":["hashtag1","hashtag2"]},{"1377018132":["hashtag1","hashtag2"]},{"1377018197":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018167, 1377018196, 1377018208, 1377018246, 1377018132, 1377018197)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.39039969444275 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:14:02.968447 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/54/image_14082025_04_54_49_10266.jpg', '/media/data/images/14082025/04/54/image_14082025_04_54_58_9035.jpg', '/media/data/images/14082025/04/54/image_14082025_04_55_08_10388.jpg', '/media/data/images/14082025/04/55/image_14082025_04_55_19_10586.jpg', '/media/data/images/14082025/04/55/image_14082025_04_55_28_9175.jpg', '/media/data/images/14082025/04/55/image_14082025_04_55_38_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/54/image_14082025_04_54_49_10266.jpg /media/data/images/14082025/04/54/image_14082025_04_54_58_9035.jpg /media/data/images/14082025/04/54/image_14082025_04_55_08_10388.jpg /media/data/images/14082025/04/55/image_14082025_04_55_19_10586.jpg /media/data/images/14082025/04/55/image_14082025_04_55_28_9175.jpg /media/data/images/14082025/04/55/image_14082025_04_55_38_10421.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018446","1377018484","1377018460","1377018415","1377018474","1377018377"],"photo_ids_order":["1377018377","1377018415","1377018446","1377018460","1377018474","1377018484"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81e319bbcbebc26a6e7c99dce0bebb3f.jpg","text":"TemporaryFile(/tmp/multipartBody4761923178020078932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173703973,"filename":"image_14082025_04_55_08_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6915e4a9dda9ff5fbea54ea9eee8fcd0.jpg","text":"TemporaryFile(/tmp/multipartBody3108642977981992605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173703973,"filename":"image_14082025_04_55_38_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75612f19af2bd95e69816bafd6374ea3.jpg","text":"TemporaryFile(/tmp/multipartBody8236999341965796092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173703973,"filename":"image_14082025_04_55_19_10586.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c30b4f438891772d477becf67f17e43a.jpg","text":"TemporaryFile(/tmp/multipartBody8300896679000236307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173703973,"filename":"image_14082025_04_54_58_9035.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0215fe796161e602549c32da26f1ffe5.jpg","text":"TemporaryFile(/tmp/multipartBody5601079530646426268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173703973,"filename":"image_14082025_04_55_28_9175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69d0755f243525361732f6838d1cfb22.jpg","text":"TemporaryFile(/tmp/multipartBody7624792301364486776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173703973,"filename":"image_14082025_04_54_49_10266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377018446","file1":"1377018415","file0":"1377018377","file4":"1377018474","file5":"1377018484","file3":"1377018460"},"map_files_photo_id_array":[{"photo_id":"1377018484","filename":"file5"},{"photo_id":"1377018446","filename":"file2"},{"photo_id":"1377018474","filename":"file4"},{"photo_id":"1377018415","filename":"file1"},{"photo_id":"1377018377","filename":"file0"},{"photo_id":"1377018460","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018446":["hashtag1","hashtag2"]},{"1377018484":["hashtag1","hashtag2"]},{"1377018460":["hashtag1","hashtag2"]},{"1377018415":["hashtag1","hashtag2"]},{"1377018474":["hashtag1","hashtag2"]},{"1377018377":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018446, 1377018484, 1377018460, 1377018415, 1377018474, 1377018377)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.20108151435852 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:15:03.343527 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/55/image_14082025_04_55_58_9161.jpg', '/media/data/images/14082025/04/55/image_14082025_04_56_09_10599.jpg', '/media/data/images/14082025/04/56/image_14082025_04_56_19_10356.jpg', '/media/data/images/14082025/04/56/image_14082025_04_56_38_10271.jpg', '/media/data/images/14082025/04/56/image_14082025_04_56_49_10273.jpg', '/media/data/images/14082025/04/56/image_14082025_04_56_58_9328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/55/image_14082025_04_55_58_9161.jpg /media/data/images/14082025/04/55/image_14082025_04_56_09_10599.jpg /media/data/images/14082025/04/56/image_14082025_04_56_19_10356.jpg /media/data/images/14082025/04/56/image_14082025_04_56_38_10271.jpg /media/data/images/14082025/04/56/image_14082025_04_56_49_10273.jpg /media/data/images/14082025/04/56/image_14082025_04_56_58_9328.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018542","1377018527","1377018553","1377018531","1377018534","1377018537"],"photo_ids_order":["1377018527","1377018531","1377018534","1377018537","1377018542","1377018553"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b73d5f449923d6d48c53922da957c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8750291011378096805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173764395,"filename":"image_14082025_04_56_49_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf89b8e4a2298337f2df44ee525a8f83.jpg","text":"TemporaryFile(/tmp/multipartBody7044662426816837349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173764395,"filename":"image_14082025_04_55_58_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f2c16e71165de5dad54a43725440ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6988573715619582873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173764395,"filename":"image_14082025_04_56_58_9328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/070ae34f773319d29bea792acec3b100.jpg","text":"TemporaryFile(/tmp/multipartBody398577678608246042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173764395,"filename":"image_14082025_04_56_09_10599.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c52482a79e35de79c5abf7bf104e2af1.jpg","text":"TemporaryFile(/tmp/multipartBody4902348803154701892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173764395,"filename":"image_14082025_04_56_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/451f6ca20473588436ebedfbf887131f.jpg","text":"TemporaryFile(/tmp/multipartBody3687907897259078850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173764395,"filename":"image_14082025_04_56_38_10271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377018534","file1":"1377018531","file0":"1377018527","file4":"1377018542","file5":"1377018553","file3":"1377018537"},"map_files_photo_id_array":[{"photo_id":"1377018553","filename":"file5"},{"photo_id":"1377018534","filename":"file2"},{"photo_id":"1377018542","filename":"file4"},{"photo_id":"1377018531","filename":"file1"},{"photo_id":"1377018527","filename":"file0"},{"photo_id":"1377018537","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018542":["hashtag1","hashtag2"]},{"1377018527":["hashtag1","hashtag2"]},{"1377018553":["hashtag1","hashtag2"]},{"1377018531":["hashtag1","hashtag2"]},{"1377018534":["hashtag1","hashtag2"]},{"1377018537":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018542, 1377018527, 1377018553, 1377018531, 1377018534, 1377018537)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 45.61549615859985 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:16:03.263639 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/56/image_14082025_04_57_08_10517.jpg', '/media/data/images/14082025/04/57/image_14082025_04_57_19_10493.jpg', '/media/data/images/14082025/04/57/image_14082025_04_57_28_9182.jpg', '/media/data/images/14082025/04/57/image_14082025_04_57_49_10282.jpg', '/media/data/images/14082025/04/57/image_14082025_04_57_59_10310.jpg', '/media/data/images/14082025/04/58/image_14082025_04_58_08_9113.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/56/image_14082025_04_57_08_10517.jpg /media/data/images/14082025/04/57/image_14082025_04_57_19_10493.jpg /media/data/images/14082025/04/57/image_14082025_04_57_28_9182.jpg /media/data/images/14082025/04/57/image_14082025_04_57_49_10282.jpg /media/data/images/14082025/04/57/image_14082025_04_57_59_10310.jpg /media/data/images/14082025/04/58/image_14082025_04_58_08_9113.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018580","1377018574","1377018591","1377018585","1377018567","1377018596"],"photo_ids_order":["1377018567","1377018574","1377018580","1377018585","1377018591","1377018596"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/579f2267414a5aa073abcb58473b7c17.jpg","text":"TemporaryFile(/tmp/multipartBody3409256694809842895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173824263,"filename":"image_14082025_04_57_28_9182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2641dd75323a665b80ca2eebb674850.jpg","text":"TemporaryFile(/tmp/multipartBody2208166779873272061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173824263,"filename":"image_14082025_04_57_19_10493.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50b559701e1e2d207a84cfa53eff8cff.jpg","text":"TemporaryFile(/tmp/multipartBody2579542516144879007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173824263,"filename":"image_14082025_04_57_59_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6831f9a55adfab98e16c95de261e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1272419395752645977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173824263,"filename":"image_14082025_04_57_49_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70477a71c7d642381e17251f7c0b5331.jpg","text":"TemporaryFile(/tmp/multipartBody6877461346903261479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173824263,"filename":"image_14082025_04_57_08_10517.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6076445fe46c66fbee3142a9bb0ef055.jpg","text":"TemporaryFile(/tmp/multipartBody7143252607880632226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173824263,"filename":"image_14082025_04_58_08_9113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377018580","file1":"1377018574","file0":"1377018567","file4":"1377018591","file5":"1377018596","file3":"1377018585"},"map_files_photo_id_array":[{"photo_id":"1377018596","filename":"file5"},{"photo_id":"1377018580","filename":"file2"},{"photo_id":"1377018591","filename":"file4"},{"photo_id":"1377018574","filename":"file1"},{"photo_id":"1377018567","filename":"file0"},{"photo_id":"1377018585","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018580":["hashtag1","hashtag2"]},{"1377018574":["hashtag1","hashtag2"]},{"1377018591":["hashtag1","hashtag2"]},{"1377018585":["hashtag1","hashtag2"]},{"1377018567":["hashtag1","hashtag2"]},{"1377018596":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018580, 1377018574, 1377018591, 1377018585, 1377018567, 1377018596)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.18099355697632 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:17:03.565722 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/58/image_14082025_04_58_18_10284.jpg', '/media/data/images/14082025/04/58/image_14082025_04_58_29_10375.jpg', '/media/data/images/14082025/04/58/image_14082025_04_58_38_9044.jpg', '/media/data/images/14082025/04/58/image_14082025_04_58_48_10430.jpg', '/media/data/images/14082025/04/58/image_14082025_04_58_59_10369.jpg', '/media/data/images/14082025/04/59/image_14082025_04_59_09_10144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/58/image_14082025_04_58_18_10284.jpg /media/data/images/14082025/04/58/image_14082025_04_58_29_10375.jpg /media/data/images/14082025/04/58/image_14082025_04_58_38_9044.jpg /media/data/images/14082025/04/58/image_14082025_04_58_48_10430.jpg /media/data/images/14082025/04/58/image_14082025_04_58_59_10369.jpg /media/data/images/14082025/04/59/image_14082025_04_59_09_10144.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018809","1377018861","1377018849","1377018852","1377018846","1377018773"],"photo_ids_order":["1377018773","1377018809","1377018846","1377018849","1377018852","1377018861"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00e6b1791a53070923d517702b56ca1e.jpg","text":"TemporaryFile(/tmp/multipartBody417602713762288358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173884626,"filename":"image_14082025_04_58_29_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5475833701d23b4d0980cbe945df0400.jpg","text":"TemporaryFile(/tmp/multipartBody1575546360512617633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173884626,"filename":"image_14082025_04_59_09_10144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef298686fdf6bc4c56d4f8377d6293e0.jpg","text":"TemporaryFile(/tmp/multipartBody2236500147302975596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173884626,"filename":"image_14082025_04_58_48_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/56294adc00feaae8b3d4067875a4eec3.jpg","text":"TemporaryFile(/tmp/multipartBody4184790976801539133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173884626,"filename":"image_14082025_04_58_59_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4236145031abe83e37c0810b2ca193cf.jpg","text":"TemporaryFile(/tmp/multipartBody1640001733606700912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173884626,"filename":"image_14082025_04_58_38_9044.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4eb8de820b008fc79991bff2bfc67447.jpg","text":"TemporaryFile(/tmp/multipartBody5412215586034508620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173884626,"filename":"image_14082025_04_58_18_10284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377018846","file1":"1377018809","file0":"1377018773","file4":"1377018852","file5":"1377018861","file3":"1377018849"},"map_files_photo_id_array":[{"photo_id":"1377018861","filename":"file5"},{"photo_id":"1377018846","filename":"file2"},{"photo_id":"1377018852","filename":"file4"},{"photo_id":"1377018809","filename":"file1"},{"photo_id":"1377018773","filename":"file0"},{"photo_id":"1377018849","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018809":["hashtag1","hashtag2"]},{"1377018861":["hashtag1","hashtag2"]},{"1377018849":["hashtag1","hashtag2"]},{"1377018852":["hashtag1","hashtag2"]},{"1377018846":["hashtag1","hashtag2"]},{"1377018773":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018809, 1377018861, 1377018849, 1377018852, 1377018846, 1377018773)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.1125385761261 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:18:02.476866 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/04/59/image_14082025_04_59_18_9044.jpg', '/media/data/images/14082025/04/59/image_14082025_04_59_28_10293.jpg', '/media/data/images/14082025/04/59/image_14082025_04_59_49_10303.jpg', '/media/data/images/14082025/04/59/image_14082025_04_59_58_9370.jpg', '/media/data/images/14082025/05/00/image_14082025_05_00_09_10590.jpg', '/media/data/images/14082025/05/00/image_14082025_05_00_18_9183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/04/59/image_14082025_04_59_18_9044.jpg /media/data/images/14082025/04/59/image_14082025_04_59_28_10293.jpg /media/data/images/14082025/04/59/image_14082025_04_59_49_10303.jpg /media/data/images/14082025/04/59/image_14082025_04_59_58_9370.jpg /media/data/images/14082025/05/00/image_14082025_05_00_09_10590.jpg /media/data/images/14082025/05/00/image_14082025_05_00_18_9183.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377018974","1377019024","1377018979","1377019029","1377018995","1377019049"],"photo_ids_order":["1377018974","1377018979","1377018995","1377019024","1377019029","1377019049"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e42709f717509bdd383d2497bac3fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1539908979739649794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173943535,"filename":"image_14082025_04_59_18_9044.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d14ceed2231cbd2128bd30fbcee0dee.jpg","text":"TemporaryFile(/tmp/multipartBody182829257539661767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173943535,"filename":"image_14082025_04_59_58_9370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3eec960e32c0d220d397c2c6bb9ebb40.jpg","text":"TemporaryFile(/tmp/multipartBody3946789045932163222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173943535,"filename":"image_14082025_04_59_28_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea4d19f3677aab9b5ca2025fbe022469.jpg","text":"TemporaryFile(/tmp/multipartBody7370679682058543172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173943535,"filename":"image_14082025_05_00_09_10590.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d050681bbe6b553c48a3c10d4834b08.jpg","text":"TemporaryFile(/tmp/multipartBody1855380495393762650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173943535,"filename":"image_14082025_04_59_49_10303.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72c7ee56dd8540ba8b0d7b96bdd00731.jpg","text":"TemporaryFile(/tmp/multipartBody7497560583210611422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755173943535,"filename":"image_14082025_05_00_18_9183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377018995","file1":"1377018979","file0":"1377018974","file4":"1377019029","file5":"1377019049","file3":"1377019024"},"map_files_photo_id_array":[{"photo_id":"1377019049","filename":"file5"},{"photo_id":"1377018995","filename":"file2"},{"photo_id":"1377019029","filename":"file4"},{"photo_id":"1377018979","filename":"file1"},{"photo_id":"1377018974","filename":"file0"},{"photo_id":"1377019024","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377018974":["hashtag1","hashtag2"]},{"1377019024":["hashtag1","hashtag2"]},{"1377018979":["hashtag1","hashtag2"]},{"1377019029":["hashtag1","hashtag2"]},{"1377018995":["hashtag1","hashtag2"]},{"1377019049":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377018974, 1377019024, 1377018979, 1377019029, 1377018995, 1377019049)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.77581548690796 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:19:02.930141 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/00/image_14082025_05_00_28_10294.jpg', '/media/data/images/14082025/05/00/image_14082025_05_00_39_10330.jpg', '/media/data/images/14082025/05/00/image_14082025_05_00_49_10274.jpg', '/media/data/images/14082025/05/00/image_14082025_05_00_58_9067.jpg', '/media/data/images/14082025/05/00/image_14082025_05_01_09_10645.jpg', '/media/data/images/14082025/05/01/image_14082025_05_01_19_10337.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/00/image_14082025_05_00_28_10294.jpg /media/data/images/14082025/05/00/image_14082025_05_00_39_10330.jpg /media/data/images/14082025/05/00/image_14082025_05_00_49_10274.jpg /media/data/images/14082025/05/00/image_14082025_05_00_58_9067.jpg /media/data/images/14082025/05/00/image_14082025_05_01_09_10645.jpg /media/data/images/14082025/05/01/image_14082025_05_01_19_10337.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377019147","1377019207","1377019215","1377019203","1377019181","1377019256"],"photo_ids_order":["1377019147","1377019181","1377019203","1377019207","1377019215","1377019256"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/417b28cf67be9ab6b848eca71c65967a.jpg","text":"TemporaryFile(/tmp/multipartBody1566142811169857750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174003978,"filename":"image_14082025_05_00_28_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d8477aec053d67b3f5bdab83b27673f.jpg","text":"TemporaryFile(/tmp/multipartBody1294829989500556948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174003978,"filename":"image_14082025_05_00_58_9067.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6664c18efaf9bc6877b0a8762ea53bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6017995171259945910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174003978,"filename":"image_14082025_05_01_09_10645.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54772a269d458ea3763c04d8c5087776.jpg","text":"TemporaryFile(/tmp/multipartBody141380177805829990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174003978,"filename":"image_14082025_05_00_49_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ffffccec73d649126af13e6f8774261.jpg","text":"TemporaryFile(/tmp/multipartBody7182523065425239416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174003978,"filename":"image_14082025_05_00_39_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c6742b4023d198e9ed01b685dd70822.jpg","text":"TemporaryFile(/tmp/multipartBody6691441749016185995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174003978,"filename":"image_14082025_05_01_19_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377019203","file1":"1377019181","file0":"1377019147","file4":"1377019215","file5":"1377019256","file3":"1377019207"},"map_files_photo_id_array":[{"photo_id":"1377019256","filename":"file5"},{"photo_id":"1377019203","filename":"file2"},{"photo_id":"1377019215","filename":"file4"},{"photo_id":"1377019181","filename":"file1"},{"photo_id":"1377019147","filename":"file0"},{"photo_id":"1377019207","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377019147":["hashtag1","hashtag2"]},{"1377019207":["hashtag1","hashtag2"]},{"1377019215":["hashtag1","hashtag2"]},{"1377019203":["hashtag1","hashtag2"]},{"1377019181":["hashtag1","hashtag2"]},{"1377019256":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377019147, 1377019207, 1377019215, 1377019203, 1377019181, 1377019256)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.9253351688385 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:20:02.707397 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/01/image_14082025_05_01_28_9059.jpg', '/media/data/images/14082025/05/01/image_14082025_05_01_38_10290.jpg', '/media/data/images/14082025/05/01/image_14082025_05_01_59_10343.jpg', '/media/data/images/14082025/05/02/image_14082025_05_02_08_9044.jpg', '/media/data/images/14082025/05/02/image_14082025_05_02_18_10374.jpg', '/media/data/images/14082025/05/02/image_14082025_05_02_29_10278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/01/image_14082025_05_01_28_9059.jpg /media/data/images/14082025/05/01/image_14082025_05_01_38_10290.jpg /media/data/images/14082025/05/01/image_14082025_05_01_59_10343.jpg /media/data/images/14082025/05/02/image_14082025_05_02_08_9044.jpg /media/data/images/14082025/05/02/image_14082025_05_02_18_10374.jpg /media/data/images/14082025/05/02/image_14082025_05_02_29_10278.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377019342","1377019385","1377019388","1377019382","1377019436","1377019424"],"photo_ids_order":["1377019342","1377019382","1377019385","1377019388","1377019424","1377019436"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a94990dc18dd074c26f2613c5445bd40.jpg","text":"TemporaryFile(/tmp/multipartBody7231990565048129448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174063727,"filename":"image_14082025_05_01_28_9059.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f7d68bb5f9a94716f586e3b708a8ba8.jpg","text":"TemporaryFile(/tmp/multipartBody7134665389476187497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174063727,"filename":"image_14082025_05_01_59_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/85a4fbd2cae4c1cd219fd3fd33f902e9.jpg","text":"TemporaryFile(/tmp/multipartBody1423365291825266358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174063727,"filename":"image_14082025_05_02_08_9044.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1228397bc2cda787ba023a2245b8963.jpg","text":"TemporaryFile(/tmp/multipartBody4885574082407287851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174063727,"filename":"image_14082025_05_01_38_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2fd1198d2b90aca5a65d48709614f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody4888359907980398037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174063727,"filename":"image_14082025_05_02_29_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88e307ab8d7f463688a84c037392c63a.jpg","text":"TemporaryFile(/tmp/multipartBody1062669184769358028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174063727,"filename":"image_14082025_05_02_18_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377019385","file1":"1377019382","file0":"1377019342","file4":"1377019424","file5":"1377019436","file3":"1377019388"},"map_files_photo_id_array":[{"photo_id":"1377019436","filename":"file5"},{"photo_id":"1377019385","filename":"file2"},{"photo_id":"1377019424","filename":"file4"},{"photo_id":"1377019382","filename":"file1"},{"photo_id":"1377019342","filename":"file0"},{"photo_id":"1377019388","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377019342":["hashtag1","hashtag2"]},{"1377019385":["hashtag1","hashtag2"]},{"1377019388":["hashtag1","hashtag2"]},{"1377019382":["hashtag1","hashtag2"]},{"1377019436":["hashtag1","hashtag2"]},{"1377019424":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377019342, 1377019385, 1377019388, 1377019382, 1377019436, 1377019424)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.66101360321045 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:21:02.971988 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/02/image_14082025_05_02_38_9130.jpg', '/media/data/images/14082025/05/02/image_14082025_05_02_48_10434.jpg', '/media/data/images/14082025/05/02/image_14082025_05_02_59_10348.jpg', '/media/data/images/14082025/05/03/image_14082025_05_03_09_10221.jpg', '/media/data/images/14082025/05/03/image_14082025_05_03_18_9038.jpg', '/media/data/images/14082025/05/03/image_14082025_05_03_28_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/02/image_14082025_05_02_38_9130.jpg /media/data/images/14082025/05/02/image_14082025_05_02_48_10434.jpg /media/data/images/14082025/05/02/image_14082025_05_02_59_10348.jpg /media/data/images/14082025/05/03/image_14082025_05_03_09_10221.jpg /media/data/images/14082025/05/03/image_14082025_05_03_18_9038.jpg /media/data/images/14082025/05/03/image_14082025_05_03_28_10296.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377019514","1377019508","1377019519","1377019504","1377019530","1377019500"],"photo_ids_order":["1377019500","1377019504","1377019508","1377019514","1377019519","1377019530"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f440e2dc5982a43217bf205eb489bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5509315839808350906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174124032,"filename":"image_14082025_05_03_09_10221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da9e66c71cc5a5f08082b2afe68fc0ec.jpg","text":"TemporaryFile(/tmp/multipartBody2211485116222688470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174124032,"filename":"image_14082025_05_02_59_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67bc967b5138857d72e50b67dcfbf6c2.jpg","text":"TemporaryFile(/tmp/multipartBody2938795953636244204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174124032,"filename":"image_14082025_05_03_18_9038.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bdeb409d5f7176cd0fed56696e912f1.jpg","text":"TemporaryFile(/tmp/multipartBody5401749587885748898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174124032,"filename":"image_14082025_05_02_48_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6548ec13e32676042ab2553392591b6a.jpg","text":"TemporaryFile(/tmp/multipartBody599487218314512475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174124032,"filename":"image_14082025_05_03_28_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ee76c1bf5b4589bc71e4d281c62c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody8483639410858749059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174124032,"filename":"image_14082025_05_02_38_9130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377019508","file1":"1377019504","file0":"1377019500","file4":"1377019519","file5":"1377019530","file3":"1377019514"},"map_files_photo_id_array":[{"photo_id":"1377019530","filename":"file5"},{"photo_id":"1377019508","filename":"file2"},{"photo_id":"1377019519","filename":"file4"},{"photo_id":"1377019504","filename":"file1"},{"photo_id":"1377019500","filename":"file0"},{"photo_id":"1377019514","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377019514":["hashtag1","hashtag2"]},{"1377019508":["hashtag1","hashtag2"]},{"1377019519":["hashtag1","hashtag2"]},{"1377019504":["hashtag1","hashtag2"]},{"1377019530":["hashtag1","hashtag2"]},{"1377019500":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377019514, 1377019508, 1377019519, 1377019504, 1377019530, 1377019500)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.03418970108032 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:22:02.888680 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/03/image_14082025_05_03_38_10338.jpg', '/media/data/images/14082025/05/03/image_14082025_05_03_58_9043.jpg', '/media/data/images/14082025/05/03/image_14082025_05_04_09_10656.jpg', '/media/data/images/14082025/05/04/image_14082025_05_04_19_10284.jpg', '/media/data/images/14082025/05/04/image_14082025_05_04_28_9089.jpg', '/media/data/images/14082025/05/04/image_14082025_05_04_38_10259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/03/image_14082025_05_03_38_10338.jpg /media/data/images/14082025/05/03/image_14082025_05_03_58_9043.jpg /media/data/images/14082025/05/03/image_14082025_05_04_09_10656.jpg /media/data/images/14082025/05/04/image_14082025_05_04_19_10284.jpg /media/data/images/14082025/05/04/image_14082025_05_04_28_9089.jpg /media/data/images/14082025/05/04/image_14082025_05_04_38_10259.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377019630","1377019627","1377019686","1377019731","1377019626","1377019622"],"photo_ids_order":["1377019622","1377019626","1377019627","1377019630","1377019686","1377019731"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba892cd5e3674bb69bf5e6a2b2320b29.jpg","text":"TemporaryFile(/tmp/multipartBody6397704977858112704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174183953,"filename":"image_14082025_05_04_19_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ddd541c4e6ef2d8b4bfad8ab0c881ee5.jpg","text":"TemporaryFile(/tmp/multipartBody7681818148999694133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174183953,"filename":"image_14082025_05_04_09_10656.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82e753faaf40842b42e2a0661595d6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1055262832847174174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174183953,"filename":"image_14082025_05_04_28_9089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d7b4d345c0d2ed74ba91010d8bee756.jpg","text":"TemporaryFile(/tmp/multipartBody6939137899873091892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174183953,"filename":"image_14082025_05_04_38_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f5e8d3db51bd9d4cf290c8e641dc416.jpg","text":"TemporaryFile(/tmp/multipartBody1301697894099016989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174183953,"filename":"image_14082025_05_03_58_9043.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88ee16ada5395fd4fe716761a19105db.jpg","text":"TemporaryFile(/tmp/multipartBody4948193731178178563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174183953,"filename":"image_14082025_05_03_38_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377019627","file1":"1377019626","file0":"1377019622","file4":"1377019686","file5":"1377019731","file3":"1377019630"},"map_files_photo_id_array":[{"photo_id":"1377019731","filename":"file5"},{"photo_id":"1377019627","filename":"file2"},{"photo_id":"1377019686","filename":"file4"},{"photo_id":"1377019626","filename":"file1"},{"photo_id":"1377019622","filename":"file0"},{"photo_id":"1377019630","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377019630":["hashtag1","hashtag2"]},{"1377019627":["hashtag1","hashtag2"]},{"1377019686":["hashtag1","hashtag2"]},{"1377019731":["hashtag1","hashtag2"]},{"1377019626":["hashtag1","hashtag2"]},{"1377019622":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377019630, 1377019627, 1377019686, 1377019731, 1377019626, 1377019622)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.037750005722046 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:23:03.105799 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/04/image_14082025_05_04_48_10271.jpg', '/media/data/images/14082025/05/04/image_14082025_05_04_59_10263.jpg', '/media/data/images/14082025/05/05/image_14082025_05_05_08_9138.jpg', '/media/data/images/14082025/05/05/image_14082025_05_05_18_10555.jpg', '/media/data/images/14082025/05/05/image_14082025_05_05_29_10397.jpg', '/media/data/images/14082025/05/05/image_14082025_05_05_38_9144.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/04/image_14082025_05_04_48_10271.jpg /media/data/images/14082025/05/04/image_14082025_05_04_59_10263.jpg /media/data/images/14082025/05/05/image_14082025_05_05_08_9138.jpg /media/data/images/14082025/05/05/image_14082025_05_05_18_10555.jpg /media/data/images/14082025/05/05/image_14082025_05_05_29_10397.jpg /media/data/images/14082025/05/05/image_14082025_05_05_38_9144.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377019999","1377019922","1377020033","1377019930","1377019965","1377019926"],"photo_ids_order":["1377019922","1377019926","1377019930","1377019965","1377019999","1377020033"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a66383efedddb8c2cffbf1af4ca214d.jpg","text":"TemporaryFile(/tmp/multipartBody8888443158940294529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174244143,"filename":"image_14082025_05_05_29_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cf039de9226f70e9846798ef0631b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4802173231293919920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174244143,"filename":"image_14082025_05_04_48_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/afb1f30d2a36de9f3546945450f1fdf6.jpg","text":"TemporaryFile(/tmp/multipartBody3803920032182270000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174244143,"filename":"image_14082025_05_05_38_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4941e6fb8794488073b0580cf5ad7785.jpg","text":"TemporaryFile(/tmp/multipartBody7855026005738635912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174244143,"filename":"image_14082025_05_05_08_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b1c61be1b2c950e5293f2ec0fa7377fe.jpg","text":"TemporaryFile(/tmp/multipartBody8195701219707417167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174244143,"filename":"image_14082025_05_05_18_10555.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1e69df3a5c3cf94f8d476d3ce89c972.jpg","text":"TemporaryFile(/tmp/multipartBody8961503773634099933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174244143,"filename":"image_14082025_05_04_59_10263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377019930","file1":"1377019926","file0":"1377019922","file4":"1377019999","file5":"1377020033","file3":"1377019965"},"map_files_photo_id_array":[{"photo_id":"1377020033","filename":"file5"},{"photo_id":"1377019930","filename":"file2"},{"photo_id":"1377019999","filename":"file4"},{"photo_id":"1377019926","filename":"file1"},{"photo_id":"1377019922","filename":"file0"},{"photo_id":"1377019965","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377019999":["hashtag1","hashtag2"]},{"1377019922":["hashtag1","hashtag2"]},{"1377020033":["hashtag1","hashtag2"]},{"1377019930":["hashtag1","hashtag2"]},{"1377019965":["hashtag1","hashtag2"]},{"1377019926":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377019999, 1377019922, 1377020033, 1377019930, 1377019965, 1377019926)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.739574909210205 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:24:03.367115 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/05/image_14082025_05_05_48_10338.jpg', '/media/data/images/14082025/05/05/image_14082025_05_05_59_10349.jpg', '/media/data/images/14082025/05/06/image_14082025_05_06_08_9296.jpg', '/media/data/images/14082025/05/06/image_14082025_05_06_18_10309.jpg', '/media/data/images/14082025/05/06/image_14082025_05_06_29_10369.jpg', '/media/data/images/14082025/05/06/image_14082025_05_06_39_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/05/image_14082025_05_05_48_10338.jpg /media/data/images/14082025/05/05/image_14082025_05_05_59_10349.jpg /media/data/images/14082025/05/06/image_14082025_05_06_08_9296.jpg /media/data/images/14082025/05/06/image_14082025_05_06_18_10309.jpg /media/data/images/14082025/05/06/image_14082025_05_06_29_10369.jpg /media/data/images/14082025/05/06/image_14082025_05_06_39_10357.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020150","1377020144","1377020161","1377020137","1377020139","1377020133"],"photo_ids_order":["1377020133","1377020137","1377020139","1377020144","1377020150","1377020161"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a18bd3853ee24f83eac7120bfc9b3f1.jpg","text":"TemporaryFile(/tmp/multipartBody2004460874605961640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174304404,"filename":"image_14082025_05_06_29_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af995946305d7bf73d12bdad50ee4f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4151901476691889367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174304404,"filename":"image_14082025_05_06_18_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1bb766aad15b9160f53c4f6591337089.jpg","text":"TemporaryFile(/tmp/multipartBody877950424098022176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174304404,"filename":"image_14082025_05_06_39_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a51a9245ecd0da46f72a34f6f130433.jpg","text":"TemporaryFile(/tmp/multipartBody6223244923809083356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174304404,"filename":"image_14082025_05_05_59_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/914e6ef1aff2ce8e938a42c1321be1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5297562386129336710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174304404,"filename":"image_14082025_05_06_08_9296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af37f71de948c5ed037f70dbac41429a.jpg","text":"TemporaryFile(/tmp/multipartBody4984702323417654055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174304404,"filename":"image_14082025_05_05_48_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020139","file1":"1377020137","file0":"1377020133","file4":"1377020150","file5":"1377020161","file3":"1377020144"},"map_files_photo_id_array":[{"photo_id":"1377020161","filename":"file5"},{"photo_id":"1377020139","filename":"file2"},{"photo_id":"1377020150","filename":"file4"},{"photo_id":"1377020137","filename":"file1"},{"photo_id":"1377020133","filename":"file0"},{"photo_id":"1377020144","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020150":["hashtag1","hashtag2"]},{"1377020144":["hashtag1","hashtag2"]},{"1377020161":["hashtag1","hashtag2"]},{"1377020137":["hashtag1","hashtag2"]},{"1377020139":["hashtag1","hashtag2"]},{"1377020133":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020150, 1377020144, 1377020161, 1377020137, 1377020139, 1377020133)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.40255618095398 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:25:03.435734 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/06/image_14082025_05_06_48_9100.jpg', '/media/data/images/14082025/05/06/image_14082025_05_06_58_10329.jpg', '/media/data/images/14082025/05/07/image_14082025_05_07_09_10112.jpg', '/media/data/images/14082025/05/07/image_14082025_05_07_19_10349.jpg', '/media/data/images/14082025/05/07/image_14082025_05_07_28_9093.jpg', '/media/data/images/14082025/05/07/image_14082025_05_07_38_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/06/image_14082025_05_06_48_9100.jpg /media/data/images/14082025/05/06/image_14082025_05_06_58_10329.jpg /media/data/images/14082025/05/07/image_14082025_05_07_09_10112.jpg /media/data/images/14082025/05/07/image_14082025_05_07_19_10349.jpg /media/data/images/14082025/05/07/image_14082025_05_07_28_9093.jpg /media/data/images/14082025/05/07/image_14082025_05_07_38_10334.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020342","1377020303","1377020278","1377020245","1377020310","1377020253"],"photo_ids_order":["1377020245","1377020253","1377020278","1377020303","1377020310","1377020342"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/804ee99048233ebdd54dd03566a2cb92.jpg","text":"TemporaryFile(/tmp/multipartBody5928368589875109557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174365729,"filename":"image_14082025_05_07_38_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e0d8a911af4b5a81a6fdc633fd4e6b1.jpg","text":"TemporaryFile(/tmp/multipartBody9170634293457710561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174365729,"filename":"image_14082025_05_07_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22ed374177e5dcb8519aa8e5ae8a1cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4260135680666846208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174365729,"filename":"image_14082025_05_07_09_10112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8afb07747d2b60536e749cda5c6edc11.jpg","text":"TemporaryFile(/tmp/multipartBody8596901326487494144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174365729,"filename":"image_14082025_05_06_48_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bdfc2fc5963c802f3454e824ac1d94ed.jpg","text":"TemporaryFile(/tmp/multipartBody8003517953406848402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174365729,"filename":"image_14082025_05_07_28_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32ee3e8f0a9959fc19441cf87a36df0c.jpg","text":"TemporaryFile(/tmp/multipartBody5773591758395216962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174365729,"filename":"image_14082025_05_06_58_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020278","file1":"1377020253","file0":"1377020245","file4":"1377020310","file5":"1377020342","file3":"1377020303"},"map_files_photo_id_array":[{"photo_id":"1377020342","filename":"file5"},{"photo_id":"1377020278","filename":"file2"},{"photo_id":"1377020310","filename":"file4"},{"photo_id":"1377020253","filename":"file1"},{"photo_id":"1377020245","filename":"file0"},{"photo_id":"1377020303","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020342":["hashtag1","hashtag2"]},{"1377020303":["hashtag1","hashtag2"]},{"1377020278":["hashtag1","hashtag2"]},{"1377020245":["hashtag1","hashtag2"]},{"1377020310":["hashtag1","hashtag2"]},{"1377020253":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020342, 1377020303, 1377020278, 1377020245, 1377020310, 1377020253)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.29983162879944 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:26:03.484196 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/07/image_14082025_05_07_49_10321.jpg', '/media/data/images/14082025/05/07/image_14082025_05_07_58_9237.jpg', '/media/data/images/14082025/05/07/image_14082025_05_08_09_10662.jpg', '/media/data/images/14082025/05/08/image_14082025_05_08_19_10404.jpg', '/media/data/images/14082025/05/08/image_14082025_05_08_28_9105.jpg', '/media/data/images/14082025/05/08/image_14082025_05_08_38_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/07/image_14082025_05_07_49_10321.jpg /media/data/images/14082025/05/07/image_14082025_05_07_58_9237.jpg /media/data/images/14082025/05/07/image_14082025_05_08_09_10662.jpg /media/data/images/14082025/05/08/image_14082025_05_08_19_10404.jpg /media/data/images/14082025/05/08/image_14082025_05_08_28_9105.jpg /media/data/images/14082025/05/08/image_14082025_05_08_38_10323.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020441","1377020476","1377020457","1377020436","1377020451","1377020445"],"photo_ids_order":["1377020436","1377020441","1377020445","1377020451","1377020457","1377020476"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cedb5bb308213f877bd37fd4859df90a.jpg","text":"TemporaryFile(/tmp/multipartBody4281165024931750480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174424459,"filename":"image_14082025_05_07_58_9237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff54ddea0a576297659366f6302357d9.jpg","text":"TemporaryFile(/tmp/multipartBody2830767242247474826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174424459,"filename":"image_14082025_05_08_38_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a2ec76b64db209a2c9011762123437e.jpg","text":"TemporaryFile(/tmp/multipartBody8341707125210704963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174424459,"filename":"image_14082025_05_08_28_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b087cd46cc20a582cde23f0444b73d11.jpg","text":"TemporaryFile(/tmp/multipartBody2507187907321619957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174424459,"filename":"image_14082025_05_07_49_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8634217c12e583fe5a5835f5b747b95b.jpg","text":"TemporaryFile(/tmp/multipartBody943537149429879795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174424459,"filename":"image_14082025_05_08_19_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6463cc3a83aa0b1fe3f2cf738ccd8def.jpg","text":"TemporaryFile(/tmp/multipartBody2457781862818548380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174424459,"filename":"image_14082025_05_08_09_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020445","file1":"1377020441","file0":"1377020436","file4":"1377020457","file5":"1377020476","file3":"1377020451"},"map_files_photo_id_array":[{"photo_id":"1377020476","filename":"file5"},{"photo_id":"1377020445","filename":"file2"},{"photo_id":"1377020457","filename":"file4"},{"photo_id":"1377020441","filename":"file1"},{"photo_id":"1377020436","filename":"file0"},{"photo_id":"1377020451","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020441":["hashtag1","hashtag2"]},{"1377020476":["hashtag1","hashtag2"]},{"1377020457":["hashtag1","hashtag2"]},{"1377020436":["hashtag1","hashtag2"]},{"1377020451":["hashtag1","hashtag2"]},{"1377020445":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020441, 1377020476, 1377020457, 1377020436, 1377020451, 1377020445)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.141258001327515 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:27:02.831941 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/08/image_14082025_05_08_49_10350.jpg', '/media/data/images/14082025/05/08/image_14082025_05_08_59_10329.jpg', '/media/data/images/14082025/05/09/image_14082025_05_09_08_8876.jpg', '/media/data/images/14082025/05/09/image_14082025_05_09_18_10319.jpg', '/media/data/images/14082025/05/09/image_14082025_05_09_29_10331.jpg', '/media/data/images/14082025/05/09/image_14082025_05_09_39_10323.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/08/image_14082025_05_08_49_10350.jpg /media/data/images/14082025/05/08/image_14082025_05_08_59_10329.jpg /media/data/images/14082025/05/09/image_14082025_05_09_08_8876.jpg /media/data/images/14082025/05/09/image_14082025_05_09_18_10319.jpg /media/data/images/14082025/05/09/image_14082025_05_09_29_10331.jpg /media/data/images/14082025/05/09/image_14082025_05_09_39_10323.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020543","1377020522","1377020515","1377020518","1377020532","1377020526"],"photo_ids_order":["1377020515","1377020518","1377020522","1377020526","1377020532","1377020543"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94ea90ade8ae6cca8cd45fd028b576b1.jpg","text":"TemporaryFile(/tmp/multipartBody4851499715985343706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174483845,"filename":"image_14082025_05_09_39_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9abdf9e2d4e2df82b3b375abd1e2b78a.jpg","text":"TemporaryFile(/tmp/multipartBody2778255689291331760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174483845,"filename":"image_14082025_05_09_08_8876.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c481915ea46cc1e32ac0b1191e05bccd.jpg","text":"TemporaryFile(/tmp/multipartBody995005091614294972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174483845,"filename":"image_14082025_05_08_49_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/434717fd26bf0650a0d32add5c98964c.jpg","text":"TemporaryFile(/tmp/multipartBody8033889200719781974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174483845,"filename":"image_14082025_05_08_59_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bd3cd7a5e7c02a1585c55171aff6deb.jpg","text":"TemporaryFile(/tmp/multipartBody1097778270304403194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174483845,"filename":"image_14082025_05_09_29_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d982151a3e0ba6c1ccfd10f094cbb14.jpg","text":"TemporaryFile(/tmp/multipartBody3912275848651144764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174483845,"filename":"image_14082025_05_09_18_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020522","file1":"1377020518","file0":"1377020515","file4":"1377020532","file5":"1377020543","file3":"1377020526"},"map_files_photo_id_array":[{"photo_id":"1377020543","filename":"file5"},{"photo_id":"1377020522","filename":"file2"},{"photo_id":"1377020532","filename":"file4"},{"photo_id":"1377020518","filename":"file1"},{"photo_id":"1377020515","filename":"file0"},{"photo_id":"1377020526","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020543":["hashtag1","hashtag2"]},{"1377020522":["hashtag1","hashtag2"]},{"1377020515":["hashtag1","hashtag2"]},{"1377020518":["hashtag1","hashtag2"]},{"1377020532":["hashtag1","hashtag2"]},{"1377020526":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020543, 1377020522, 1377020515, 1377020518, 1377020532, 1377020526)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.04403495788574 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:28:02.459975 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/09/image_14082025_05_09_48_9039.jpg', '/media/data/images/14082025/05/09/image_14082025_05_09_58_10263.jpg', '/media/data/images/14082025/05/10/image_14082025_05_10_09_10634.jpg', '/media/data/images/14082025/05/10/image_14082025_05_10_18_9064.jpg', '/media/data/images/14082025/05/10/image_14082025_05_10_28_10384.jpg', '/media/data/images/14082025/05/10/image_14082025_05_10_39_10264.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/09/image_14082025_05_09_48_9039.jpg /media/data/images/14082025/05/09/image_14082025_05_09_58_10263.jpg /media/data/images/14082025/05/10/image_14082025_05_10_09_10634.jpg /media/data/images/14082025/05/10/image_14082025_05_10_18_9064.jpg /media/data/images/14082025/05/10/image_14082025_05_10_28_10384.jpg /media/data/images/14082025/05/10/image_14082025_05_10_39_10264.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020563","1377020565","1377020574","1377020568","1377020559","1377020585"],"photo_ids_order":["1377020559","1377020563","1377020565","1377020568","1377020574","1377020585"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e03915782a544401e0d7e1e79e1de4fc.jpg","text":"TemporaryFile(/tmp/multipartBody1166373434478281367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174543538,"filename":"image_14082025_05_09_58_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a6057d52eabfd9885addcca9a73786e5.jpg","text":"TemporaryFile(/tmp/multipartBody4277992791967136385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174543538,"filename":"image_14082025_05_10_09_10634.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72991f45f43e095a150ecc516dfa4fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2554188758243861745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174543538,"filename":"image_14082025_05_10_28_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c236c577c92511a5e3dbee9407562efa.jpg","text":"TemporaryFile(/tmp/multipartBody4001185435371422054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174543538,"filename":"image_14082025_05_10_18_9064.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f9f524054d896951a8dc15ea7850950.jpg","text":"TemporaryFile(/tmp/multipartBody5424710154363477725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174543538,"filename":"image_14082025_05_09_48_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1790dfef2159b6e777ae6ab59ea77494.jpg","text":"TemporaryFile(/tmp/multipartBody2587423871765482707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174543538,"filename":"image_14082025_05_10_39_10264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020565","file1":"1377020563","file0":"1377020559","file4":"1377020574","file5":"1377020585","file3":"1377020568"},"map_files_photo_id_array":[{"photo_id":"1377020585","filename":"file5"},{"photo_id":"1377020565","filename":"file2"},{"photo_id":"1377020574","filename":"file4"},{"photo_id":"1377020563","filename":"file1"},{"photo_id":"1377020559","filename":"file0"},{"photo_id":"1377020568","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020563":["hashtag1","hashtag2"]},{"1377020565":["hashtag1","hashtag2"]},{"1377020574":["hashtag1","hashtag2"]},{"1377020568":["hashtag1","hashtag2"]},{"1377020559":["hashtag1","hashtag2"]},{"1377020585":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020563, 1377020565, 1377020574, 1377020568, 1377020559, 1377020585)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36914563179016 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:29:03.085103 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/10/image_14082025_05_10_49_10268.jpg', '/media/data/images/14082025/05/10/image_14082025_05_10_58_9052.jpg', '/media/data/images/14082025/05/10/image_14082025_05_11_08_10602.jpg', '/media/data/images/14082025/05/11/image_14082025_05_11_19_10444.jpg', '/media/data/images/14082025/05/11/image_14082025_05_11_28_9054.jpg', '/media/data/images/14082025/05/11/image_14082025_05_11_38_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/10/image_14082025_05_10_49_10268.jpg /media/data/images/14082025/05/10/image_14082025_05_10_58_9052.jpg /media/data/images/14082025/05/10/image_14082025_05_11_08_10602.jpg /media/data/images/14082025/05/11/image_14082025_05_11_19_10444.jpg /media/data/images/14082025/05/11/image_14082025_05_11_28_9054.jpg /media/data/images/14082025/05/11/image_14082025_05_11_38_10249.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020600","1377020624","1377020611","1377020614","1377020608","1377020604"],"photo_ids_order":["1377020600","1377020604","1377020608","1377020611","1377020614","1377020624"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a72e95d1dd96d0c4be78946e43c71b84.jpg","text":"TemporaryFile(/tmp/multipartBody492494515920706893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174604140,"filename":"image_14082025_05_10_49_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/455b30adf4212f0f2515426755f2e281.jpg","text":"TemporaryFile(/tmp/multipartBody7797449704104850223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174604140,"filename":"image_14082025_05_11_38_10249.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ffba6c89ec1fcb2cb8b82a0209d2bff2.jpg","text":"TemporaryFile(/tmp/multipartBody950217296850213004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174604140,"filename":"image_14082025_05_11_19_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5435137b64dc979d347a73ab0fb217d7.jpg","text":"TemporaryFile(/tmp/multipartBody4467835487362938364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174604140,"filename":"image_14082025_05_11_28_9054.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43039d332d81b7f064ae830ebe86f07f.jpg","text":"TemporaryFile(/tmp/multipartBody9127124153308481366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174604140,"filename":"image_14082025_05_11_08_10602.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/516f952269b0a86e9aeb08685eebdd66.jpg","text":"TemporaryFile(/tmp/multipartBody9187983747360144603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174604140,"filename":"image_14082025_05_10_58_9052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020608","file1":"1377020604","file0":"1377020600","file4":"1377020614","file5":"1377020624","file3":"1377020611"},"map_files_photo_id_array":[{"photo_id":"1377020624","filename":"file5"},{"photo_id":"1377020608","filename":"file2"},{"photo_id":"1377020614","filename":"file4"},{"photo_id":"1377020604","filename":"file1"},{"photo_id":"1377020600","filename":"file0"},{"photo_id":"1377020611","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020600":["hashtag1","hashtag2"]},{"1377020624":["hashtag1","hashtag2"]},{"1377020611":["hashtag1","hashtag2"]},{"1377020614":["hashtag1","hashtag2"]},{"1377020608":["hashtag1","hashtag2"]},{"1377020604":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020600, 1377020624, 1377020611, 1377020614, 1377020608, 1377020604)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.28368830680847 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:30:02.729564 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/11/image_14082025_05_11_49_10312.jpg', '/media/data/images/14082025/05/11/image_14082025_05_11_59_10266.jpg', '/media/data/images/14082025/05/12/image_14082025_05_12_09_10181.jpg', '/media/data/images/14082025/05/12/image_14082025_05_12_18_9086.jpg', '/media/data/images/14082025/05/12/image_14082025_05_12_28_10310.jpg', '/media/data/images/14082025/05/12/image_14082025_05_12_39_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/11/image_14082025_05_11_49_10312.jpg /media/data/images/14082025/05/11/image_14082025_05_11_59_10266.jpg /media/data/images/14082025/05/12/image_14082025_05_12_09_10181.jpg /media/data/images/14082025/05/12/image_14082025_05_12_18_9086.jpg /media/data/images/14082025/05/12/image_14082025_05_12_28_10310.jpg /media/data/images/14082025/05/12/image_14082025_05_12_39_10352.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377020674","1377020682","1377020685","1377020679","1377020727","1377020715"],"photo_ids_order":["1377020674","1377020679","1377020682","1377020685","1377020715","1377020727"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1aa053dce4b55077c9b9d8fb7fa7b18a.jpg","text":"TemporaryFile(/tmp/multipartBody8136319956002467919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174663812,"filename":"image_14082025_05_11_49_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36481aed3f51c53efa22789013c99223.jpg","text":"TemporaryFile(/tmp/multipartBody8395758419058585374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174663812,"filename":"image_14082025_05_12_09_10181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/800a9484355a6829671244ac869196a8.jpg","text":"TemporaryFile(/tmp/multipartBody1390855292916210296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174663812,"filename":"image_14082025_05_12_18_9086.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/505654ab1416353b5011fee3f26f4f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7038192126371392000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174663812,"filename":"image_14082025_05_11_59_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e82a7c9cac2a34ad6f4e6fa538be404.jpg","text":"TemporaryFile(/tmp/multipartBody4997676083760705994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174663812,"filename":"image_14082025_05_12_39_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65348cee3473d7220e1be76d2222b2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8245370865004813725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174663812,"filename":"image_14082025_05_12_28_10310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020682","file1":"1377020679","file0":"1377020674","file4":"1377020715","file5":"1377020727","file3":"1377020685"},"map_files_photo_id_array":[{"photo_id":"1377020727","filename":"file5"},{"photo_id":"1377020682","filename":"file2"},{"photo_id":"1377020715","filename":"file4"},{"photo_id":"1377020679","filename":"file1"},{"photo_id":"1377020674","filename":"file0"},{"photo_id":"1377020685","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377020674":["hashtag1","hashtag2"]},{"1377020682":["hashtag1","hashtag2"]},{"1377020685":["hashtag1","hashtag2"]},{"1377020679":["hashtag1","hashtag2"]},{"1377020727":["hashtag1","hashtag2"]},{"1377020715":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377020674, 1377020682, 1377020685, 1377020679, 1377020727, 1377020715)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.254414319992065 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:31:02.838421 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/12/image_14082025_05_12_48_9125.jpg', '/media/data/images/14082025/05/12/image_14082025_05_12_58_10331.jpg', '/media/data/images/14082025/05/13/image_14082025_05_13_08_10163.jpg', '/media/data/images/14082025/05/13/image_14082025_05_13_19_10332.jpg', '/media/data/images/14082025/05/13/image_14082025_05_13_29_10329.jpg', '/media/data/images/14082025/05/13/image_14082025_05_13_38_9073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/12/image_14082025_05_12_48_9125.jpg /media/data/images/14082025/05/12/image_14082025_05_12_58_10331.jpg /media/data/images/14082025/05/13/image_14082025_05_13_08_10163.jpg /media/data/images/14082025/05/13/image_14082025_05_13_19_10332.jpg /media/data/images/14082025/05/13/image_14082025_05_13_29_10329.jpg /media/data/images/14082025/05/13/image_14082025_05_13_38_9073.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377021079","1377021004","1377021150","1377020928","1377020966","1377020894"],"photo_ids_order":["1377020894","1377020928","1377020966","1377021004","1377021079","1377021150"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aab119484f590c1a5c2fd3efd9296d48.jpg","text":"TemporaryFile(/tmp/multipartBody2891376064883513468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174723994,"filename":"image_14082025_05_13_29_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e48ebc20268843bc780f1a80174e52a.jpg","text":"TemporaryFile(/tmp/multipartBody305421440841001355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174723994,"filename":"image_14082025_05_13_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ddf6d52dd40203687f37a1c4061d056.jpg","text":"TemporaryFile(/tmp/multipartBody2633850239805819182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174723994,"filename":"image_14082025_05_13_38_9073.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca2e2d03c9d9ae388bddf487146afd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3958982479687035706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174723994,"filename":"image_14082025_05_12_58_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ad32c0075e62db3e804b0b3e099ec0c.jpg","text":"TemporaryFile(/tmp/multipartBody7967990947439032750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174723994,"filename":"image_14082025_05_13_08_10163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/920b64ccc8e4768348531be676b7a4b3.jpg","text":"TemporaryFile(/tmp/multipartBody1692368608809230164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174723994,"filename":"image_14082025_05_12_48_9125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377020966","file1":"1377020928","file0":"1377020894","file4":"1377021079","file5":"1377021150","file3":"1377021004"},"map_files_photo_id_array":[{"photo_id":"1377021150","filename":"file5"},{"photo_id":"1377020966","filename":"file2"},{"photo_id":"1377021079","filename":"file4"},{"photo_id":"1377020928","filename":"file1"},{"photo_id":"1377020894","filename":"file0"},{"photo_id":"1377021004","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377021079":["hashtag1","hashtag2"]},{"1377021004":["hashtag1","hashtag2"]},{"1377021150":["hashtag1","hashtag2"]},{"1377020928":["hashtag1","hashtag2"]},{"1377020966":["hashtag1","hashtag2"]},{"1377020894":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377021079, 1377021004, 1377021150, 1377020928, 1377020966, 1377020894)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.29768681526184 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:32:02.908798 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/13/image_14082025_05_13_48_10418.jpg', '/media/data/images/14082025/05/13/image_14082025_05_13_59_10270.jpg', '/media/data/images/14082025/05/14/image_14082025_05_14_08_9072.jpg', '/media/data/images/14082025/05/14/image_14082025_05_14_18_10361.jpg', '/media/data/images/14082025/05/14/image_14082025_05_14_29_10396.jpg', '/media/data/images/14082025/05/14/image_14082025_05_14_39_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/13/image_14082025_05_13_48_10418.jpg /media/data/images/14082025/05/13/image_14082025_05_13_59_10270.jpg /media/data/images/14082025/05/14/image_14082025_05_14_08_9072.jpg /media/data/images/14082025/05/14/image_14082025_05_14_18_10361.jpg /media/data/images/14082025/05/14/image_14082025_05_14_29_10396.jpg /media/data/images/14082025/05/14/image_14082025_05_14_39_10388.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377021701","1377021601","1377021633","1377021543","1377021689","1377021668"],"photo_ids_order":["1377021543","1377021601","1377021633","1377021668","1377021689","1377021701"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31407e6ec7c90bc6740427d4a9b5ea19.jpg","text":"TemporaryFile(/tmp/multipartBody3064861908002469568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174783970,"filename":"image_14082025_05_14_39_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f29ff90dbc02f23fa71855d28d6a0e39.jpg","text":"TemporaryFile(/tmp/multipartBody8990721709230465860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174783970,"filename":"image_14082025_05_13_59_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d07c22f0a45fce3cfcea386d492aa337.jpg","text":"TemporaryFile(/tmp/multipartBody6876293195323706229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174783970,"filename":"image_14082025_05_14_08_9072.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/26441ed05fd3a640d0aeac6a999361ce.jpg","text":"TemporaryFile(/tmp/multipartBody6999677313527741105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174783970,"filename":"image_14082025_05_13_48_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c0e6ed390cb7295e11a2ce8cc335fce.jpg","text":"TemporaryFile(/tmp/multipartBody809710777268666834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174783970,"filename":"image_14082025_05_14_29_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/223eff7a7a629c96df3d5cd88aebb4d4.jpg","text":"TemporaryFile(/tmp/multipartBody1945002576522102039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174783970,"filename":"image_14082025_05_14_18_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377021633","file1":"1377021601","file0":"1377021543","file4":"1377021689","file5":"1377021701","file3":"1377021668"},"map_files_photo_id_array":[{"photo_id":"1377021701","filename":"file5"},{"photo_id":"1377021633","filename":"file2"},{"photo_id":"1377021689","filename":"file4"},{"photo_id":"1377021601","filename":"file1"},{"photo_id":"1377021543","filename":"file0"},{"photo_id":"1377021668","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377021701":["hashtag1","hashtag2"]},{"1377021601":["hashtag1","hashtag2"]},{"1377021633":["hashtag1","hashtag2"]},{"1377021543":["hashtag1","hashtag2"]},{"1377021689":["hashtag1","hashtag2"]},{"1377021668":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377021701, 1377021601, 1377021633, 1377021543, 1377021689, 1377021668)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.12349486351013 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:33:03.160106 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/14/image_14082025_05_14_48_9091.jpg', '/media/data/images/14082025/05/14/image_14082025_05_14_58_10391.jpg', '/media/data/images/14082025/05/15/image_14082025_05_15_09_10193.jpg', '/media/data/images/14082025/05/15/image_14082025_05_15_19_10301.jpg', '/media/data/images/14082025/05/15/image_14082025_05_15_28_9111.jpg', '/media/data/images/14082025/05/15/image_14082025_05_15_49_10278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/14/image_14082025_05_14_48_9091.jpg /media/data/images/14082025/05/14/image_14082025_05_14_58_10391.jpg /media/data/images/14082025/05/15/image_14082025_05_15_09_10193.jpg /media/data/images/14082025/05/15/image_14082025_05_15_19_10301.jpg /media/data/images/14082025/05/15/image_14082025_05_15_28_9111.jpg /media/data/images/14082025/05/15/image_14082025_05_15_49_10278.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377021873","1377021930","1377021912","1377021906","1377021915","1377021971"],"photo_ids_order":["1377021873","1377021906","1377021912","1377021915","1377021930","1377021971"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f1d052134e3dd70d14c308804a78256.jpg","text":"TemporaryFile(/tmp/multipartBody8038300571829475166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174844553,"filename":"image_14082025_05_14_48_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/785027bf0388ee87ce4a827cfb6f65f8.jpg","text":"TemporaryFile(/tmp/multipartBody4424542084404631232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174844553,"filename":"image_14082025_05_15_28_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/573f5e3db15de6575dc3498cac7be897.jpg","text":"TemporaryFile(/tmp/multipartBody3636036717965369005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174844553,"filename":"image_14082025_05_15_09_10193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20c37fff8ac2201045455c2ac25b3d51.jpg","text":"TemporaryFile(/tmp/multipartBody1501990029966694201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174844553,"filename":"image_14082025_05_14_58_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a6a5e1e3e902365946a7fa90bd103507.jpg","text":"TemporaryFile(/tmp/multipartBody7817759351464962848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174844553,"filename":"image_14082025_05_15_19_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a33720acf8467693e9d747cf25c5913.jpg","text":"TemporaryFile(/tmp/multipartBody3800549644811504143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174844553,"filename":"image_14082025_05_15_49_10278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377021912","file1":"1377021906","file0":"1377021873","file4":"1377021930","file5":"1377021971","file3":"1377021915"},"map_files_photo_id_array":[{"photo_id":"1377021971","filename":"file5"},{"photo_id":"1377021912","filename":"file2"},{"photo_id":"1377021930","filename":"file4"},{"photo_id":"1377021906","filename":"file1"},{"photo_id":"1377021873","filename":"file0"},{"photo_id":"1377021915","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377021873":["hashtag1","hashtag2"]},{"1377021930":["hashtag1","hashtag2"]},{"1377021912":["hashtag1","hashtag2"]},{"1377021906":["hashtag1","hashtag2"]},{"1377021915":["hashtag1","hashtag2"]},{"1377021971":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377021873, 1377021930, 1377021912, 1377021906, 1377021915, 1377021971)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.43291926383972 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:34:03.466221 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/15/image_14082025_05_15_58_9047.jpg', '/media/data/images/14082025/05/15/image_14082025_05_16_08_10643.jpg', '/media/data/images/14082025/05/16/image_14082025_05_16_19_10346.jpg', '/media/data/images/14082025/05/16/image_14082025_05_16_28_9090.jpg', '/media/data/images/14082025/05/16/image_14082025_05_16_38_10277.jpg', '/media/data/images/14082025/05/16/image_14082025_05_16_49_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/15/image_14082025_05_15_58_9047.jpg /media/data/images/14082025/05/15/image_14082025_05_16_08_10643.jpg /media/data/images/14082025/05/16/image_14082025_05_16_19_10346.jpg /media/data/images/14082025/05/16/image_14082025_05_16_28_9090.jpg /media/data/images/14082025/05/16/image_14082025_05_16_38_10277.jpg /media/data/images/14082025/05/16/image_14082025_05_16_49_10432.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377022261","1377022444","1377022371","1377022215","1377022406","1377022313"],"photo_ids_order":["1377022215","1377022261","1377022313","1377022371","1377022406","1377022444"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4da19237a4bfff4ebb37165b53907cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1040746215203846205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174904496,"filename":"image_14082025_05_16_08_10643.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd99ad5c04a7fc0e6e9eafc8cd0e950e.jpg","text":"TemporaryFile(/tmp/multipartBody1482735070078716018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174904496,"filename":"image_14082025_05_16_49_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7f25985f114afe1c261d050e662ec55.jpg","text":"TemporaryFile(/tmp/multipartBody1646363862842534188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174904496,"filename":"image_14082025_05_16_28_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0e7593de42307e7b91f57b006136404.jpg","text":"TemporaryFile(/tmp/multipartBody3651562903172829408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174904496,"filename":"image_14082025_05_15_58_9047.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e4a5e8a681d9a729c9a78a74da610c9.jpg","text":"TemporaryFile(/tmp/multipartBody3089383371229278929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174904496,"filename":"image_14082025_05_16_38_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/144c1e2ef35b55c9576796cedfe78820.jpg","text":"TemporaryFile(/tmp/multipartBody1727322326597513106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174904496,"filename":"image_14082025_05_16_19_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377022313","file1":"1377022261","file0":"1377022215","file4":"1377022406","file5":"1377022444","file3":"1377022371"},"map_files_photo_id_array":[{"photo_id":"1377022444","filename":"file5"},{"photo_id":"1377022313","filename":"file2"},{"photo_id":"1377022406","filename":"file4"},{"photo_id":"1377022261","filename":"file1"},{"photo_id":"1377022215","filename":"file0"},{"photo_id":"1377022371","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377022261":["hashtag1","hashtag2"]},{"1377022444":["hashtag1","hashtag2"]},{"1377022371":["hashtag1","hashtag2"]},{"1377022215":["hashtag1","hashtag2"]},{"1377022406":["hashtag1","hashtag2"]},{"1377022313":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377022261, 1377022444, 1377022371, 1377022215, 1377022406, 1377022313)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.30322813987732 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:35:03.377370 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/16/image_14082025_05_17_08_10489.jpg', '/media/data/images/14082025/05/17/image_14082025_05_17_19_10485.jpg', '/media/data/images/14082025/05/17/image_14082025_05_17_28_9052.jpg', '/media/data/images/14082025/05/17/image_14082025_05_17_38_10261.jpg', '/media/data/images/14082025/05/17/image_14082025_05_17_48_10299.jpg', '/media/data/images/14082025/05/17/image_14082025_05_17_59_10277.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/16/image_14082025_05_17_08_10489.jpg /media/data/images/14082025/05/17/image_14082025_05_17_19_10485.jpg /media/data/images/14082025/05/17/image_14082025_05_17_28_9052.jpg /media/data/images/14082025/05/17/image_14082025_05_17_38_10261.jpg /media/data/images/14082025/05/17/image_14082025_05_17_48_10299.jpg /media/data/images/14082025/05/17/image_14082025_05_17_59_10277.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377022807","1377022938","1377022874","1377022721","1377022756","1377022684"],"photo_ids_order":["1377022684","1377022721","1377022756","1377022807","1377022874","1377022938"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f0ba07b466ded107c654c0a3130ca8f.jpg","text":"TemporaryFile(/tmp/multipartBody3839829296334883613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174964438,"filename":"image_14082025_05_17_38_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5607919b7c4e219853e14309e4ce2ab.jpg","text":"TemporaryFile(/tmp/multipartBody140690027427395806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174964438,"filename":"image_14082025_05_17_59_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0c15d6fdde00f5cda3977fff0fd5755.jpg","text":"TemporaryFile(/tmp/multipartBody5785020782032012981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174964438,"filename":"image_14082025_05_17_48_10299.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ae05eebfa221e8a744ec3c801d8abad.jpg","text":"TemporaryFile(/tmp/multipartBody8727000508843767614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174964438,"filename":"image_14082025_05_17_19_10485.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5703f92452b6631646dd4b0febe885f0.jpg","text":"TemporaryFile(/tmp/multipartBody2009385628830105388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174964438,"filename":"image_14082025_05_17_28_9052.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c10e190220c86a9fa6aa568cde5bf58.jpg","text":"TemporaryFile(/tmp/multipartBody2492356310159805895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755174964438,"filename":"image_14082025_05_17_08_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377022756","file1":"1377022721","file0":"1377022684","file4":"1377022874","file5":"1377022938","file3":"1377022807"},"map_files_photo_id_array":[{"photo_id":"1377022938","filename":"file5"},{"photo_id":"1377022756","filename":"file2"},{"photo_id":"1377022874","filename":"file4"},{"photo_id":"1377022721","filename":"file1"},{"photo_id":"1377022684","filename":"file0"},{"photo_id":"1377022807","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377022807":["hashtag1","hashtag2"]},{"1377022938":["hashtag1","hashtag2"]},{"1377022874":["hashtag1","hashtag2"]},{"1377022721":["hashtag1","hashtag2"]},{"1377022756":["hashtag1","hashtag2"]},{"1377022684":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377022807, 1377022938, 1377022874, 1377022721, 1377022756, 1377022684)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.89598989486694 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:36:03.504148 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/18/image_14082025_05_18_09_10315.jpg', '/media/data/images/14082025/05/18/image_14082025_05_18_18_9063.jpg', '/media/data/images/14082025/05/18/image_14082025_05_18_29_10455.jpg', '/media/data/images/14082025/05/18/image_14082025_05_18_38_9359.jpg', '/media/data/images/14082025/05/18/image_14082025_05_18_48_10418.jpg', '/media/data/images/14082025/05/18/image_14082025_05_18_59_10298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/18/image_14082025_05_18_09_10315.jpg /media/data/images/14082025/05/18/image_14082025_05_18_18_9063.jpg /media/data/images/14082025/05/18/image_14082025_05_18_29_10455.jpg /media/data/images/14082025/05/18/image_14082025_05_18_38_9359.jpg /media/data/images/14082025/05/18/image_14082025_05_18_48_10418.jpg /media/data/images/14082025/05/18/image_14082025_05_18_59_10298.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377023229","1377023415","1377023480","1377023345","1377023275","1377023185"],"photo_ids_order":["1377023185","1377023229","1377023275","1377023345","1377023415","1377023480"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aea5af05931d211000fa6ae62ef9c239.jpg","text":"TemporaryFile(/tmp/multipartBody2681092266238144017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175024560,"filename":"image_14082025_05_18_18_9063.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e95db23937670d98c811ea593b2a7ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1974475235343428093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175024560,"filename":"image_14082025_05_18_48_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf0f3de3bef2deb8d523a6b77996d7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4867401642763996858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175024560,"filename":"image_14082025_05_18_59_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1b4fbfa680127c17084c7226f07ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody7208421136937724420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175024560,"filename":"image_14082025_05_18_38_9359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15f41e9d920604605e3dccda08e7ad7a.jpg","text":"TemporaryFile(/tmp/multipartBody4907465541316613939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175024560,"filename":"image_14082025_05_18_29_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d776cf94d2a0d7bae3722f43a6de592.jpg","text":"TemporaryFile(/tmp/multipartBody3909239393571582144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175024560,"filename":"image_14082025_05_18_09_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377023275","file1":"1377023229","file0":"1377023185","file4":"1377023415","file5":"1377023480","file3":"1377023345"},"map_files_photo_id_array":[{"photo_id":"1377023480","filename":"file5"},{"photo_id":"1377023275","filename":"file2"},{"photo_id":"1377023415","filename":"file4"},{"photo_id":"1377023229","filename":"file1"},{"photo_id":"1377023185","filename":"file0"},{"photo_id":"1377023345","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377023229":["hashtag1","hashtag2"]},{"1377023415":["hashtag1","hashtag2"]},{"1377023480":["hashtag1","hashtag2"]},{"1377023345":["hashtag1","hashtag2"]},{"1377023275":["hashtag1","hashtag2"]},{"1377023185":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377023229, 1377023415, 1377023480, 1377023345, 1377023275, 1377023185)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.02828812599182 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:37:02.790768 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/19/image_14082025_05_19_09_10348.jpg', '/media/data/images/14082025/05/19/image_14082025_05_19_18_9060.jpg', '/media/data/images/14082025/05/19/image_14082025_05_19_28_10417.jpg', '/media/data/images/14082025/05/19/image_14082025_05_19_39_10264.jpg', '/media/data/images/14082025/05/19/image_14082025_05_19_49_10264.jpg', '/media/data/images/14082025/05/19/image_14082025_05_19_58_9080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/19/image_14082025_05_19_09_10348.jpg /media/data/images/14082025/05/19/image_14082025_05_19_18_9060.jpg /media/data/images/14082025/05/19/image_14082025_05_19_28_10417.jpg /media/data/images/14082025/05/19/image_14082025_05_19_39_10264.jpg /media/data/images/14082025/05/19/image_14082025_05_19_49_10264.jpg /media/data/images/14082025/05/19/image_14082025_05_19_58_9080.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377023891","1377023972","1377023942","1377023968","1377023935","1377023920"],"photo_ids_order":["1377023891","1377023920","1377023935","1377023942","1377023968","1377023972"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb9a14f20c2f064eecec9ca16d82405a.jpg","text":"TemporaryFile(/tmp/multipartBody5726572446466746940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175083849,"filename":"image_14082025_05_19_09_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd4043b220f06343fcc8f085936ca777.jpg","text":"TemporaryFile(/tmp/multipartBody6928459743706566302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175083849,"filename":"image_14082025_05_19_58_9080.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89cfb14161020b2feb7c65e206f63e47.jpg","text":"TemporaryFile(/tmp/multipartBody5648611973909688522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175083849,"filename":"image_14082025_05_19_39_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15dfd3c0298ab79868772759d8b98a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7057822134529930973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175083849,"filename":"image_14082025_05_19_49_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68835d8ab20022f5d21a84ec34f911ab.jpg","text":"TemporaryFile(/tmp/multipartBody4972010507860682602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175083849,"filename":"image_14082025_05_19_28_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/280635a2ca483793d8ac7ff672fef119.jpg","text":"TemporaryFile(/tmp/multipartBody5368625259197262908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175083849,"filename":"image_14082025_05_19_18_9060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377023935","file1":"1377023920","file0":"1377023891","file4":"1377023968","file5":"1377023972","file3":"1377023942"},"map_files_photo_id_array":[{"photo_id":"1377023972","filename":"file5"},{"photo_id":"1377023935","filename":"file2"},{"photo_id":"1377023968","filename":"file4"},{"photo_id":"1377023920","filename":"file1"},{"photo_id":"1377023891","filename":"file0"},{"photo_id":"1377023942","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377023891":["hashtag1","hashtag2"]},{"1377023972":["hashtag1","hashtag2"]},{"1377023942":["hashtag1","hashtag2"]},{"1377023968":["hashtag1","hashtag2"]},{"1377023935":["hashtag1","hashtag2"]},{"1377023920":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377023891, 1377023972, 1377023942, 1377023968, 1377023935, 1377023920)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.233442306518555 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:38:02.514021 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/19/image_14082025_05_20_09_10494.jpg', '/media/data/images/14082025/05/20/image_14082025_05_20_19_10287.jpg', '/media/data/images/14082025/05/20/image_14082025_05_20_28_9047.jpg', '/media/data/images/14082025/05/20/image_14082025_05_20_38_10435.jpg', '/media/data/images/14082025/05/20/image_14082025_05_20_49_10257.jpg', '/media/data/images/14082025/05/20/image_14082025_05_20_59_10270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/19/image_14082025_05_20_09_10494.jpg /media/data/images/14082025/05/20/image_14082025_05_20_19_10287.jpg /media/data/images/14082025/05/20/image_14082025_05_20_28_9047.jpg /media/data/images/14082025/05/20/image_14082025_05_20_38_10435.jpg /media/data/images/14082025/05/20/image_14082025_05_20_49_10257.jpg /media/data/images/14082025/05/20/image_14082025_05_20_59_10270.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377024063","1377023997","1377024143","1377024101","1377024026","1377024001"],"photo_ids_order":["1377023997","1377024001","1377024026","1377024063","1377024101","1377024143"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ffce77f23a8c4f67ecb785a798e4037.jpg","text":"TemporaryFile(/tmp/multipartBody4559307016056379943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175143616,"filename":"image_14082025_05_20_38_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d06a5ac83c2e5f01dbdaf3248149b7bc.jpg","text":"TemporaryFile(/tmp/multipartBody5213051439988330519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175143616,"filename":"image_14082025_05_20_09_10494.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/42be1c307c36abf2c99e02001dbe7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2826863767412221429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175143616,"filename":"image_14082025_05_20_59_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/88a2f025fd4e60408a9cf6d5d59e9846.jpg","text":"TemporaryFile(/tmp/multipartBody2045728114792305428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175143616,"filename":"image_14082025_05_20_49_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c83b31ee56138c40f1e97f576dd3a452.jpg","text":"TemporaryFile(/tmp/multipartBody2572857127727032683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175143616,"filename":"image_14082025_05_20_28_9047.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4fba942c8b6d557634cfb8365e6b6df5.jpg","text":"TemporaryFile(/tmp/multipartBody760606164835800007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175143616,"filename":"image_14082025_05_20_19_10287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377024026","file1":"1377024001","file0":"1377023997","file4":"1377024101","file5":"1377024143","file3":"1377024063"},"map_files_photo_id_array":[{"photo_id":"1377024143","filename":"file5"},{"photo_id":"1377024026","filename":"file2"},{"photo_id":"1377024101","filename":"file4"},{"photo_id":"1377024001","filename":"file1"},{"photo_id":"1377023997","filename":"file0"},{"photo_id":"1377024063","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377024063":["hashtag1","hashtag2"]},{"1377023997":["hashtag1","hashtag2"]},{"1377024143":["hashtag1","hashtag2"]},{"1377024101":["hashtag1","hashtag2"]},{"1377024026":["hashtag1","hashtag2"]},{"1377024001":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377024063, 1377023997, 1377024143, 1377024101, 1377024026, 1377024001)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.668994426727295 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:39:03.025202 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/21/image_14082025_05_21_08_9010.jpg', '/media/data/images/14082025/05/21/image_14082025_05_21_18_10339.jpg', '/media/data/images/14082025/05/21/image_14082025_05_21_29_10400.jpg', '/media/data/images/14082025/05/21/image_14082025_05_21_39_10358.jpg', '/media/data/images/14082025/05/21/image_14082025_05_21_48_9159.jpg', '/media/data/images/14082025/05/21/image_14082025_05_21_58_10353.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/21/image_14082025_05_21_08_9010.jpg /media/data/images/14082025/05/21/image_14082025_05_21_18_10339.jpg /media/data/images/14082025/05/21/image_14082025_05_21_29_10400.jpg /media/data/images/14082025/05/21/image_14082025_05_21_39_10358.jpg /media/data/images/14082025/05/21/image_14082025_05_21_48_9159.jpg /media/data/images/14082025/05/21/image_14082025_05_21_58_10353.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377024423","1377024397","1377024421","1377024370","1377024418","1377024415"],"photo_ids_order":["1377024370","1377024397","1377024415","1377024418","1377024421","1377024423"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/536f36cab84b5024c3e7366a699a1e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3546584979304647882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175204011,"filename":"image_14082025_05_21_58_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9b6b9eb26fd55429552553b4a5b2967.jpg","text":"TemporaryFile(/tmp/multipartBody6635718735060604350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175204011,"filename":"image_14082025_05_21_18_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6bf97c46640630bbcc0fa2e4521e9172.jpg","text":"TemporaryFile(/tmp/multipartBody6330244977561023166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175204011,"filename":"image_14082025_05_21_48_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/956a41e15d26fa26446004675c424812.jpg","text":"TemporaryFile(/tmp/multipartBody1851838966609534085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175204011,"filename":"image_14082025_05_21_08_9010.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b85f90ed8494a29e62e53dc1ac603bd.jpg","text":"TemporaryFile(/tmp/multipartBody5959194575127342880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175204011,"filename":"image_14082025_05_21_39_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1dbb733a81dbb807b27474658dea3834.jpg","text":"TemporaryFile(/tmp/multipartBody290202667843920674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175204011,"filename":"image_14082025_05_21_29_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377024415","file1":"1377024397","file0":"1377024370","file4":"1377024421","file5":"1377024423","file3":"1377024418"},"map_files_photo_id_array":[{"photo_id":"1377024423","filename":"file5"},{"photo_id":"1377024415","filename":"file2"},{"photo_id":"1377024421","filename":"file4"},{"photo_id":"1377024397","filename":"file1"},{"photo_id":"1377024370","filename":"file0"},{"photo_id":"1377024418","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377024423":["hashtag1","hashtag2"]},{"1377024397":["hashtag1","hashtag2"]},{"1377024421":["hashtag1","hashtag2"]},{"1377024370":["hashtag1","hashtag2"]},{"1377024418":["hashtag1","hashtag2"]},{"1377024415":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377024423, 1377024397, 1377024421, 1377024370, 1377024418, 1377024415)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.31063532829285 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:40:02.708287 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/22/image_14082025_05_22_09_10546.jpg', '/media/data/images/14082025/05/22/image_14082025_05_22_18_9131.jpg', '/media/data/images/14082025/05/22/image_14082025_05_22_28_10347.jpg', '/media/data/images/14082025/05/22/image_14082025_05_22_39_10364.jpg', '/media/data/images/14082025/05/22/image_14082025_05_22_48_9104.jpg', '/media/data/images/14082025/05/22/image_14082025_05_22_58_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/22/image_14082025_05_22_09_10546.jpg /media/data/images/14082025/05/22/image_14082025_05_22_18_9131.jpg /media/data/images/14082025/05/22/image_14082025_05_22_28_10347.jpg /media/data/images/14082025/05/22/image_14082025_05_22_39_10364.jpg /media/data/images/14082025/05/22/image_14082025_05_22_48_9104.jpg /media/data/images/14082025/05/22/image_14082025_05_22_58_10362.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377024627","1377024662","1377024545","1377024704","1377024499","1377024592"],"photo_ids_order":["1377024499","1377024545","1377024592","1377024627","1377024662","1377024704"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83a33baeac55b2b993b72723086288e3.jpg","text":"TemporaryFile(/tmp/multipartBody2101553809436156078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175263701,"filename":"image_14082025_05_22_39_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a60995686664a5518b4f4bff13516511.jpg","text":"TemporaryFile(/tmp/multipartBody2546875371455276059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175263701,"filename":"image_14082025_05_22_48_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e2402cad2884ea05c4eab9e4fd86734b.jpg","text":"TemporaryFile(/tmp/multipartBody7394264880852759205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175263701,"filename":"image_14082025_05_22_18_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/538bf9ce237b878cb9aecb56661ccc33.jpg","text":"TemporaryFile(/tmp/multipartBody1077211761983389062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175263701,"filename":"image_14082025_05_22_58_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc76ab4e55b3dbd65f5e697b68d1575b.jpg","text":"TemporaryFile(/tmp/multipartBody4068120626972945923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175263701,"filename":"image_14082025_05_22_09_10546.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0efc593c4dcbf26109b6c92e62f43401.jpg","text":"TemporaryFile(/tmp/multipartBody7320874226356887820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175263701,"filename":"image_14082025_05_22_28_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377024592","file1":"1377024545","file0":"1377024499","file4":"1377024662","file5":"1377024704","file3":"1377024627"},"map_files_photo_id_array":[{"photo_id":"1377024704","filename":"file5"},{"photo_id":"1377024592","filename":"file2"},{"photo_id":"1377024662","filename":"file4"},{"photo_id":"1377024545","filename":"file1"},{"photo_id":"1377024499","filename":"file0"},{"photo_id":"1377024627","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377024627":["hashtag1","hashtag2"]},{"1377024662":["hashtag1","hashtag2"]},{"1377024545":["hashtag1","hashtag2"]},{"1377024704":["hashtag1","hashtag2"]},{"1377024499":["hashtag1","hashtag2"]},{"1377024592":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377024627, 1377024662, 1377024545, 1377024704, 1377024499, 1377024592)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.67379951477051 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:41:03.138244 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/23/image_14082025_05_23_09_10251.jpg', '/media/data/images/14082025/05/23/image_14082025_05_23_19_10410.jpg', '/media/data/images/14082025/05/23/image_14082025_05_23_28_9123.jpg', '/media/data/images/14082025/05/23/image_14082025_05_23_38_10343.jpg', '/media/data/images/14082025/05/23/image_14082025_05_23_49_10350.jpg', '/media/data/images/14082025/05/23/image_14082025_05_23_58_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/23/image_14082025_05_23_09_10251.jpg /media/data/images/14082025/05/23/image_14082025_05_23_19_10410.jpg /media/data/images/14082025/05/23/image_14082025_05_23_28_9123.jpg /media/data/images/14082025/05/23/image_14082025_05_23_38_10343.jpg /media/data/images/14082025/05/23/image_14082025_05_23_49_10350.jpg /media/data/images/14082025/05/23/image_14082025_05_23_58_9111.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377024834","1377024770","1377024773","1377024767","1377024799","1377024763"],"photo_ids_order":["1377024763","1377024767","1377024770","1377024773","1377024799","1377024834"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a48da168bf88e070cc83526bebbd63c6.jpg","text":"TemporaryFile(/tmp/multipartBody3020364579468464835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175324190,"filename":"image_14082025_05_23_58_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/217c11643187f272eec10add597c1776.jpg","text":"TemporaryFile(/tmp/multipartBody5260987478313774611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175324190,"filename":"image_14082025_05_23_28_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ad088228f5aca58ba56ca832f8fc3f4.jpg","text":"TemporaryFile(/tmp/multipartBody8433205929178361166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175324190,"filename":"image_14082025_05_23_38_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f34aeff3fc80e82fefcbd61a0a04f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4389605327678239826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175324190,"filename":"image_14082025_05_23_19_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/42dc4cd3de67ce8a0ec5555854bb7b62.jpg","text":"TemporaryFile(/tmp/multipartBody2835730981544631915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175324190,"filename":"image_14082025_05_23_49_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e24a1f2f289abf3fb2c6667edae8df0.jpg","text":"TemporaryFile(/tmp/multipartBody3262060237286048335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175324190,"filename":"image_14082025_05_23_09_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377024770","file1":"1377024767","file0":"1377024763","file4":"1377024799","file5":"1377024834","file3":"1377024773"},"map_files_photo_id_array":[{"photo_id":"1377024834","filename":"file5"},{"photo_id":"1377024770","filename":"file2"},{"photo_id":"1377024799","filename":"file4"},{"photo_id":"1377024767","filename":"file1"},{"photo_id":"1377024763","filename":"file0"},{"photo_id":"1377024773","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377024834":["hashtag1","hashtag2"]},{"1377024770":["hashtag1","hashtag2"]},{"1377024773":["hashtag1","hashtag2"]},{"1377024767":["hashtag1","hashtag2"]},{"1377024799":["hashtag1","hashtag2"]},{"1377024763":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377024834, 1377024770, 1377024773, 1377024767, 1377024799, 1377024763)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.19713544845581 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:42:03.102220 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/23/image_14082025_05_24_09_10639.jpg', '/media/data/images/14082025/05/24/image_14082025_05_24_19_10338.jpg', '/media/data/images/14082025/05/24/image_14082025_05_24_28_9115.jpg', '/media/data/images/14082025/05/24/image_14082025_05_24_38_10428.jpg', '/media/data/images/14082025/05/24/image_14082025_05_24_49_10351.jpg', '/media/data/images/14082025/05/24/image_14082025_05_24_58_9107.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/23/image_14082025_05_24_09_10639.jpg /media/data/images/14082025/05/24/image_14082025_05_24_19_10338.jpg /media/data/images/14082025/05/24/image_14082025_05_24_28_9115.jpg /media/data/images/14082025/05/24/image_14082025_05_24_38_10428.jpg /media/data/images/14082025/05/24/image_14082025_05_24_49_10351.jpg /media/data/images/14082025/05/24/image_14082025_05_24_58_9107.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025043","1377025036","1377025051","1377025041","1377025029","1377025038"],"photo_ids_order":["1377025029","1377025036","1377025038","1377025041","1377025043","1377025051"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/877f517969b7bee8e307d6b93a03ac51.jpg","text":"TemporaryFile(/tmp/multipartBody5384373685732071627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175384078,"filename":"image_14082025_05_24_49_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99862b108c259cba067e36cfd00e1018.jpg","text":"TemporaryFile(/tmp/multipartBody1098071273953950103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175384078,"filename":"image_14082025_05_24_19_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b1a6c97f63466a69cc51895ac66f4af3.jpg","text":"TemporaryFile(/tmp/multipartBody3738119575709622197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175384078,"filename":"image_14082025_05_24_58_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da2211439dec0d0c2e3ad4919794a3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3410895126165671799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175384078,"filename":"image_14082025_05_24_38_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d737029f964d280133e6f9b89329f319.jpg","text":"TemporaryFile(/tmp/multipartBody4969566342262921516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175384078,"filename":"image_14082025_05_24_09_10639.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1bbba3e4c222c794498b8a22acf8dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody5922077093584421485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175384078,"filename":"image_14082025_05_24_28_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025038","file1":"1377025036","file0":"1377025029","file4":"1377025043","file5":"1377025051","file3":"1377025041"},"map_files_photo_id_array":[{"photo_id":"1377025051","filename":"file5"},{"photo_id":"1377025038","filename":"file2"},{"photo_id":"1377025043","filename":"file4"},{"photo_id":"1377025036","filename":"file1"},{"photo_id":"1377025029","filename":"file0"},{"photo_id":"1377025041","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025043":["hashtag1","hashtag2"]},{"1377025036":["hashtag1","hashtag2"]},{"1377025051":["hashtag1","hashtag2"]},{"1377025041":["hashtag1","hashtag2"]},{"1377025029":["hashtag1","hashtag2"]},{"1377025038":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025043, 1377025036, 1377025051, 1377025041, 1377025029, 1377025038)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.84409999847412 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:43:03.356707 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/24/image_14082025_05_25_09_10648.jpg', '/media/data/images/14082025/05/25/image_14082025_05_25_19_10442.jpg', '/media/data/images/14082025/05/25/image_14082025_05_25_28_9185.jpg', '/media/data/images/14082025/05/25/image_14082025_05_25_39_10336.jpg', '/media/data/images/14082025/05/25/image_14082025_05_25_49_10430.jpg', '/media/data/images/14082025/05/25/image_14082025_05_25_58_9111.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/24/image_14082025_05_25_09_10648.jpg /media/data/images/14082025/05/25/image_14082025_05_25_19_10442.jpg /media/data/images/14082025/05/25/image_14082025_05_25_28_9185.jpg /media/data/images/14082025/05/25/image_14082025_05_25_39_10336.jpg /media/data/images/14082025/05/25/image_14082025_05_25_49_10430.jpg /media/data/images/14082025/05/25/image_14082025_05_25_58_9111.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025085","1377025067","1377025075","1377025069","1377025066","1377025071"],"photo_ids_order":["1377025066","1377025067","1377025069","1377025071","1377025075","1377025085"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8662e029ef40ac953205ff83953d6e73.jpg","text":"TemporaryFile(/tmp/multipartBody9159013239899443041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175444351,"filename":"image_14082025_05_25_58_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8d154749b8623ec8eb9667ebb7cba91.jpg","text":"TemporaryFile(/tmp/multipartBody6298662485264580059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175444351,"filename":"image_14082025_05_25_19_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f4733a945678e1ddce4b5b1d025977c.jpg","text":"TemporaryFile(/tmp/multipartBody4872553441313047669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175444351,"filename":"image_14082025_05_25_49_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5eb64d1947bfcc39892e61f3624cd94.jpg","text":"TemporaryFile(/tmp/multipartBody1988768818103367002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175444351,"filename":"image_14082025_05_25_28_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fe49567e4c86ec37385737834ec70ef.jpg","text":"TemporaryFile(/tmp/multipartBody4995195836727692759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175444351,"filename":"image_14082025_05_25_09_10648.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dff70f701e62115129337633e8b3469.jpg","text":"TemporaryFile(/tmp/multipartBody6312351678110674393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175444351,"filename":"image_14082025_05_25_39_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025069","file1":"1377025067","file0":"1377025066","file4":"1377025075","file5":"1377025085","file3":"1377025071"},"map_files_photo_id_array":[{"photo_id":"1377025085","filename":"file5"},{"photo_id":"1377025069","filename":"file2"},{"photo_id":"1377025075","filename":"file4"},{"photo_id":"1377025067","filename":"file1"},{"photo_id":"1377025066","filename":"file0"},{"photo_id":"1377025071","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025085":["hashtag1","hashtag2"]},{"1377025067":["hashtag1","hashtag2"]},{"1377025075":["hashtag1","hashtag2"]},{"1377025069":["hashtag1","hashtag2"]},{"1377025066":["hashtag1","hashtag2"]},{"1377025071":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025085, 1377025067, 1377025075, 1377025069, 1377025066, 1377025071)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.59482002258301 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:44:03.255686 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/26/image_14082025_05_26_19_10380.jpg', '/media/data/images/14082025/05/26/image_14082025_05_26_28_9154.jpg', '/media/data/images/14082025/05/26/image_14082025_05_26_39_10410.jpg', '/media/data/images/14082025/05/26/image_14082025_05_26_49_10341.jpg', '/media/data/images/14082025/05/26/image_14082025_05_26_58_9100.jpg', '/media/data/images/14082025/05/26/image_14082025_05_27_09_10613.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/26/image_14082025_05_26_19_10380.jpg /media/data/images/14082025/05/26/image_14082025_05_26_28_9154.jpg /media/data/images/14082025/05/26/image_14082025_05_26_39_10410.jpg /media/data/images/14082025/05/26/image_14082025_05_26_49_10341.jpg /media/data/images/14082025/05/26/image_14082025_05_26_58_9100.jpg /media/data/images/14082025/05/26/image_14082025_05_27_09_10613.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025127","1377025112","1377025118","1377025114","1377025108","1377025102"],"photo_ids_order":["1377025102","1377025108","1377025112","1377025114","1377025118","1377025127"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ae38bbc5db39b0ec2d12a129a4f6b87.jpg","text":"TemporaryFile(/tmp/multipartBody7891305926323474302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175504230,"filename":"image_14082025_05_27_09_10613.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37f3c2666875fd33557883dcd4d207b7.jpg","text":"TemporaryFile(/tmp/multipartBody1156900711326361598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175504230,"filename":"image_14082025_05_26_39_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76b6e01353b51ab8a498e19c6f2e7705.jpg","text":"TemporaryFile(/tmp/multipartBody6942155946871753995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175504230,"filename":"image_14082025_05_26_58_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b438facfe807332602dd8e2bc867daa5.jpg","text":"TemporaryFile(/tmp/multipartBody3093869973662606812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175504230,"filename":"image_14082025_05_26_49_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93244d01731b128e3bb7c881e98fc946.jpg","text":"TemporaryFile(/tmp/multipartBody2469316951735358913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175504230,"filename":"image_14082025_05_26_28_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46125ef13807d974e95786e63cf96883.jpg","text":"TemporaryFile(/tmp/multipartBody7429715401949822745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175504230,"filename":"image_14082025_05_26_19_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025112","file1":"1377025108","file0":"1377025102","file4":"1377025118","file5":"1377025127","file3":"1377025114"},"map_files_photo_id_array":[{"photo_id":"1377025127","filename":"file5"},{"photo_id":"1377025112","filename":"file2"},{"photo_id":"1377025118","filename":"file4"},{"photo_id":"1377025108","filename":"file1"},{"photo_id":"1377025102","filename":"file0"},{"photo_id":"1377025114","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025127":["hashtag1","hashtag2"]},{"1377025112":["hashtag1","hashtag2"]},{"1377025118":["hashtag1","hashtag2"]},{"1377025114":["hashtag1","hashtag2"]},{"1377025108":["hashtag1","hashtag2"]},{"1377025102":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025127, 1377025112, 1377025118, 1377025114, 1377025108, 1377025102)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.68028950691223 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:45:03.449472 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/27/image_14082025_05_27_19_10399.jpg', '/media/data/images/14082025/05/27/image_14082025_05_27_28_9093.jpg', '/media/data/images/14082025/05/27/image_14082025_05_27_38_10350.jpg', '/media/data/images/14082025/05/27/image_14082025_05_27_49_10385.jpg', '/media/data/images/14082025/05/27/image_14082025_05_27_58_9205.jpg', '/media/data/images/14082025/05/28/image_14082025_05_28_08_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/27/image_14082025_05_27_19_10399.jpg /media/data/images/14082025/05/27/image_14082025_05_27_28_9093.jpg /media/data/images/14082025/05/27/image_14082025_05_27_38_10350.jpg /media/data/images/14082025/05/27/image_14082025_05_27_49_10385.jpg /media/data/images/14082025/05/27/image_14082025_05_27_58_9205.jpg /media/data/images/14082025/05/28/image_14082025_05_28_08_10296.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025160","1377025164","1377025152","1377025146","1377025155","1377025149"],"photo_ids_order":["1377025146","1377025149","1377025152","1377025155","1377025160","1377025164"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2390512a189b029915c66f0ec0798e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5556427863168353304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175564444,"filename":"image_14082025_05_27_58_9205.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f3e4ef0fd38d3ee8dfb992cbbe44e042.jpg","text":"TemporaryFile(/tmp/multipartBody6083528570642229442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175564444,"filename":"image_14082025_05_28_08_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50000a51a9f8135e7e37ad30f627ec72.jpg","text":"TemporaryFile(/tmp/multipartBody5333852970758452281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175564444,"filename":"image_14082025_05_27_38_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ee4581f270e5446cb449343f10a5b08.jpg","text":"TemporaryFile(/tmp/multipartBody1773332201388801719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175564444,"filename":"image_14082025_05_27_19_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d752e5a84a6399b9efc06cf9c244579c.jpg","text":"TemporaryFile(/tmp/multipartBody2871868471084811158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175564444,"filename":"image_14082025_05_27_49_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f02d12a47f08ea73b2f8a4f5e82017e1.jpg","text":"TemporaryFile(/tmp/multipartBody1092445030979626878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175564444,"filename":"image_14082025_05_27_28_9093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025152","file1":"1377025149","file0":"1377025146","file4":"1377025160","file5":"1377025164","file3":"1377025155"},"map_files_photo_id_array":[{"photo_id":"1377025164","filename":"file5"},{"photo_id":"1377025152","filename":"file2"},{"photo_id":"1377025160","filename":"file4"},{"photo_id":"1377025149","filename":"file1"},{"photo_id":"1377025146","filename":"file0"},{"photo_id":"1377025155","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025160":["hashtag1","hashtag2"]},{"1377025164":["hashtag1","hashtag2"]},{"1377025152":["hashtag1","hashtag2"]},{"1377025146":["hashtag1","hashtag2"]},{"1377025155":["hashtag1","hashtag2"]},{"1377025149":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025160, 1377025164, 1377025152, 1377025146, 1377025155, 1377025149)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.475186586380005 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:46:03.189321 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/28/image_14082025_05_28_19_10354.jpg', '/media/data/images/14082025/05/28/image_14082025_05_28_28_9103.jpg', '/media/data/images/14082025/05/28/image_14082025_05_28_38_10339.jpg', '/media/data/images/14082025/05/28/image_14082025_05_28_49_10392.jpg', '/media/data/images/14082025/05/28/image_14082025_05_28_59_10352.jpg', '/media/data/images/14082025/05/29/image_14082025_05_29_08_9119.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/28/image_14082025_05_28_19_10354.jpg /media/data/images/14082025/05/28/image_14082025_05_28_28_9103.jpg /media/data/images/14082025/05/28/image_14082025_05_28_38_10339.jpg /media/data/images/14082025/05/28/image_14082025_05_28_49_10392.jpg /media/data/images/14082025/05/28/image_14082025_05_28_59_10352.jpg /media/data/images/14082025/05/29/image_14082025_05_29_08_9119.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025193","1377025196","1377025199","1377025189","1377025201","1377025209"],"photo_ids_order":["1377025189","1377025193","1377025196","1377025199","1377025201","1377025209"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2e5c2009a203be194a2b1ae2fc038d0.jpg","text":"TemporaryFile(/tmp/multipartBody2538734765425133493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175624184,"filename":"image_14082025_05_28_28_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c80e70201e14066bc1e3805c9f6f341.jpg","text":"TemporaryFile(/tmp/multipartBody6830174602300935852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175624184,"filename":"image_14082025_05_28_38_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8b8b93a16920850164e00c76a858f71.jpg","text":"TemporaryFile(/tmp/multipartBody4183885541811195298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175624184,"filename":"image_14082025_05_28_49_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e28b27e655dc082d2a5bfb527163d4d.jpg","text":"TemporaryFile(/tmp/multipartBody4169554177186511885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175624184,"filename":"image_14082025_05_28_19_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e520ed8688cdd1ad0533e5e070d55bcf.jpg","text":"TemporaryFile(/tmp/multipartBody207665658305410022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175624184,"filename":"image_14082025_05_28_59_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e999c32c3362e59571c36820a440cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8304154652180692195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175624184,"filename":"image_14082025_05_29_08_9119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025196","file1":"1377025193","file0":"1377025189","file4":"1377025201","file5":"1377025209","file3":"1377025199"},"map_files_photo_id_array":[{"photo_id":"1377025209","filename":"file5"},{"photo_id":"1377025196","filename":"file2"},{"photo_id":"1377025201","filename":"file4"},{"photo_id":"1377025193","filename":"file1"},{"photo_id":"1377025189","filename":"file0"},{"photo_id":"1377025199","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025193":["hashtag1","hashtag2"]},{"1377025196":["hashtag1","hashtag2"]},{"1377025199":["hashtag1","hashtag2"]},{"1377025189":["hashtag1","hashtag2"]},{"1377025201":["hashtag1","hashtag2"]},{"1377025209":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025193, 1377025196, 1377025199, 1377025189, 1377025201, 1377025209)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.07484793663025 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:47:02.569265 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/29/image_14082025_05_29_18_10346.jpg', '/media/data/images/14082025/05/29/image_14082025_05_29_29_10305.jpg', '/media/data/images/14082025/05/29/image_14082025_05_29_38_9167.jpg', '/media/data/images/14082025/05/29/image_14082025_05_29_48_10269.jpg', '/media/data/images/14082025/05/29/image_14082025_05_29_58_10327.jpg', '/media/data/images/14082025/05/30/image_14082025_05_30_09_10571.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/29/image_14082025_05_29_18_10346.jpg /media/data/images/14082025/05/29/image_14082025_05_29_29_10305.jpg /media/data/images/14082025/05/29/image_14082025_05_29_38_9167.jpg /media/data/images/14082025/05/29/image_14082025_05_29_48_10269.jpg /media/data/images/14082025/05/29/image_14082025_05_29_58_10327.jpg /media/data/images/14082025/05/30/image_14082025_05_30_09_10571.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025232","1377025229","1377025246","1377025234","1377025237","1377025231"],"photo_ids_order":["1377025229","1377025231","1377025232","1377025234","1377025237","1377025246"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68b5bdd4e5c95c2b26ca8efdf34f0cef.jpg","text":"TemporaryFile(/tmp/multipartBody6803280014454804645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175683628,"filename":"image_14082025_05_29_38_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6bbea7343627201020cf78b6f6bd42aa.jpg","text":"TemporaryFile(/tmp/multipartBody2024994918484757559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175683628,"filename":"image_14082025_05_29_18_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/120d9b543039c8118a6f51747cc6d37e.jpg","text":"TemporaryFile(/tmp/multipartBody1006627768167867831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175683628,"filename":"image_14082025_05_30_09_10571.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6662163dee38c43c4796437ac14dc2e4.jpg","text":"TemporaryFile(/tmp/multipartBody2894534385593757047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175683628,"filename":"image_14082025_05_29_48_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed357098251a92dd9b74604f35abfcfe.jpg","text":"TemporaryFile(/tmp/multipartBody2490533593338481100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175683628,"filename":"image_14082025_05_29_58_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf5997800260274d72183f394029ac0c.jpg","text":"TemporaryFile(/tmp/multipartBody8897833395512379500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175683628,"filename":"image_14082025_05_29_29_10305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025232","file1":"1377025231","file0":"1377025229","file4":"1377025237","file5":"1377025246","file3":"1377025234"},"map_files_photo_id_array":[{"photo_id":"1377025246","filename":"file5"},{"photo_id":"1377025232","filename":"file2"},{"photo_id":"1377025237","filename":"file4"},{"photo_id":"1377025231","filename":"file1"},{"photo_id":"1377025229","filename":"file0"},{"photo_id":"1377025234","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025232":["hashtag1","hashtag2"]},{"1377025229":["hashtag1","hashtag2"]},{"1377025246":["hashtag1","hashtag2"]},{"1377025234":["hashtag1","hashtag2"]},{"1377025237":["hashtag1","hashtag2"]},{"1377025231":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025232, 1377025229, 1377025246, 1377025234, 1377025237, 1377025231)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.789517879486084 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:48:02.729948 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/30/image_14082025_05_30_18_9057.jpg', '/media/data/images/14082025/05/30/image_14082025_05_30_28_10358.jpg', '/media/data/images/14082025/05/30/image_14082025_05_30_39_10089.jpg', '/media/data/images/14082025/05/30/image_14082025_05_30_49_10320.jpg', '/media/data/images/14082025/05/30/image_14082025_05_30_58_9139.jpg', '/media/data/images/14082025/05/30/image_14082025_05_31_08_10283.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/30/image_14082025_05_30_18_9057.jpg /media/data/images/14082025/05/30/image_14082025_05_30_28_10358.jpg /media/data/images/14082025/05/30/image_14082025_05_30_39_10089.jpg /media/data/images/14082025/05/30/image_14082025_05_30_49_10320.jpg /media/data/images/14082025/05/30/image_14082025_05_30_58_9139.jpg /media/data/images/14082025/05/30/image_14082025_05_31_08_10283.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025282","1377025267","1377025255","1377025263","1377025272","1377025260"],"photo_ids_order":["1377025255","1377025260","1377025263","1377025267","1377025272","1377025282"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9f9e39c681e8a0adaa2b08622db766e.jpg","text":"TemporaryFile(/tmp/multipartBody27554363582855395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175743729,"filename":"image_14082025_05_31_08_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9853edcc7d784619a1f3d323956392a0.jpg","text":"TemporaryFile(/tmp/multipartBody192643371450072056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175743729,"filename":"image_14082025_05_30_49_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f8552fcb448ea7c8005b7e234e964f1.jpg","text":"TemporaryFile(/tmp/multipartBody7039658874728502838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175743729,"filename":"image_14082025_05_30_18_9057.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/011af110286751cf8aebbfbd60166969.jpg","text":"TemporaryFile(/tmp/multipartBody791688627535457299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175743729,"filename":"image_14082025_05_30_39_10089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d0a59df6d446b187ce72a557d2efb4a.jpg","text":"TemporaryFile(/tmp/multipartBody8846159338937998836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175743729,"filename":"image_14082025_05_30_58_9139.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d92c4d5613a49ea621200c8885d995d0.jpg","text":"TemporaryFile(/tmp/multipartBody4238152274078135135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175743729,"filename":"image_14082025_05_30_28_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025263","file1":"1377025260","file0":"1377025255","file4":"1377025272","file5":"1377025282","file3":"1377025267"},"map_files_photo_id_array":[{"photo_id":"1377025282","filename":"file5"},{"photo_id":"1377025263","filename":"file2"},{"photo_id":"1377025272","filename":"file4"},{"photo_id":"1377025260","filename":"file1"},{"photo_id":"1377025255","filename":"file0"},{"photo_id":"1377025267","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025282":["hashtag1","hashtag2"]},{"1377025267":["hashtag1","hashtag2"]},{"1377025255":["hashtag1","hashtag2"]},{"1377025263":["hashtag1","hashtag2"]},{"1377025272":["hashtag1","hashtag2"]},{"1377025260":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025282, 1377025267, 1377025255, 1377025263, 1377025272, 1377025260)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.56564426422119 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:49:03.061481 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/31/image_14082025_05_31_19_10241.jpg', '/media/data/images/14082025/05/31/image_14082025_05_31_29_10221.jpg', '/media/data/images/14082025/05/31/image_14082025_05_31_39_10222.jpg', '/media/data/images/14082025/05/31/image_14082025_05_31_48_9098.jpg', '/media/data/images/14082025/05/32/image_14082025_05_32_08_10153.jpg', '/media/data/images/14082025/05/32/image_14082025_05_32_19_10245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/31/image_14082025_05_31_19_10241.jpg /media/data/images/14082025/05/31/image_14082025_05_31_29_10221.jpg /media/data/images/14082025/05/31/image_14082025_05_31_39_10222.jpg /media/data/images/14082025/05/31/image_14082025_05_31_48_9098.jpg /media/data/images/14082025/05/32/image_14082025_05_32_08_10153.jpg /media/data/images/14082025/05/32/image_14082025_05_32_19_10245.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025319","1377025310","1377025304","1377025307","1377025301","1377025298"],"photo_ids_order":["1377025298","1377025301","1377025304","1377025307","1377025310","1377025319"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4006b3bca4a33a5976a9efcd3854949.jpg","text":"TemporaryFile(/tmp/multipartBody4114236434360619761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175804187,"filename":"image_14082025_05_32_19_10245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a83e11063b9199f4c2c837d1274614d.jpg","text":"TemporaryFile(/tmp/multipartBody5750512692106176193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175804187,"filename":"image_14082025_05_32_08_10153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3bf6333876e54d7c5bc8916df56f129.jpg","text":"TemporaryFile(/tmp/multipartBody2096585313123660489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175804187,"filename":"image_14082025_05_31_39_10222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51800b8cb340a3caa910d36710174a89.jpg","text":"TemporaryFile(/tmp/multipartBody8225575007524625047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175804187,"filename":"image_14082025_05_31_48_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c069dc0e5b43e0b6a7e99573ddfa73e.jpg","text":"TemporaryFile(/tmp/multipartBody9084268460538981574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175804187,"filename":"image_14082025_05_31_29_10221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e20d304938b97cd13eb56039168edbb0.jpg","text":"TemporaryFile(/tmp/multipartBody1918727141951490333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175804187,"filename":"image_14082025_05_31_19_10241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025304","file1":"1377025301","file0":"1377025298","file4":"1377025310","file5":"1377025319","file3":"1377025307"},"map_files_photo_id_array":[{"photo_id":"1377025319","filename":"file5"},{"photo_id":"1377025304","filename":"file2"},{"photo_id":"1377025310","filename":"file4"},{"photo_id":"1377025301","filename":"file1"},{"photo_id":"1377025298","filename":"file0"},{"photo_id":"1377025307","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025319":["hashtag1","hashtag2"]},{"1377025310":["hashtag1","hashtag2"]},{"1377025304":["hashtag1","hashtag2"]},{"1377025307":["hashtag1","hashtag2"]},{"1377025301":["hashtag1","hashtag2"]},{"1377025298":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025319, 1377025310, 1377025304, 1377025307, 1377025301, 1377025298)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.69519066810608 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:50:03.026918 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/32/image_14082025_05_32_29_10295.jpg', '/media/data/images/14082025/05/32/image_14082025_05_32_38_9030.jpg', '/media/data/images/14082025/05/32/image_14082025_05_32_48_10223.jpg', '/media/data/images/14082025/05/32/image_14082025_05_32_59_10411.jpg', '/media/data/images/14082025/05/33/image_14082025_05_33_09_10108.jpg', '/media/data/images/14082025/05/33/image_14082025_05_33_19_10180.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/32/image_14082025_05_32_29_10295.jpg /media/data/images/14082025/05/32/image_14082025_05_32_38_9030.jpg /media/data/images/14082025/05/32/image_14082025_05_32_48_10223.jpg /media/data/images/14082025/05/32/image_14082025_05_32_59_10411.jpg /media/data/images/14082025/05/33/image_14082025_05_33_09_10108.jpg /media/data/images/14082025/05/33/image_14082025_05_33_19_10180.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025352","1377025381","1377025374","1377025371","1377025359","1377025347"],"photo_ids_order":["1377025347","1377025352","1377025359","1377025371","1377025374","1377025381"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d6633bab20a8697f1d142d77ce4f0e4.jpg","text":"TemporaryFile(/tmp/multipartBody4003030016495016232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175864077,"filename":"image_14082025_05_32_38_9030.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c312d70497821543c5a0a0fe9d47e7f4.jpg","text":"TemporaryFile(/tmp/multipartBody6502834937990243790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175864077,"filename":"image_14082025_05_33_19_10180.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b19671376b442e02376ba60bcc10d95.jpg","text":"TemporaryFile(/tmp/multipartBody6547271265187715010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175864077,"filename":"image_14082025_05_33_09_10108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4cc19ff5d8ba97afebbe6d3552a6306.jpg","text":"TemporaryFile(/tmp/multipartBody1021562910737646566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175864077,"filename":"image_14082025_05_32_59_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89c80aa4aedc45966067a06762c5fdfd.jpg","text":"TemporaryFile(/tmp/multipartBody1110072597735314525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175864077,"filename":"image_14082025_05_32_48_10223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e89ca38f31a23d192dea4752190e0ef4.jpg","text":"TemporaryFile(/tmp/multipartBody1056633075373056038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175864077,"filename":"image_14082025_05_32_29_10295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025359","file1":"1377025352","file0":"1377025347","file4":"1377025374","file5":"1377025381","file3":"1377025371"},"map_files_photo_id_array":[{"photo_id":"1377025381","filename":"file5"},{"photo_id":"1377025359","filename":"file2"},{"photo_id":"1377025374","filename":"file4"},{"photo_id":"1377025352","filename":"file1"},{"photo_id":"1377025347","filename":"file0"},{"photo_id":"1377025371","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025352":["hashtag1","hashtag2"]},{"1377025381":["hashtag1","hashtag2"]},{"1377025374":["hashtag1","hashtag2"]},{"1377025371":["hashtag1","hashtag2"]},{"1377025359":["hashtag1","hashtag2"]},{"1377025347":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025352, 1377025381, 1377025374, 1377025371, 1377025359, 1377025347)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 57.70263433456421 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:51:03.165471 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/33/image_14082025_05_33_38_10227.jpg', '/media/data/images/14082025/05/33/image_14082025_05_33_48_10282.jpg', '/media/data/images/14082025/05/33/image_14082025_05_33_59_10321.jpg', '/media/data/images/14082025/05/34/image_14082025_05_34_08_9174.jpg', '/media/data/images/14082025/05/34/image_14082025_05_34_18_10359.jpg', '/media/data/images/14082025/05/34/image_14082025_05_34_29_10244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/33/image_14082025_05_33_38_10227.jpg /media/data/images/14082025/05/33/image_14082025_05_33_48_10282.jpg /media/data/images/14082025/05/33/image_14082025_05_33_59_10321.jpg /media/data/images/14082025/05/34/image_14082025_05_34_08_9174.jpg /media/data/images/14082025/05/34/image_14082025_05_34_18_10359.jpg /media/data/images/14082025/05/34/image_14082025_05_34_29_10244.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025401","1377025394","1377025412","1377025406","1377025390","1377025398"],"photo_ids_order":["1377025390","1377025394","1377025398","1377025401","1377025406","1377025412"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0acc479dc2688d53f680171e33bc2fc.jpg","text":"TemporaryFile(/tmp/multipartBody869266581657598175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175924274,"filename":"image_14082025_05_34_08_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9751a16af6ebd904cd933f451e1f1916.jpg","text":"TemporaryFile(/tmp/multipartBody2550034729845246752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175924274,"filename":"image_14082025_05_33_48_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e61ebb8adf09c76d8f862f4f404791f.jpg","text":"TemporaryFile(/tmp/multipartBody8842222166262485309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175924274,"filename":"image_14082025_05_34_29_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc391cf881a36e71cdfb9756fbd7a02b.jpg","text":"TemporaryFile(/tmp/multipartBody8883461120489795200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175924274,"filename":"image_14082025_05_34_18_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/325f99979c36908ff7bc499a5545dcf6.jpg","text":"TemporaryFile(/tmp/multipartBody5857792051766312257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175924274,"filename":"image_14082025_05_33_38_10227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/218e60e76272674458946e950037c03d.jpg","text":"TemporaryFile(/tmp/multipartBody5088160547045112295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175924274,"filename":"image_14082025_05_33_59_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025398","file1":"1377025394","file0":"1377025390","file4":"1377025406","file5":"1377025412","file3":"1377025401"},"map_files_photo_id_array":[{"photo_id":"1377025412","filename":"file5"},{"photo_id":"1377025398","filename":"file2"},{"photo_id":"1377025406","filename":"file4"},{"photo_id":"1377025394","filename":"file1"},{"photo_id":"1377025390","filename":"file0"},{"photo_id":"1377025401","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025401":["hashtag1","hashtag2"]},{"1377025394":["hashtag1","hashtag2"]},{"1377025412":["hashtag1","hashtag2"]},{"1377025406":["hashtag1","hashtag2"]},{"1377025390":["hashtag1","hashtag2"]},{"1377025398":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025401, 1377025394, 1377025412, 1377025406, 1377025390, 1377025398)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.254701375961304 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:52:03.157021 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/34/image_14082025_05_34_49_10240.jpg', '/media/data/images/14082025/05/34/image_14082025_05_34_58_9127.jpg', '/media/data/images/14082025/05/35/image_14082025_05_35_08_10287.jpg', '/media/data/images/14082025/05/35/image_14082025_05_35_19_10340.jpg', '/media/data/images/14082025/05/35/image_14082025_05_35_28_9151.jpg', '/media/data/images/14082025/05/35/image_14082025_05_35_38_10477.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/34/image_14082025_05_34_49_10240.jpg /media/data/images/14082025/05/34/image_14082025_05_34_58_9127.jpg /media/data/images/14082025/05/35/image_14082025_05_35_08_10287.jpg /media/data/images/14082025/05/35/image_14082025_05_35_19_10340.jpg /media/data/images/14082025/05/35/image_14082025_05_35_28_9151.jpg /media/data/images/14082025/05/35/image_14082025_05_35_38_10477.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025448","1377025436","1377025455","1377025464","1377025443","1377025452"],"photo_ids_order":["1377025436","1377025443","1377025448","1377025452","1377025455","1377025464"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/838d198ff1730dd887e3e609f7114341.jpg","text":"TemporaryFile(/tmp/multipartBody6722047698459815881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175984198,"filename":"image_14082025_05_35_08_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b73d82dfbf7582566fdac5ed3d87dee.jpg","text":"TemporaryFile(/tmp/multipartBody8520650007862997618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175984198,"filename":"image_14082025_05_34_49_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d844f3461a2c60589c8774f320fd592c.jpg","text":"TemporaryFile(/tmp/multipartBody1112576222062062423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175984198,"filename":"image_14082025_05_35_28_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c7a71becd2f9d6219dc06e18ec9013a.jpg","text":"TemporaryFile(/tmp/multipartBody4823423014133386881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175984198,"filename":"image_14082025_05_35_38_10477.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ccb87ffd0147e89c926d72379069723.jpg","text":"TemporaryFile(/tmp/multipartBody4871261069440159053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175984198,"filename":"image_14082025_05_34_58_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80a610e7ab1df60d6398a009571ca97b.jpg","text":"TemporaryFile(/tmp/multipartBody842031920021923998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755175984198,"filename":"image_14082025_05_35_19_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025448","file1":"1377025443","file0":"1377025436","file4":"1377025455","file5":"1377025464","file3":"1377025452"},"map_files_photo_id_array":[{"photo_id":"1377025464","filename":"file5"},{"photo_id":"1377025448","filename":"file2"},{"photo_id":"1377025455","filename":"file4"},{"photo_id":"1377025443","filename":"file1"},{"photo_id":"1377025436","filename":"file0"},{"photo_id":"1377025452","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025448":["hashtag1","hashtag2"]},{"1377025436":["hashtag1","hashtag2"]},{"1377025455":["hashtag1","hashtag2"]},{"1377025464":["hashtag1","hashtag2"]},{"1377025443":["hashtag1","hashtag2"]},{"1377025452":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025448, 1377025436, 1377025455, 1377025464, 1377025443, 1377025452)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.94434094429016 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:53:03.506911 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/35/image_14082025_05_35_49_10230.jpg', '/media/data/images/14082025/05/36/image_14082025_05_36_09_10158.jpg', '/media/data/images/14082025/05/36/image_14082025_05_36_18_9049.jpg', '/media/data/images/14082025/05/36/image_14082025_05_36_28_10234.jpg', '/media/data/images/14082025/05/36/image_14082025_05_36_39_10223.jpg', '/media/data/images/14082025/05/36/image_14082025_05_36_49_10220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/35/image_14082025_05_35_49_10230.jpg /media/data/images/14082025/05/36/image_14082025_05_36_09_10158.jpg /media/data/images/14082025/05/36/image_14082025_05_36_18_9049.jpg /media/data/images/14082025/05/36/image_14082025_05_36_28_10234.jpg /media/data/images/14082025/05/36/image_14082025_05_36_39_10223.jpg /media/data/images/14082025/05/36/image_14082025_05_36_49_10220.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025517","1377025502","1377025498","1377025494","1377025488","1377025506"],"photo_ids_order":["1377025488","1377025494","1377025498","1377025502","1377025506","1377025517"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95e6769ba09c7b33eb07f57e15a83bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3729458253746407401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176044556,"filename":"image_14082025_05_36_49_10220.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1101961b8e5fc5df5b134912a97ef482.jpg","text":"TemporaryFile(/tmp/multipartBody5102739267036380060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176044556,"filename":"image_14082025_05_36_28_10234.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92df71c87877431d519249dafa8c70f1.jpg","text":"TemporaryFile(/tmp/multipartBody3100154711858945443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176044556,"filename":"image_14082025_05_36_18_9049.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ce34c3e34dcc201f286424fd63357687.jpg","text":"TemporaryFile(/tmp/multipartBody8916692598951896942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176044556,"filename":"image_14082025_05_36_09_10158.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ad95363fc1052fa98afc1f4b08defd0b.jpg","text":"TemporaryFile(/tmp/multipartBody1422731416005546052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176044556,"filename":"image_14082025_05_35_49_10230.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d12ce9f10a658c1cdf3c2fe8ee85b5ad.jpg","text":"TemporaryFile(/tmp/multipartBody3397779669305892667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176044556,"filename":"image_14082025_05_36_39_10223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025498","file1":"1377025494","file0":"1377025488","file4":"1377025506","file5":"1377025517","file3":"1377025502"},"map_files_photo_id_array":[{"photo_id":"1377025517","filename":"file5"},{"photo_id":"1377025498","filename":"file2"},{"photo_id":"1377025506","filename":"file4"},{"photo_id":"1377025494","filename":"file1"},{"photo_id":"1377025488","filename":"file0"},{"photo_id":"1377025502","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025517":["hashtag1","hashtag2"]},{"1377025502":["hashtag1","hashtag2"]},{"1377025498":["hashtag1","hashtag2"]},{"1377025494":["hashtag1","hashtag2"]},{"1377025488":["hashtag1","hashtag2"]},{"1377025506":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025517, 1377025502, 1377025498, 1377025494, 1377025488, 1377025506)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.732330322265625 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:54:03.532185 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/36/image_14082025_05_36_59_10231.jpg', '/media/data/images/14082025/05/37/image_14082025_05_37_08_8872.jpg', '/media/data/images/14082025/05/37/image_14082025_05_37_18_10267.jpg', '/media/data/images/14082025/05/37/image_14082025_05_37_49_10163.jpg', '/media/data/images/14082025/05/37/image_14082025_05_37_58_9076.jpg', '/media/data/images/14082025/05/38/image_14082025_05_38_08_10240.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/36/image_14082025_05_36_59_10231.jpg /media/data/images/14082025/05/37/image_14082025_05_37_08_8872.jpg /media/data/images/14082025/05/37/image_14082025_05_37_18_10267.jpg /media/data/images/14082025/05/37/image_14082025_05_37_49_10163.jpg /media/data/images/14082025/05/37/image_14082025_05_37_58_9076.jpg /media/data/images/14082025/05/38/image_14082025_05_38_08_10240.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025550","1377025556","1377025576","1377025546","1377025531","1377025542"],"photo_ids_order":["1377025531","1377025542","1377025546","1377025550","1377025556","1377025576"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36da9cc693555ae05f72d808f846952e.jpg","text":"TemporaryFile(/tmp/multipartBody1981716001516834245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176104553,"filename":"image_14082025_05_37_49_10163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/98ded25bd47ec3fc16a899ff649be0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4511275635751863179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176104553,"filename":"image_14082025_05_37_58_9076.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84e8d87ee33e76d90d21e6bcaeb0c9a9.jpg","text":"TemporaryFile(/tmp/multipartBody6323003545856789115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176104553,"filename":"image_14082025_05_38_08_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82411f9ddaee1a5142a5fd5043f32f90.jpg","text":"TemporaryFile(/tmp/multipartBody4280578879385341052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176104553,"filename":"image_14082025_05_37_18_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/504b80d3ebbe4f030f7bfb8b32c4e68f.jpg","text":"TemporaryFile(/tmp/multipartBody4868803820879802938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176104553,"filename":"image_14082025_05_36_59_10231.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90ce1d87b8e0de8461c9b570a46c07d2.jpg","text":"TemporaryFile(/tmp/multipartBody5416700520206684518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176104553,"filename":"image_14082025_05_37_08_8872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025546","file1":"1377025542","file0":"1377025531","file4":"1377025556","file5":"1377025576","file3":"1377025550"},"map_files_photo_id_array":[{"photo_id":"1377025576","filename":"file5"},{"photo_id":"1377025546","filename":"file2"},{"photo_id":"1377025556","filename":"file4"},{"photo_id":"1377025542","filename":"file1"},{"photo_id":"1377025531","filename":"file0"},{"photo_id":"1377025550","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025550":["hashtag1","hashtag2"]},{"1377025556":["hashtag1","hashtag2"]},{"1377025576":["hashtag1","hashtag2"]},{"1377025546":["hashtag1","hashtag2"]},{"1377025531":["hashtag1","hashtag2"]},{"1377025542":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025550, 1377025556, 1377025576, 1377025546, 1377025531, 1377025542)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.46056580543518 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:55:02.710677 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/38/image_14082025_05_38_59_10244.jpg', '/media/data/images/14082025/05/39/image_14082025_05_39_09_10248.jpg', '/media/data/images/14082025/05/39/image_14082025_05_39_18_9021.jpg', '/media/data/images/14082025/05/39/image_14082025_05_39_28_10247.jpg', '/media/data/images/14082025/05/39/image_14082025_05_39_38_10317.jpg', '/media/data/images/14082025/05/39/image_14082025_05_39_49_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/38/image_14082025_05_38_59_10244.jpg /media/data/images/14082025/05/39/image_14082025_05_39_09_10248.jpg /media/data/images/14082025/05/39/image_14082025_05_39_18_9021.jpg /media/data/images/14082025/05/39/image_14082025_05_39_28_10247.jpg /media/data/images/14082025/05/39/image_14082025_05_39_38_10317.jpg /media/data/images/14082025/05/39/image_14082025_05_39_49_10340.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025643","1377025625","1377025619","1377025639","1377025635","1377025629"],"photo_ids_order":["1377025619","1377025625","1377025629","1377025635","1377025639","1377025643"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53e17442f2f898c26ed295ca5a006de1.jpg","text":"TemporaryFile(/tmp/multipartBody444750874444199601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176163724,"filename":"image_14082025_05_39_49_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bbe6d0d7d2f43579140d9714b1913fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3826378332587045396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176163724,"filename":"image_14082025_05_39_09_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4effa5ef0ba276f1605f09585209cd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5551949801704935615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176163724,"filename":"image_14082025_05_38_59_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/991b81aed09814e1630c2f81448c81b1.jpg","text":"TemporaryFile(/tmp/multipartBody8371123180758084637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176163724,"filename":"image_14082025_05_39_38_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec14c771afd32313399b79c4e830217b.jpg","text":"TemporaryFile(/tmp/multipartBody8316749883172906034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176163724,"filename":"image_14082025_05_39_28_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4682ccef6ed18b1d1ddd13f02fd890a2.jpg","text":"TemporaryFile(/tmp/multipartBody2966403217365366674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176163724,"filename":"image_14082025_05_39_18_9021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025629","file1":"1377025625","file0":"1377025619","file4":"1377025639","file5":"1377025643","file3":"1377025635"},"map_files_photo_id_array":[{"photo_id":"1377025643","filename":"file5"},{"photo_id":"1377025629","filename":"file2"},{"photo_id":"1377025639","filename":"file4"},{"photo_id":"1377025625","filename":"file1"},{"photo_id":"1377025619","filename":"file0"},{"photo_id":"1377025635","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025643":["hashtag1","hashtag2"]},{"1377025625":["hashtag1","hashtag2"]},{"1377025619":["hashtag1","hashtag2"]},{"1377025639":["hashtag1","hashtag2"]},{"1377025635":["hashtag1","hashtag2"]},{"1377025629":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025643, 1377025625, 1377025619, 1377025639, 1377025635, 1377025629)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.9321551322937 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:56:02.653672 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/39/image_14082025_05_39_58_9137.jpg', '/media/data/images/14082025/05/39/image_14082025_05_40_08_10603.jpg', '/media/data/images/14082025/05/40/image_14082025_05_40_19_10418.jpg', '/media/data/images/14082025/05/40/image_14082025_05_40_28_9153.jpg', '/media/data/images/14082025/05/40/image_14082025_05_40_38_10399.jpg', '/media/data/images/14082025/05/40/image_14082025_05_40_49_10318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/39/image_14082025_05_39_58_9137.jpg /media/data/images/14082025/05/39/image_14082025_05_40_08_10603.jpg /media/data/images/14082025/05/40/image_14082025_05_40_19_10418.jpg /media/data/images/14082025/05/40/image_14082025_05_40_28_9153.jpg /media/data/images/14082025/05/40/image_14082025_05_40_38_10399.jpg /media/data/images/14082025/05/40/image_14082025_05_40_49_10318.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025679","1377025688","1377025673","1377025663","1377025657","1377025668"],"photo_ids_order":["1377025657","1377025663","1377025668","1377025673","1377025679","1377025688"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f5bb1c8e247d93f1829f7c6ae62439b.jpg","text":"TemporaryFile(/tmp/multipartBody1639780056422290510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176223769,"filename":"image_14082025_05_40_38_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fdb47a8397a194c0f8b2975225220935.jpg","text":"TemporaryFile(/tmp/multipartBody3870435607432417016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176223769,"filename":"image_14082025_05_40_49_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c37b235a721a09fead299fec9382468.jpg","text":"TemporaryFile(/tmp/multipartBody1739332493156625024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176223769,"filename":"image_14082025_05_40_28_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f85f7c08219c60eea226e13ceb2cce3d.jpg","text":"TemporaryFile(/tmp/multipartBody4011365481294998364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176223769,"filename":"image_14082025_05_40_08_10603.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b83da95d37d180d9a00c9803163c083b.jpg","text":"TemporaryFile(/tmp/multipartBody7232797898947538020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176223769,"filename":"image_14082025_05_39_58_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7b07ab66f8e9dae95ab068874c7b04eb.jpg","text":"TemporaryFile(/tmp/multipartBody7431207540281768306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176223769,"filename":"image_14082025_05_40_19_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025668","file1":"1377025663","file0":"1377025657","file4":"1377025679","file5":"1377025688","file3":"1377025673"},"map_files_photo_id_array":[{"photo_id":"1377025688","filename":"file5"},{"photo_id":"1377025668","filename":"file2"},{"photo_id":"1377025679","filename":"file4"},{"photo_id":"1377025663","filename":"file1"},{"photo_id":"1377025657","filename":"file0"},{"photo_id":"1377025673","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025679":["hashtag1","hashtag2"]},{"1377025688":["hashtag1","hashtag2"]},{"1377025673":["hashtag1","hashtag2"]},{"1377025663":["hashtag1","hashtag2"]},{"1377025657":["hashtag1","hashtag2"]},{"1377025668":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025679, 1377025688, 1377025673, 1377025663, 1377025657, 1377025668)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.83906579017639 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:57:03.167383 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/40/image_14082025_05_40_58_9217.jpg', '/media/data/images/14082025/05/40/image_14082025_05_41_08_10407.jpg', '/media/data/images/14082025/05/41/image_14082025_05_41_19_10350.jpg', '/media/data/images/14082025/05/41/image_14082025_05_41_28_9094.jpg', '/media/data/images/14082025/05/41/image_14082025_05_41_38_10273.jpg', '/media/data/images/14082025/05/41/image_14082025_05_41_48_10286.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/40/image_14082025_05_40_58_9217.jpg /media/data/images/14082025/05/40/image_14082025_05_41_08_10407.jpg /media/data/images/14082025/05/41/image_14082025_05_41_19_10350.jpg /media/data/images/14082025/05/41/image_14082025_05_41_28_9094.jpg /media/data/images/14082025/05/41/image_14082025_05_41_38_10273.jpg /media/data/images/14082025/05/41/image_14082025_05_41_48_10286.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025730","1377025709","1377025706","1377025714","1377025702","1377025719"],"photo_ids_order":["1377025702","1377025706","1377025709","1377025714","1377025719","1377025730"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4b87a8312c4a19caf5778f301dcb605.jpg","text":"TemporaryFile(/tmp/multipartBody6812959688680647810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176284184,"filename":"image_14082025_05_41_48_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25cf49a8c34144d0330560a25658ebfc.jpg","text":"TemporaryFile(/tmp/multipartBody6810953473197802039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176284184,"filename":"image_14082025_05_41_19_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a12238cea72ec1dccb12c47d4fc74a44.jpg","text":"TemporaryFile(/tmp/multipartBody8304673140566571697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176284184,"filename":"image_14082025_05_41_08_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75c9c48cc34cbb59f3f20c5b60b74f07.jpg","text":"TemporaryFile(/tmp/multipartBody5744880839949937866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176284184,"filename":"image_14082025_05_41_28_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5af2f8b3273a70fcf26e52ffa04ffdb2.jpg","text":"TemporaryFile(/tmp/multipartBody8786874058100687654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176284184,"filename":"image_14082025_05_40_58_9217.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23f1cd81a2aa4e35f453ddf650b91460.jpg","text":"TemporaryFile(/tmp/multipartBody433049041259907597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176284184,"filename":"image_14082025_05_41_38_10273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025709","file1":"1377025706","file0":"1377025702","file4":"1377025719","file5":"1377025730","file3":"1377025714"},"map_files_photo_id_array":[{"photo_id":"1377025730","filename":"file5"},{"photo_id":"1377025709","filename":"file2"},{"photo_id":"1377025719","filename":"file4"},{"photo_id":"1377025706","filename":"file1"},{"photo_id":"1377025702","filename":"file0"},{"photo_id":"1377025714","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025730":["hashtag1","hashtag2"]},{"1377025709":["hashtag1","hashtag2"]},{"1377025706":["hashtag1","hashtag2"]},{"1377025714":["hashtag1","hashtag2"]},{"1377025702":["hashtag1","hashtag2"]},{"1377025719":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025730, 1377025709, 1377025706, 1377025714, 1377025702, 1377025719)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.78167104721069 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 14:59:02.814400 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/41/image_14082025_05_41_59_10625.jpg', '/media/data/images/14082025/05/42/image_14082025_05_42_08_9227.jpg', '/media/data/images/14082025/05/42/image_14082025_05_42_19_10330.jpg', '/media/data/images/14082025/05/42/image_14082025_05_42_29_10344.jpg', '/media/data/images/14082025/05/42/image_14082025_05_42_38_9032.jpg', '/media/data/images/14082025/05/42/image_14082025_05_42_48_10225.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/41/image_14082025_05_41_59_10625.jpg /media/data/images/14082025/05/42/image_14082025_05_42_08_9227.jpg /media/data/images/14082025/05/42/image_14082025_05_42_19_10330.jpg /media/data/images/14082025/05/42/image_14082025_05_42_29_10344.jpg /media/data/images/14082025/05/42/image_14082025_05_42_38_9032.jpg /media/data/images/14082025/05/42/image_14082025_05_42_48_10225.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025781","1377025784","1377025766","1377025759","1377025750","1377025776"],"photo_ids_order":["1377025750","1377025759","1377025766","1377025776","1377025781","1377025784"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb9267062a239264578258acd0fb4895.jpg","text":"TemporaryFile(/tmp/multipartBody111590731437683570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176403899,"filename":"image_14082025_05_42_38_9032.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/778731738450c82b93bc097dd1577dc7.jpg","text":"TemporaryFile(/tmp/multipartBody3901103511541294535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176403899,"filename":"image_14082025_05_42_48_10225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57c6fe49f590b1b073cee266f0320595.jpg","text":"TemporaryFile(/tmp/multipartBody8645564922755778138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176403899,"filename":"image_14082025_05_42_19_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4acf65950c436ca31e099ad9d2f29c94.jpg","text":"TemporaryFile(/tmp/multipartBody7285989814455693699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176403899,"filename":"image_14082025_05_42_08_9227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a021f2df673af6a15545d9db52dc4f6.jpg","text":"TemporaryFile(/tmp/multipartBody6780094248144948653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176403899,"filename":"image_14082025_05_41_59_10625.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0f033c866510df86685b0a62372656b.jpg","text":"TemporaryFile(/tmp/multipartBody5484936954379125080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176403899,"filename":"image_14082025_05_42_29_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025766","file1":"1377025759","file0":"1377025750","file4":"1377025781","file5":"1377025784","file3":"1377025776"},"map_files_photo_id_array":[{"photo_id":"1377025784","filename":"file5"},{"photo_id":"1377025766","filename":"file2"},{"photo_id":"1377025781","filename":"file4"},{"photo_id":"1377025759","filename":"file1"},{"photo_id":"1377025750","filename":"file0"},{"photo_id":"1377025776","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025781":["hashtag1","hashtag2"]},{"1377025784":["hashtag1","hashtag2"]},{"1377025766":["hashtag1","hashtag2"]},{"1377025759":["hashtag1","hashtag2"]},{"1377025750":["hashtag1","hashtag2"]},{"1377025776":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025781, 1377025784, 1377025766, 1377025759, 1377025750, 1377025776)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.61007475852966 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:00:02.503284 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/42/image_14082025_05_42_58_10250.jpg', '/media/data/images/14082025/05/43/image_14082025_05_43_08_10037.jpg', '/media/data/images/14082025/05/43/image_14082025_05_43_19_10183.jpg', '/media/data/images/14082025/05/43/image_14082025_05_43_29_10235.jpg', '/media/data/images/14082025/05/43/image_14082025_05_43_38_9067.jpg', '/media/data/images/14082025/05/43/image_14082025_05_43_48_10185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/42/image_14082025_05_42_58_10250.jpg /media/data/images/14082025/05/43/image_14082025_05_43_08_10037.jpg /media/data/images/14082025/05/43/image_14082025_05_43_19_10183.jpg /media/data/images/14082025/05/43/image_14082025_05_43_29_10235.jpg /media/data/images/14082025/05/43/image_14082025_05_43_38_9067.jpg /media/data/images/14082025/05/43/image_14082025_05_43_48_10185.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025806","1377025826","1377025823","1377025819","1377025810","1377025815"],"photo_ids_order":["1377025806","1377025810","1377025815","1377025819","1377025823","1377025826"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f8fb8942992328e72a2fd8988bb346c.jpg","text":"TemporaryFile(/tmp/multipartBody7302945015219547645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176463525,"filename":"image_14082025_05_42_58_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4753e5e153b6e362b4b58f10f85ae54e.jpg","text":"TemporaryFile(/tmp/multipartBody2561077038661545277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176463525,"filename":"image_14082025_05_43_48_10185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e4ed34dc7d4f10d413b2fc75be36644.jpg","text":"TemporaryFile(/tmp/multipartBody3859722855902487573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176463525,"filename":"image_14082025_05_43_38_9067.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5072bfa0c026a850739156c72216df8e.jpg","text":"TemporaryFile(/tmp/multipartBody5145487678348674100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176463525,"filename":"image_14082025_05_43_29_10235.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c47bf4a18148e45c0af42d4549aec43c.jpg","text":"TemporaryFile(/tmp/multipartBody3845916576164896036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176463525,"filename":"image_14082025_05_43_08_10037.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90691430a626cb913a9160d41f6fd1ba.jpg","text":"TemporaryFile(/tmp/multipartBody2311684636251184474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176463525,"filename":"image_14082025_05_43_19_10183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025815","file1":"1377025810","file0":"1377025806","file4":"1377025823","file5":"1377025826","file3":"1377025819"},"map_files_photo_id_array":[{"photo_id":"1377025826","filename":"file5"},{"photo_id":"1377025815","filename":"file2"},{"photo_id":"1377025823","filename":"file4"},{"photo_id":"1377025810","filename":"file1"},{"photo_id":"1377025806","filename":"file0"},{"photo_id":"1377025819","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025806":["hashtag1","hashtag2"]},{"1377025826":["hashtag1","hashtag2"]},{"1377025823":["hashtag1","hashtag2"]},{"1377025819":["hashtag1","hashtag2"]},{"1377025810":["hashtag1","hashtag2"]},{"1377025815":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025806, 1377025826, 1377025823, 1377025819, 1377025810, 1377025815)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.50851488113403 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:01:02.963104 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/43/image_14082025_05_43_58_10196.jpg', '/media/data/images/14082025/05/44/image_14082025_05_44_09_10214.jpg', '/media/data/images/14082025/05/44/image_14082025_05_44_19_10222.jpg', '/media/data/images/14082025/05/44/image_14082025_05_44_29_10212.jpg', '/media/data/images/14082025/05/44/image_14082025_05_44_38_9004.jpg', '/media/data/images/14082025/05/44/image_14082025_05_44_48_10223.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/43/image_14082025_05_43_58_10196.jpg /media/data/images/14082025/05/44/image_14082025_05_44_09_10214.jpg /media/data/images/14082025/05/44/image_14082025_05_44_19_10222.jpg /media/data/images/14082025/05/44/image_14082025_05_44_29_10212.jpg /media/data/images/14082025/05/44/image_14082025_05_44_38_9004.jpg /media/data/images/14082025/05/44/image_14082025_05_44_48_10223.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025871","1377025853","1377025847","1377025866","1377025860","1377025839"],"photo_ids_order":["1377025839","1377025847","1377025853","1377025860","1377025866","1377025871"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c1d99f048097e9516816561745988ee.jpg","text":"TemporaryFile(/tmp/multipartBody3400472589557244545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176524096,"filename":"image_14082025_05_44_48_10223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3c8540a50c4529904e42510db7935fc.jpg","text":"TemporaryFile(/tmp/multipartBody3313353192441198197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176524096,"filename":"image_14082025_05_44_19_10222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c882c3121c608ccb78f0c8a98de87d68.jpg","text":"TemporaryFile(/tmp/multipartBody3206385265371210875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176524096,"filename":"image_14082025_05_44_09_10214.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d57877a903db112a619c4fe90652f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody3707334219861786008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176524096,"filename":"image_14082025_05_44_38_9004.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6796224dc2a8722fd5151396fbdec0cf.jpg","text":"TemporaryFile(/tmp/multipartBody5842460602570160083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176524096,"filename":"image_14082025_05_44_29_10212.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af98ce6ba4b96d5e2348be5e25f83153.jpg","text":"TemporaryFile(/tmp/multipartBody6955534949245355616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176524096,"filename":"image_14082025_05_43_58_10196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025853","file1":"1377025847","file0":"1377025839","file4":"1377025866","file5":"1377025871","file3":"1377025860"},"map_files_photo_id_array":[{"photo_id":"1377025871","filename":"file5"},{"photo_id":"1377025853","filename":"file2"},{"photo_id":"1377025866","filename":"file4"},{"photo_id":"1377025847","filename":"file1"},{"photo_id":"1377025839","filename":"file0"},{"photo_id":"1377025860","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025871":["hashtag1","hashtag2"]},{"1377025853":["hashtag1","hashtag2"]},{"1377025847":["hashtag1","hashtag2"]},{"1377025866":["hashtag1","hashtag2"]},{"1377025860":["hashtag1","hashtag2"]},{"1377025839":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025871, 1377025853, 1377025847, 1377025866, 1377025860, 1377025839)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.66359210014343 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:02:02.739359 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/44/image_14082025_05_44_58_10256.jpg', '/media/data/images/14082025/05/45/image_14082025_05_45_19_10361.jpg', '/media/data/images/14082025/05/45/image_14082025_05_45_28_9031.jpg', '/media/data/images/14082025/05/45/image_14082025_05_45_38_10277.jpg', '/media/data/images/14082025/05/45/image_14082025_05_45_49_10219.jpg', '/media/data/images/14082025/05/45/image_14082025_05_45_59_10216.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/44/image_14082025_05_44_58_10256.jpg /media/data/images/14082025/05/45/image_14082025_05_45_19_10361.jpg /media/data/images/14082025/05/45/image_14082025_05_45_28_9031.jpg /media/data/images/14082025/05/45/image_14082025_05_45_38_10277.jpg /media/data/images/14082025/05/45/image_14082025_05_45_49_10219.jpg /media/data/images/14082025/05/45/image_14082025_05_45_59_10216.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025889","1377025880","1377025898","1377025885","1377025894","1377025902"],"photo_ids_order":["1377025880","1377025885","1377025889","1377025894","1377025898","1377025902"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ccd761a31f539fffb189920dc9ca8a6.jpg","text":"TemporaryFile(/tmp/multipartBody837602719623791233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176583807,"filename":"image_14082025_05_45_28_9031.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae2a2cffb566938c0b0bf5b35a1a17d1.jpg","text":"TemporaryFile(/tmp/multipartBody2780312563843164477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176583807,"filename":"image_14082025_05_44_58_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6e3b68cf6cef67e7db92f732dfb3740.jpg","text":"TemporaryFile(/tmp/multipartBody1364846250253545046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176583807,"filename":"image_14082025_05_45_49_10219.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58d9795b085d2f817eb3801ca5ba1516.jpg","text":"TemporaryFile(/tmp/multipartBody141419271857511152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176583807,"filename":"image_14082025_05_45_19_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c897a99a77584d1bb36e3e9096e8feef.jpg","text":"TemporaryFile(/tmp/multipartBody1979879900765029400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176583807,"filename":"image_14082025_05_45_38_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4dc7d26b5f280cc6cf795c461d252c32.jpg","text":"TemporaryFile(/tmp/multipartBody6307114603593465180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176583807,"filename":"image_14082025_05_45_59_10216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025889","file1":"1377025885","file0":"1377025880","file4":"1377025898","file5":"1377025902","file3":"1377025894"},"map_files_photo_id_array":[{"photo_id":"1377025902","filename":"file5"},{"photo_id":"1377025889","filename":"file2"},{"photo_id":"1377025898","filename":"file4"},{"photo_id":"1377025885","filename":"file1"},{"photo_id":"1377025880","filename":"file0"},{"photo_id":"1377025894","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025889":["hashtag1","hashtag2"]},{"1377025880":["hashtag1","hashtag2"]},{"1377025898":["hashtag1","hashtag2"]},{"1377025885":["hashtag1","hashtag2"]},{"1377025894":["hashtag1","hashtag2"]},{"1377025902":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025889, 1377025880, 1377025898, 1377025885, 1377025894, 1377025902)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.45053720474243 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:03:03.051857 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/46/image_14082025_05_46_09_10248.jpg', '/media/data/images/14082025/05/46/image_14082025_05_46_18_9063.jpg', '/media/data/images/14082025/05/46/image_14082025_05_46_28_10265.jpg', '/media/data/images/14082025/05/46/image_14082025_05_46_49_10222.jpg', '/media/data/images/14082025/05/46/image_14082025_05_46_58_9125.jpg', '/media/data/images/14082025/05/46/image_14082025_05_47_08_10265.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/46/image_14082025_05_46_09_10248.jpg /media/data/images/14082025/05/46/image_14082025_05_46_18_9063.jpg /media/data/images/14082025/05/46/image_14082025_05_46_28_10265.jpg /media/data/images/14082025/05/46/image_14082025_05_46_49_10222.jpg /media/data/images/14082025/05/46/image_14082025_05_46_58_9125.jpg /media/data/images/14082025/05/46/image_14082025_05_47_08_10265.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377025916","1377025948","1377025921","1377025939","1377025924","1377025929"],"photo_ids_order":["1377025916","1377025921","1377025924","1377025929","1377025939","1377025948"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aac553f1bad6b233cd61cc9856d9b248.jpg","text":"TemporaryFile(/tmp/multipartBody1923564462878986145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176644161,"filename":"image_14082025_05_46_09_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ba822836b2c5bef97f5b85c240f9681.jpg","text":"TemporaryFile(/tmp/multipartBody2454300096296791006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176644161,"filename":"image_14082025_05_47_08_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd0604fa14bf418663de9f8c20bccccf.jpg","text":"TemporaryFile(/tmp/multipartBody8981104332631720825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176644161,"filename":"image_14082025_05_46_18_9063.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc82f627d08d1e8b69810dae3d71384e.jpg","text":"TemporaryFile(/tmp/multipartBody1683052399855509909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176644161,"filename":"image_14082025_05_46_58_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6db3edb09b161e8dd567e050472e36b6.jpg","text":"TemporaryFile(/tmp/multipartBody1339190324525420370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176644161,"filename":"image_14082025_05_46_28_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b61d107f6a351e86c6ad67ab7fbab0d3.jpg","text":"TemporaryFile(/tmp/multipartBody2464102323927501765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176644161,"filename":"image_14082025_05_46_49_10222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377025924","file1":"1377025921","file0":"1377025916","file4":"1377025939","file5":"1377025948","file3":"1377025929"},"map_files_photo_id_array":[{"photo_id":"1377025948","filename":"file5"},{"photo_id":"1377025924","filename":"file2"},{"photo_id":"1377025939","filename":"file4"},{"photo_id":"1377025921","filename":"file1"},{"photo_id":"1377025916","filename":"file0"},{"photo_id":"1377025929","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377025916":["hashtag1","hashtag2"]},{"1377025948":["hashtag1","hashtag2"]},{"1377025921":["hashtag1","hashtag2"]},{"1377025939":["hashtag1","hashtag2"]},{"1377025924":["hashtag1","hashtag2"]},{"1377025929":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377025916, 1377025948, 1377025921, 1377025939, 1377025924, 1377025929)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.379297733306885 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:04:03.140376 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/47/image_14082025_05_47_18_10237.jpg', '/media/data/images/14082025/05/47/image_14082025_05_47_29_10304.jpg', '/media/data/images/14082025/05/47/image_14082025_05_47_39_10275.jpg', '/media/data/images/14082025/05/47/image_14082025_05_47_48_9075.jpg', '/media/data/images/14082025/05/47/image_14082025_05_47_58_10388.jpg', '/media/data/images/14082025/05/48/image_14082025_05_48_09_10166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/47/image_14082025_05_47_18_10237.jpg /media/data/images/14082025/05/47/image_14082025_05_47_29_10304.jpg /media/data/images/14082025/05/47/image_14082025_05_47_39_10275.jpg /media/data/images/14082025/05/47/image_14082025_05_47_48_9075.jpg /media/data/images/14082025/05/47/image_14082025_05_47_58_10388.jpg /media/data/images/14082025/05/48/image_14082025_05_48_09_10166.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026039","1377026030","1377025961","1377026035","1377026026","1377026043"],"photo_ids_order":["1377025961","1377026026","1377026030","1377026035","1377026039","1377026043"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17794da3e756b5c64a74e02b4fb210fb.jpg","text":"TemporaryFile(/tmp/multipartBody2918331632922571894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176704167,"filename":"image_14082025_05_47_58_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69fd58cde114c0f15c678c7f8db532a1.jpg","text":"TemporaryFile(/tmp/multipartBody4189374503985279062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176704167,"filename":"image_14082025_05_47_39_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc9cad70d6a2edcc2383e20fcea4c0cc.jpg","text":"TemporaryFile(/tmp/multipartBody7408280783634349604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176704167,"filename":"image_14082025_05_47_18_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7d12b6cc90acdded3ad80766184ebfd.jpg","text":"TemporaryFile(/tmp/multipartBody4850306064009759540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176704167,"filename":"image_14082025_05_47_48_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c6da91b215eba593f6134bd528779a7.jpg","text":"TemporaryFile(/tmp/multipartBody6743453919447388187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176704167,"filename":"image_14082025_05_47_29_10304.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d8a2fbf0324a5924e52781dca160f74.jpg","text":"TemporaryFile(/tmp/multipartBody7008250279356610205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176704167,"filename":"image_14082025_05_48_09_10166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026030","file1":"1377026026","file0":"1377025961","file4":"1377026039","file5":"1377026043","file3":"1377026035"},"map_files_photo_id_array":[{"photo_id":"1377026043","filename":"file5"},{"photo_id":"1377026030","filename":"file2"},{"photo_id":"1377026039","filename":"file4"},{"photo_id":"1377026026","filename":"file1"},{"photo_id":"1377025961","filename":"file0"},{"photo_id":"1377026035","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026039":["hashtag1","hashtag2"]},{"1377026030":["hashtag1","hashtag2"]},{"1377025961":["hashtag1","hashtag2"]},{"1377026035":["hashtag1","hashtag2"]},{"1377026026":["hashtag1","hashtag2"]},{"1377026043":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026039, 1377026030, 1377025961, 1377026035, 1377026026, 1377026043)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.58263540267944 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:05:03.377388 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/48/image_14082025_05_48_19_10350.jpg', '/media/data/images/14082025/05/48/image_14082025_05_48_28_9106.jpg', '/media/data/images/14082025/05/48/image_14082025_05_48_38_10397.jpg', '/media/data/images/14082025/05/48/image_14082025_05_48_49_10340.jpg', '/media/data/images/14082025/05/48/image_14082025_05_48_58_9111.jpg', '/media/data/images/14082025/05/48/image_14082025_05_49_08_10404.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/48/image_14082025_05_48_19_10350.jpg /media/data/images/14082025/05/48/image_14082025_05_48_28_9106.jpg /media/data/images/14082025/05/48/image_14082025_05_48_38_10397.jpg /media/data/images/14082025/05/48/image_14082025_05_48_49_10340.jpg /media/data/images/14082025/05/48/image_14082025_05_48_58_9111.jpg /media/data/images/14082025/05/48/image_14082025_05_49_08_10404.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026077","1377026071","1377026062","1377026082","1377026055","1377026066"],"photo_ids_order":["1377026055","1377026062","1377026066","1377026071","1377026077","1377026082"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cfaef01e7f647c14a99a9a64a7adb254.jpg","text":"TemporaryFile(/tmp/multipartBody2407822069498317949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176764424,"filename":"image_14082025_05_48_58_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f862dd7bdeebb2836529d568c500c37c.jpg","text":"TemporaryFile(/tmp/multipartBody5236185472048519781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176764424,"filename":"image_14082025_05_48_49_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c3c025961a80a565615ed3e8eb37f33.jpg","text":"TemporaryFile(/tmp/multipartBody9080245199728083643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176764424,"filename":"image_14082025_05_48_28_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a0eb9637b9f369d5e9bb04c1e46ad1a7.jpg","text":"TemporaryFile(/tmp/multipartBody8473225475659647315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176764424,"filename":"image_14082025_05_49_08_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ad36b13405aa0891376cdbb9a339509.jpg","text":"TemporaryFile(/tmp/multipartBody9140073139419114366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176764424,"filename":"image_14082025_05_48_19_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29580c747c6a8cdd2f3627c0797bddae.jpg","text":"TemporaryFile(/tmp/multipartBody5400550867475845406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176764424,"filename":"image_14082025_05_48_38_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026066","file1":"1377026062","file0":"1377026055","file4":"1377026077","file5":"1377026082","file3":"1377026071"},"map_files_photo_id_array":[{"photo_id":"1377026082","filename":"file5"},{"photo_id":"1377026066","filename":"file2"},{"photo_id":"1377026077","filename":"file4"},{"photo_id":"1377026062","filename":"file1"},{"photo_id":"1377026055","filename":"file0"},{"photo_id":"1377026071","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026077":["hashtag1","hashtag2"]},{"1377026071":["hashtag1","hashtag2"]},{"1377026062":["hashtag1","hashtag2"]},{"1377026082":["hashtag1","hashtag2"]},{"1377026055":["hashtag1","hashtag2"]},{"1377026066":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026077, 1377026071, 1377026062, 1377026082, 1377026055, 1377026066)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.08390831947327 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:06:03.287148 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/49/image_14082025_05_49_19_10393.jpg', '/media/data/images/14082025/05/49/image_14082025_05_49_28_9167.jpg', '/media/data/images/14082025/05/49/image_14082025_05_49_38_10422.jpg', '/media/data/images/14082025/05/49/image_14082025_05_49_49_10413.jpg', '/media/data/images/14082025/05/49/image_14082025_05_49_59_10341.jpg', '/media/data/images/14082025/05/50/image_14082025_05_50_19_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/49/image_14082025_05_49_19_10393.jpg /media/data/images/14082025/05/49/image_14082025_05_49_28_9167.jpg /media/data/images/14082025/05/49/image_14082025_05_49_38_10422.jpg /media/data/images/14082025/05/49/image_14082025_05_49_49_10413.jpg /media/data/images/14082025/05/49/image_14082025_05_49_59_10341.jpg /media/data/images/14082025/05/50/image_14082025_05_50_19_10394.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026089","1377026128","1377026107","1377026097","1377026133","1377026112"],"photo_ids_order":["1377026089","1377026097","1377026107","1377026112","1377026128","1377026133"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9736925423d7227e57a1d37ecdb6cce.jpg","text":"TemporaryFile(/tmp/multipartBody4804747457674883529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176824277,"filename":"image_14082025_05_49_19_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2869a83b5b628f02b63de1ec1d5b246b.jpg","text":"TemporaryFile(/tmp/multipartBody4064580065158122133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176824277,"filename":"image_14082025_05_49_59_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ce700b3a38a9f32221d25d8e8522ab66.jpg","text":"TemporaryFile(/tmp/multipartBody1895629721907127786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176824277,"filename":"image_14082025_05_49_38_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c658a19025ebadd4f10643585fe4280.jpg","text":"TemporaryFile(/tmp/multipartBody3827807085374383868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176824277,"filename":"image_14082025_05_49_28_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/216c2169f7a939288e9c27020f190945.jpg","text":"TemporaryFile(/tmp/multipartBody754219113598697513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176824277,"filename":"image_14082025_05_50_19_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f68c5f6ac07f157e0f169045d58980cb.jpg","text":"TemporaryFile(/tmp/multipartBody816755369874547970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176824277,"filename":"image_14082025_05_49_49_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026107","file1":"1377026097","file0":"1377026089","file4":"1377026128","file5":"1377026133","file3":"1377026112"},"map_files_photo_id_array":[{"photo_id":"1377026133","filename":"file5"},{"photo_id":"1377026107","filename":"file2"},{"photo_id":"1377026128","filename":"file4"},{"photo_id":"1377026097","filename":"file1"},{"photo_id":"1377026089","filename":"file0"},{"photo_id":"1377026112","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026089":["hashtag1","hashtag2"]},{"1377026128":["hashtag1","hashtag2"]},{"1377026107":["hashtag1","hashtag2"]},{"1377026097":["hashtag1","hashtag2"]},{"1377026133":["hashtag1","hashtag2"]},{"1377026112":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026089, 1377026128, 1377026107, 1377026097, 1377026133, 1377026112)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.97336030006409 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:07:03.485211 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/50/image_14082025_05_50_28_9211.jpg', '/media/data/images/14082025/05/50/image_14082025_05_50_38_10431.jpg', '/media/data/images/14082025/05/50/image_14082025_05_50_49_10389.jpg', '/media/data/images/14082025/05/50/image_14082025_05_50_58_9099.jpg', '/media/data/images/14082025/05/50/image_14082025_05_51_09_10581.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_19_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/50/image_14082025_05_50_28_9211.jpg /media/data/images/14082025/05/50/image_14082025_05_50_38_10431.jpg /media/data/images/14082025/05/50/image_14082025_05_50_49_10389.jpg /media/data/images/14082025/05/50/image_14082025_05_50_58_9099.jpg /media/data/images/14082025/05/50/image_14082025_05_51_09_10581.jpg /media/data/images/14082025/05/51/image_14082025_05_51_19_10433.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026170","1377026158","1377026146","1377026161","1377026165","1377026153"],"photo_ids_order":["1377026146","1377026153","1377026158","1377026161","1377026165","1377026170"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec67757b0addd8a76fac9fe095fac35d.jpg","text":"TemporaryFile(/tmp/multipartBody2735757284835101592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176884470,"filename":"image_14082025_05_51_19_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9fc6b439d4724ca3eef3f7f3f526e67.jpg","text":"TemporaryFile(/tmp/multipartBody2659602548603930685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176884470,"filename":"image_14082025_05_50_49_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5139246304cbe21e71e13806b008bb53.jpg","text":"TemporaryFile(/tmp/multipartBody1878641219488061614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176884470,"filename":"image_14082025_05_50_28_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/582ac3d174113755e6b026550f292dcc.jpg","text":"TemporaryFile(/tmp/multipartBody8936737928625930275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176884470,"filename":"image_14082025_05_50_58_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/655430be7ff1e6d557c08dc9ba96cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody8318085891759921532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176884470,"filename":"image_14082025_05_51_09_10581.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bdaf24406afb1d26cb0cd06c997a23a8.jpg","text":"TemporaryFile(/tmp/multipartBody7943463430760089426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176884470,"filename":"image_14082025_05_50_38_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026158","file1":"1377026153","file0":"1377026146","file4":"1377026165","file5":"1377026170","file3":"1377026161"},"map_files_photo_id_array":[{"photo_id":"1377026170","filename":"file5"},{"photo_id":"1377026158","filename":"file2"},{"photo_id":"1377026165","filename":"file4"},{"photo_id":"1377026153","filename":"file1"},{"photo_id":"1377026146","filename":"file0"},{"photo_id":"1377026161","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026170":["hashtag1","hashtag2"]},{"1377026158":["hashtag1","hashtag2"]},{"1377026146":["hashtag1","hashtag2"]},{"1377026161":["hashtag1","hashtag2"]},{"1377026165":["hashtag1","hashtag2"]},{"1377026153":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026170, 1377026158, 1377026146, 1377026161, 1377026165, 1377026153)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.56051015853882 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:08:03.247791 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/51/image_14082025_05_51_28_9114.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_38_10358.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_49_10532.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_58_9126.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_09_10439.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_19_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/51/image_14082025_05_51_28_9114.jpg /media/data/images/14082025/05/51/image_14082025_05_51_38_10358.jpg /media/data/images/14082025/05/51/image_14082025_05_51_49_10532.jpg /media/data/images/14082025/05/51/image_14082025_05_51_58_9126.jpg /media/data/images/14082025/05/52/image_14082025_05_52_09_10439.jpg /media/data/images/14082025/05/52/image_14082025_05_52_19_10349.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5822122097015381 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:08:22.766185 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/51/image_14082025_05_51_28_9114.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_38_10358.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_49_10532.jpg', '/media/data/images/14082025/05/51/image_14082025_05_51_58_9126.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_09_10439.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_19_10349.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/51/image_14082025_05_51_28_9114.jpg /media/data/images/14082025/05/51/image_14082025_05_51_38_10358.jpg /media/data/images/14082025/05/51/image_14082025_05_51_49_10532.jpg /media/data/images/14082025/05/51/image_14082025_05_51_58_9126.jpg /media/data/images/14082025/05/52/image_14082025_05_52_09_10439.jpg /media/data/images/14082025/05/52/image_14082025_05_52_19_10349.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026204","1377026213","1377026215","1377026209","1377026211","1377026198"],"photo_ids_order":["1377026198","1377026204","1377026209","1377026211","1377026213","1377026215"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52ea4a9a26af1e518e7e73d7d27921e6.jpg","text":"TemporaryFile(/tmp/multipartBody8745462877631448230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176963663,"filename":"image_14082025_05_51_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7df31790a25a69b796276eb8627e41f0.jpg","text":"TemporaryFile(/tmp/multipartBody982872082733709847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176963663,"filename":"image_14082025_05_52_09_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36a5b28a92697b5517c245f7d1dfa8e2.jpg","text":"TemporaryFile(/tmp/multipartBody8915213142668257598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176963663,"filename":"image_14082025_05_52_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d1bfc2907216bbcda0021885bc6799f.jpg","text":"TemporaryFile(/tmp/multipartBody349843180836987377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176963663,"filename":"image_14082025_05_51_49_10532.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fcccac9b74904a89a482cbfa62029e8.jpg","text":"TemporaryFile(/tmp/multipartBody5357605164662406645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176963663,"filename":"image_14082025_05_51_58_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed4404021f9bf9f7e319f1db666fb4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6519401883973027616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755176963663,"filename":"image_14082025_05_51_28_9114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026209","file1":"1377026204","file0":"1377026198","file4":"1377026213","file5":"1377026215","file3":"1377026211"},"map_files_photo_id_array":[{"photo_id":"1377026215","filename":"file5"},{"photo_id":"1377026209","filename":"file2"},{"photo_id":"1377026213","filename":"file4"},{"photo_id":"1377026204","filename":"file1"},{"photo_id":"1377026198","filename":"file0"},{"photo_id":"1377026211","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026204":["hashtag1","hashtag2"]},{"1377026213":["hashtag1","hashtag2"]},{"1377026215":["hashtag1","hashtag2"]},{"1377026209":["hashtag1","hashtag2"]},{"1377026211":["hashtag1","hashtag2"]},{"1377026198":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026204, 1377026213, 1377026215, 1377026209, 1377026211, 1377026198)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.59696650505066 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:09:21.887065 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/52/image_14082025_05_52_28_9082.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_38_10276.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_49_10323.jpg', '/media/data/images/14082025/05/52/image_14082025_05_52_59_10237.jpg', '/media/data/images/14082025/05/53/image_14082025_05_53_09_10087.jpg', '/media/data/images/14082025/05/53/image_14082025_05_53_18_9243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/52/image_14082025_05_52_28_9082.jpg /media/data/images/14082025/05/52/image_14082025_05_52_38_10276.jpg /media/data/images/14082025/05/52/image_14082025_05_52_49_10323.jpg /media/data/images/14082025/05/52/image_14082025_05_52_59_10237.jpg /media/data/images/14082025/05/53/image_14082025_05_53_09_10087.jpg /media/data/images/14082025/05/53/image_14082025_05_53_18_9243.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026249","1377026240","1377026243","1377026230","1377026247","1377026235"],"photo_ids_order":["1377026230","1377026235","1377026240","1377026243","1377026247","1377026249"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66fa75be794fad26d6aa08e94b1ac60f.jpg","text":"TemporaryFile(/tmp/multipartBody4581725242461831336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177022952,"filename":"image_14082025_05_53_18_9243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d81735ad05a9b49bb49717f73981b175.jpg","text":"TemporaryFile(/tmp/multipartBody4041420496518222478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177022952,"filename":"image_14082025_05_52_49_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fafb001c3360337ca6f849302d78c59.jpg","text":"TemporaryFile(/tmp/multipartBody8064050938878024877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177022952,"filename":"image_14082025_05_52_59_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ca28307528ef618b2f1c40043fadd37.jpg","text":"TemporaryFile(/tmp/multipartBody2191599520472640801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177022952,"filename":"image_14082025_05_52_28_9082.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf5a8462bc2b5f933267abe1296fa5af.jpg","text":"TemporaryFile(/tmp/multipartBody6927195012390646841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177022952,"filename":"image_14082025_05_53_09_10087.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/999a5fd5758d8cc1ceed0c51ecb3a18c.jpg","text":"TemporaryFile(/tmp/multipartBody1788822574537050289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177022952,"filename":"image_14082025_05_52_38_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026240","file1":"1377026235","file0":"1377026230","file4":"1377026247","file5":"1377026249","file3":"1377026243"},"map_files_photo_id_array":[{"photo_id":"1377026249","filename":"file5"},{"photo_id":"1377026240","filename":"file2"},{"photo_id":"1377026247","filename":"file4"},{"photo_id":"1377026235","filename":"file1"},{"photo_id":"1377026230","filename":"file0"},{"photo_id":"1377026243","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026249":["hashtag1","hashtag2"]},{"1377026240":["hashtag1","hashtag2"]},{"1377026243":["hashtag1","hashtag2"]},{"1377026230":["hashtag1","hashtag2"]},{"1377026247":["hashtag1","hashtag2"]},{"1377026235":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026249, 1377026240, 1377026243, 1377026230, 1377026247, 1377026235)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.52179002761841 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:10:21.988271 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/53/image_14082025_05_53_28_10242.jpg', '/media/data/images/14082025/05/53/image_14082025_05_53_39_10236.jpg', '/media/data/images/14082025/05/53/image_14082025_05_53_49_10250.jpg', '/media/data/images/14082025/05/53/image_14082025_05_53_58_9092.jpg', '/media/data/images/14082025/05/53/image_14082025_05_54_09_10592.jpg', '/media/data/images/14082025/05/54/image_14082025_05_54_18_9290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/53/image_14082025_05_53_28_10242.jpg /media/data/images/14082025/05/53/image_14082025_05_53_39_10236.jpg /media/data/images/14082025/05/53/image_14082025_05_53_49_10250.jpg /media/data/images/14082025/05/53/image_14082025_05_53_58_9092.jpg /media/data/images/14082025/05/53/image_14082025_05_54_09_10592.jpg /media/data/images/14082025/05/54/image_14082025_05_54_18_9290.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026276","1377026272","1377026274","1377026277","1377026262","1377026267"],"photo_ids_order":["1377026262","1377026267","1377026272","1377026274","1377026276","1377026277"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ddd55c2d243a0550967a333eadc52ee.jpg","text":"TemporaryFile(/tmp/multipartBody4455010037007752490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177083092,"filename":"image_14082025_05_54_09_10592.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe138ed6171ef95c00188a7909d25392.jpg","text":"TemporaryFile(/tmp/multipartBody7636345675041157718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177083092,"filename":"image_14082025_05_53_49_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aee1158af1bebe11bcf2abf4032f1919.jpg","text":"TemporaryFile(/tmp/multipartBody8096143780678998863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177083092,"filename":"image_14082025_05_53_58_9092.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15ba80ad20eb9d8e606766bff5bcbd19.jpg","text":"TemporaryFile(/tmp/multipartBody2583581119216949163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177083092,"filename":"image_14082025_05_54_18_9290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca4bc125718a03f172597adb69fb6022.jpg","text":"TemporaryFile(/tmp/multipartBody2567276116225895410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177083092,"filename":"image_14082025_05_53_28_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f0c3f862fb6d2829d2a75e9014bfcc1e.jpg","text":"TemporaryFile(/tmp/multipartBody930027925299689162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177083092,"filename":"image_14082025_05_53_39_10236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026272","file1":"1377026267","file0":"1377026262","file4":"1377026276","file5":"1377026277","file3":"1377026274"},"map_files_photo_id_array":[{"photo_id":"1377026277","filename":"file5"},{"photo_id":"1377026272","filename":"file2"},{"photo_id":"1377026276","filename":"file4"},{"photo_id":"1377026267","filename":"file1"},{"photo_id":"1377026262","filename":"file0"},{"photo_id":"1377026274","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026276":["hashtag1","hashtag2"]},{"1377026272":["hashtag1","hashtag2"]},{"1377026274":["hashtag1","hashtag2"]},{"1377026277":["hashtag1","hashtag2"]},{"1377026262":["hashtag1","hashtag2"]},{"1377026267":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026276, 1377026272, 1377026274, 1377026277, 1377026262, 1377026267)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.90013790130615 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:11:22.091719 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/54/image_14082025_05_54_28_10232.jpg', '/media/data/images/14082025/05/54/image_14082025_05_54_38_10348.jpg', '/media/data/images/14082025/05/55/image_14082025_05_55_08_8898.jpg', '/media/data/images/14082025/05/55/image_14082025_05_55_18_10250.jpg', '/media/data/images/14082025/05/55/image_14082025_05_55_28_10227.jpg', '/media/data/images/14082025/05/55/image_14082025_05_55_39_10239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/54/image_14082025_05_54_28_10232.jpg /media/data/images/14082025/05/54/image_14082025_05_54_38_10348.jpg /media/data/images/14082025/05/55/image_14082025_05_55_08_8898.jpg /media/data/images/14082025/05/55/image_14082025_05_55_18_10250.jpg /media/data/images/14082025/05/55/image_14082025_05_55_28_10227.jpg /media/data/images/14082025/05/55/image_14082025_05_55_39_10239.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026309","1377026303","1377026298","1377026305","1377026307","1377026301"],"photo_ids_order":["1377026298","1377026301","1377026303","1377026305","1377026307","1377026309"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a817e52515384bb7d8d92fcc16cde8cf.jpg","text":"TemporaryFile(/tmp/multipartBody3967016975388067976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177143126,"filename":"image_14082025_05_55_39_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f8ac5acbf3f0860fcf9a537b99e66f3.jpg","text":"TemporaryFile(/tmp/multipartBody3786584706015473840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177143126,"filename":"image_14082025_05_55_08_8898.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bcc4da0990b452e606c5ad7606c03c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2406992319452990719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177143126,"filename":"image_14082025_05_54_28_10232.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/209f706727941a26321907681c02702a.jpg","text":"TemporaryFile(/tmp/multipartBody8285167736202627666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177143126,"filename":"image_14082025_05_55_18_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8864dddd026ccb3b9afa3381c1f8b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4998680140529197406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177143126,"filename":"image_14082025_05_55_28_10227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e628dd25881ea7c6d1834ddf9a2ee83f.jpg","text":"TemporaryFile(/tmp/multipartBody8936787376020555480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177143126,"filename":"image_14082025_05_54_38_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026303","file1":"1377026301","file0":"1377026298","file4":"1377026307","file5":"1377026309","file3":"1377026305"},"map_files_photo_id_array":[{"photo_id":"1377026309","filename":"file5"},{"photo_id":"1377026303","filename":"file2"},{"photo_id":"1377026307","filename":"file4"},{"photo_id":"1377026301","filename":"file1"},{"photo_id":"1377026298","filename":"file0"},{"photo_id":"1377026305","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026309":["hashtag1","hashtag2"]},{"1377026303":["hashtag1","hashtag2"]},{"1377026298":["hashtag1","hashtag2"]},{"1377026305":["hashtag1","hashtag2"]},{"1377026307":["hashtag1","hashtag2"]},{"1377026301":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026309, 1377026303, 1377026298, 1377026305, 1377026307, 1377026301)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.60701131820679 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:12:22.188413 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/55/image_14082025_05_55_49_10221.jpg', '/media/data/images/14082025/05/55/image_14082025_05_55_59_10233.jpg', '/media/data/images/14082025/05/56/image_14082025_05_56_08_8965.jpg', '/media/data/images/14082025/05/56/image_14082025_05_56_18_10389.jpg', '/media/data/images/14082025/05/56/image_14082025_05_56_29_10389.jpg', '/media/data/images/14082025/05/56/image_14082025_05_56_38_9102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/55/image_14082025_05_55_49_10221.jpg /media/data/images/14082025/05/55/image_14082025_05_55_59_10233.jpg /media/data/images/14082025/05/56/image_14082025_05_56_08_8965.jpg /media/data/images/14082025/05/56/image_14082025_05_56_18_10389.jpg /media/data/images/14082025/05/56/image_14082025_05_56_29_10389.jpg /media/data/images/14082025/05/56/image_14082025_05_56_38_9102.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026368","1377026356","1377026365","1377026367","1377026361","1377026363"],"photo_ids_order":["1377026356","1377026361","1377026363","1377026365","1377026367","1377026368"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc8fe02193f6d88acb1141e15fde1523.jpg","text":"TemporaryFile(/tmp/multipartBody1769465005917133212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177203214,"filename":"image_14082025_05_56_38_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bbb2f0977841458807b3b637e192eae6.jpg","text":"TemporaryFile(/tmp/multipartBody8575862393397404516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177203214,"filename":"image_14082025_05_55_49_10221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23e9a60814a47fc0acb2e5a206d69a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4943305695816585518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177203214,"filename":"image_14082025_05_56_18_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d6124eb08f2103182383873488efc90.jpg","text":"TemporaryFile(/tmp/multipartBody4518668096842874257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177203214,"filename":"image_14082025_05_56_29_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1c97880ac6c0c3e68fdf83e393e1029.jpg","text":"TemporaryFile(/tmp/multipartBody3504595603494751287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177203214,"filename":"image_14082025_05_55_59_10233.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e76234a5243e87c8f04275d439600636.jpg","text":"TemporaryFile(/tmp/multipartBody8898545310768641961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177203214,"filename":"image_14082025_05_56_08_8965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026363","file1":"1377026361","file0":"1377026356","file4":"1377026367","file5":"1377026368","file3":"1377026365"},"map_files_photo_id_array":[{"photo_id":"1377026368","filename":"file5"},{"photo_id":"1377026363","filename":"file2"},{"photo_id":"1377026367","filename":"file4"},{"photo_id":"1377026361","filename":"file1"},{"photo_id":"1377026356","filename":"file0"},{"photo_id":"1377026365","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026368":["hashtag1","hashtag2"]},{"1377026356":["hashtag1","hashtag2"]},{"1377026365":["hashtag1","hashtag2"]},{"1377026367":["hashtag1","hashtag2"]},{"1377026361":["hashtag1","hashtag2"]},{"1377026363":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026368, 1377026356, 1377026365, 1377026367, 1377026361, 1377026363)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.948734998703 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:13:22.368901 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/56/image_14082025_05_56_48_10545.jpg', '/media/data/images/14082025/05/56/image_14082025_05_56_59_10337.jpg', '/media/data/images/14082025/05/57/image_14082025_05_57_08_9080.jpg', '/media/data/images/14082025/05/57/image_14082025_05_57_18_10344.jpg', '/media/data/images/14082025/05/57/image_14082025_05_57_28_10327.jpg', '/media/data/images/14082025/05/57/image_14082025_05_57_39_10328.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/56/image_14082025_05_56_48_10545.jpg /media/data/images/14082025/05/56/image_14082025_05_56_59_10337.jpg /media/data/images/14082025/05/57/image_14082025_05_57_08_9080.jpg /media/data/images/14082025/05/57/image_14082025_05_57_18_10344.jpg /media/data/images/14082025/05/57/image_14082025_05_57_28_10327.jpg /media/data/images/14082025/05/57/image_14082025_05_57_39_10328.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026386","1377026377","1377026388","1377026396","1377026381","1377026393"],"photo_ids_order":["1377026377","1377026381","1377026386","1377026388","1377026393","1377026396"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6358dc86d9ffe9a78b61870592a05951.jpg","text":"TemporaryFile(/tmp/multipartBody4777060560082976418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177263341,"filename":"image_14082025_05_57_08_9080.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fef3a537c138a4d294aa03189a5f519.jpg","text":"TemporaryFile(/tmp/multipartBody6681035810297262127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177263341,"filename":"image_14082025_05_56_48_10545.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed908c73507a9e9d5bc64d293ffe9d6a.jpg","text":"TemporaryFile(/tmp/multipartBody226839655834061509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177263341,"filename":"image_14082025_05_57_18_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/42e765688efb81a358480df5a68f4245.jpg","text":"TemporaryFile(/tmp/multipartBody671436653146987875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177263341,"filename":"image_14082025_05_57_39_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a395b98a7b7029b360b46d8371de266d.jpg","text":"TemporaryFile(/tmp/multipartBody7078637316421964045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177263341,"filename":"image_14082025_05_56_59_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05fcdf4ac03d495a9ef4a4a4d63ef1b0.jpg","text":"TemporaryFile(/tmp/multipartBody3973846695726963515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177263341,"filename":"image_14082025_05_57_28_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026386","file1":"1377026381","file0":"1377026377","file4":"1377026393","file5":"1377026396","file3":"1377026388"},"map_files_photo_id_array":[{"photo_id":"1377026396","filename":"file5"},{"photo_id":"1377026386","filename":"file2"},{"photo_id":"1377026393","filename":"file4"},{"photo_id":"1377026381","filename":"file1"},{"photo_id":"1377026377","filename":"file0"},{"photo_id":"1377026388","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026386":["hashtag1","hashtag2"]},{"1377026377":["hashtag1","hashtag2"]},{"1377026388":["hashtag1","hashtag2"]},{"1377026396":["hashtag1","hashtag2"]},{"1377026381":["hashtag1","hashtag2"]},{"1377026393":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026386, 1377026377, 1377026388, 1377026396, 1377026381, 1377026393)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.97173547744751 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:14:22.506712 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/57/image_14082025_05_57_48_9142.jpg', '/media/data/images/14082025/05/57/image_14082025_05_57_58_10454.jpg', '/media/data/images/14082025/05/58/image_14082025_05_58_09_10466.jpg', '/media/data/images/14082025/05/58/image_14082025_05_58_18_9106.jpg', '/media/data/images/14082025/05/58/image_14082025_05_58_28_10377.jpg', '/media/data/images/14082025/05/58/image_14082025_05_58_39_10332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/57/image_14082025_05_57_48_9142.jpg /media/data/images/14082025/05/57/image_14082025_05_57_58_10454.jpg /media/data/images/14082025/05/58/image_14082025_05_58_09_10466.jpg /media/data/images/14082025/05/58/image_14082025_05_58_18_9106.jpg /media/data/images/14082025/05/58/image_14082025_05_58_28_10377.jpg /media/data/images/14082025/05/58/image_14082025_05_58_39_10332.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026429","1377026425","1377026419","1377026413","1377026422","1377026433"],"photo_ids_order":["1377026413","1377026419","1377026422","1377026425","1377026429","1377026433"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ce1b9a7039cf94e152ebb98a9bcf78b.jpg","text":"TemporaryFile(/tmp/multipartBody4227956126542721611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177323479,"filename":"image_14082025_05_58_28_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/358c0186c9aef6115f7f32f386ba9eed.jpg","text":"TemporaryFile(/tmp/multipartBody1111614400039184193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177323479,"filename":"image_14082025_05_58_18_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a666e48a96e58da25a67f85e798b5a5.jpg","text":"TemporaryFile(/tmp/multipartBody2786878506482114766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177323479,"filename":"image_14082025_05_57_58_10454.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d41a78976ef08e30b184752392c0580b.jpg","text":"TemporaryFile(/tmp/multipartBody7295104321385720574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177323479,"filename":"image_14082025_05_57_48_9142.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/882d9f2bef35f845fd2b335c84934948.jpg","text":"TemporaryFile(/tmp/multipartBody5149560595643566854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177323479,"filename":"image_14082025_05_58_09_10466.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2f35b45c70caa2169cbc6437bd2a67b.jpg","text":"TemporaryFile(/tmp/multipartBody5406194726899504403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177323479,"filename":"image_14082025_05_58_39_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026422","file1":"1377026419","file0":"1377026413","file4":"1377026429","file5":"1377026433","file3":"1377026425"},"map_files_photo_id_array":[{"photo_id":"1377026433","filename":"file5"},{"photo_id":"1377026422","filename":"file2"},{"photo_id":"1377026429","filename":"file4"},{"photo_id":"1377026419","filename":"file1"},{"photo_id":"1377026413","filename":"file0"},{"photo_id":"1377026425","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026429":["hashtag1","hashtag2"]},{"1377026425":["hashtag1","hashtag2"]},{"1377026419":["hashtag1","hashtag2"]},{"1377026413":["hashtag1","hashtag2"]},{"1377026422":["hashtag1","hashtag2"]},{"1377026433":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026429, 1377026425, 1377026419, 1377026413, 1377026422, 1377026433)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.25999689102173 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:15:22.621336 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/58/image_14082025_05_58_48_9159.jpg', '/media/data/images/14082025/05/58/image_14082025_05_58_58_10344.jpg', '/media/data/images/14082025/05/59/image_14082025_05_59_08_10211.jpg', '/media/data/images/14082025/05/59/image_14082025_05_59_19_10413.jpg', '/media/data/images/14082025/05/59/image_14082025_05_59_28_9105.jpg', '/media/data/images/14082025/05/59/image_14082025_05_59_38_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/58/image_14082025_05_58_48_9159.jpg /media/data/images/14082025/05/58/image_14082025_05_58_58_10344.jpg /media/data/images/14082025/05/59/image_14082025_05_59_08_10211.jpg /media/data/images/14082025/05/59/image_14082025_05_59_19_10413.jpg /media/data/images/14082025/05/59/image_14082025_05_59_28_9105.jpg /media/data/images/14082025/05/59/image_14082025_05_59_38_10336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026461","1377026446","1377026460","1377026454","1377026457","1377026450"],"photo_ids_order":["1377026446","1377026450","1377026454","1377026457","1377026460","1377026461"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b67b709e5fc56caeb886bb669dda8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6337107216965839242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177383600,"filename":"image_14082025_05_59_38_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2469c278e369c92e0d0c53c702747a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8255072694276298088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177383600,"filename":"image_14082025_05_58_48_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8bfa51559607f80b828b28c62f26babe.jpg","text":"TemporaryFile(/tmp/multipartBody4721132311268875628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177383600,"filename":"image_14082025_05_59_28_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e12aeb787c204a3979c65c0bca42009d.jpg","text":"TemporaryFile(/tmp/multipartBody4699701390643695055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177383600,"filename":"image_14082025_05_59_08_10211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d7ffed17b2495ba545f7b4ad03bf276.jpg","text":"TemporaryFile(/tmp/multipartBody5234925753750582645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177383600,"filename":"image_14082025_05_59_19_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7580713d3c19e56cf0c94cb87f495a83.jpg","text":"TemporaryFile(/tmp/multipartBody8255142580727604894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177383600,"filename":"image_14082025_05_58_58_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026454","file1":"1377026450","file0":"1377026446","file4":"1377026460","file5":"1377026461","file3":"1377026457"},"map_files_photo_id_array":[{"photo_id":"1377026461","filename":"file5"},{"photo_id":"1377026454","filename":"file2"},{"photo_id":"1377026460","filename":"file4"},{"photo_id":"1377026450","filename":"file1"},{"photo_id":"1377026446","filename":"file0"},{"photo_id":"1377026457","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026461":["hashtag1","hashtag2"]},{"1377026446":["hashtag1","hashtag2"]},{"1377026460":["hashtag1","hashtag2"]},{"1377026454":["hashtag1","hashtag2"]},{"1377026457":["hashtag1","hashtag2"]},{"1377026450":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026461, 1377026446, 1377026460, 1377026454, 1377026457, 1377026450)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.56570601463318 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:16:22.829162 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/05/59/image_14082025_05_59_49_10399.jpg', '/media/data/images/14082025/05/59/image_14082025_05_59_59_10332.jpg', '/media/data/images/14082025/06/00/image_14082025_06_00_08_9320.jpg', '/media/data/images/14082025/06/00/image_14082025_06_00_19_10395.jpg', '/media/data/images/14082025/06/00/image_14082025_06_00_28_9214.jpg', '/media/data/images/14082025/06/00/image_14082025_06_00_38_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/05/59/image_14082025_05_59_49_10399.jpg /media/data/images/14082025/05/59/image_14082025_05_59_59_10332.jpg /media/data/images/14082025/06/00/image_14082025_06_00_08_9320.jpg /media/data/images/14082025/06/00/image_14082025_06_00_19_10395.jpg /media/data/images/14082025/06/00/image_14082025_06_00_28_9214.jpg /media/data/images/14082025/06/00/image_14082025_06_00_38_10345.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026513","1377026516","1377026510","1377026506","1377026515","1377026502"],"photo_ids_order":["1377026502","1377026506","1377026510","1377026513","1377026515","1377026516"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f0835148947a87bb7b402c31791e4157.jpg","text":"TemporaryFile(/tmp/multipartBody7887863697553395420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177443791,"filename":"image_14082025_06_00_19_10395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22e3e982e8c942e2e63576d2d925d465.jpg","text":"TemporaryFile(/tmp/multipartBody5810053582786442577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177443791,"filename":"image_14082025_06_00_38_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c76e49e8acc3b9d0f5cb344ca71ce6e.jpg","text":"TemporaryFile(/tmp/multipartBody718469489158888668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177443791,"filename":"image_14082025_06_00_08_9320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f3a9521986ae24b7fdae982e055a75cc.jpg","text":"TemporaryFile(/tmp/multipartBody3066271422102453793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177443791,"filename":"image_14082025_05_59_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e53aad4eb4d57d42d592cb7250ecd34.jpg","text":"TemporaryFile(/tmp/multipartBody6315182097900048129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177443791,"filename":"image_14082025_06_00_28_9214.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fda3bb7ca4d2cb38abcb40a12924f414.jpg","text":"TemporaryFile(/tmp/multipartBody8901845752099802955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177443791,"filename":"image_14082025_05_59_49_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026510","file1":"1377026506","file0":"1377026502","file4":"1377026515","file5":"1377026516","file3":"1377026513"},"map_files_photo_id_array":[{"photo_id":"1377026516","filename":"file5"},{"photo_id":"1377026510","filename":"file2"},{"photo_id":"1377026515","filename":"file4"},{"photo_id":"1377026506","filename":"file1"},{"photo_id":"1377026502","filename":"file0"},{"photo_id":"1377026513","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026513":["hashtag1","hashtag2"]},{"1377026516":["hashtag1","hashtag2"]},{"1377026510":["hashtag1","hashtag2"]},{"1377026506":["hashtag1","hashtag2"]},{"1377026515":["hashtag1","hashtag2"]},{"1377026502":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026513, 1377026516, 1377026510, 1377026506, 1377026515, 1377026502)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.193302631378174 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:17:21.824914 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/00/image_14082025_06_00_49_10315.jpg', '/media/data/images/14082025/06/00/image_14082025_06_00_59_10238.jpg', '/media/data/images/14082025/06/01/image_14082025_06_01_08_9260.jpg', '/media/data/images/14082025/06/01/image_14082025_06_01_18_10398.jpg', '/media/data/images/14082025/06/01/image_14082025_06_01_29_10246.jpg', '/media/data/images/14082025/06/01/image_14082025_06_01_39_10258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/00/image_14082025_06_00_49_10315.jpg /media/data/images/14082025/06/00/image_14082025_06_00_59_10238.jpg /media/data/images/14082025/06/01/image_14082025_06_01_08_9260.jpg /media/data/images/14082025/06/01/image_14082025_06_01_18_10398.jpg /media/data/images/14082025/06/01/image_14082025_06_01_29_10246.jpg /media/data/images/14082025/06/01/image_14082025_06_01_39_10258.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026549","1377026534","1377026548","1377026545","1377026541","1377026529"],"photo_ids_order":["1377026529","1377026534","1377026541","1377026545","1377026548","1377026549"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a506aabb103e4d3f1427dc8f29ce0b27.jpg","text":"TemporaryFile(/tmp/multipartBody5634503414700461334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177502857,"filename":"image_14082025_06_01_39_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45670f8aa5abce97148ef0d1e8aa555e.jpg","text":"TemporaryFile(/tmp/multipartBody7516408070619546293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177502857,"filename":"image_14082025_06_00_59_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25fa7c7490ae04d9f059809b2fbe70c4.jpg","text":"TemporaryFile(/tmp/multipartBody5128392950429786476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177502857,"filename":"image_14082025_06_01_29_10246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e41d669edbf9955486cb7778d4d76fc.jpg","text":"TemporaryFile(/tmp/multipartBody4501310832231596748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177502857,"filename":"image_14082025_06_01_18_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a969edbbd360974571560b84ebd0f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4463221606536365136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177502857,"filename":"image_14082025_06_01_08_9260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de44c6a59ebb7fd5b1da8b3d7cecf8e1.jpg","text":"TemporaryFile(/tmp/multipartBody6740931323948832172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177502857,"filename":"image_14082025_06_00_49_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026541","file1":"1377026534","file0":"1377026529","file4":"1377026548","file5":"1377026549","file3":"1377026545"},"map_files_photo_id_array":[{"photo_id":"1377026549","filename":"file5"},{"photo_id":"1377026541","filename":"file2"},{"photo_id":"1377026548","filename":"file4"},{"photo_id":"1377026534","filename":"file1"},{"photo_id":"1377026529","filename":"file0"},{"photo_id":"1377026545","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026549":["hashtag1","hashtag2"]},{"1377026534":["hashtag1","hashtag2"]},{"1377026548":["hashtag1","hashtag2"]},{"1377026545":["hashtag1","hashtag2"]},{"1377026541":["hashtag1","hashtag2"]},{"1377026529":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026549, 1377026534, 1377026548, 1377026545, 1377026541, 1377026529)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.86544895172119 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:18:21.954006 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/01/image_14082025_06_01_48_9064.jpg', '/media/data/images/14082025/06/01/image_14082025_06_01_58_10377.jpg', '/media/data/images/14082025/06/02/image_14082025_06_02_09_10285.jpg', '/media/data/images/14082025/06/02/image_14082025_06_02_18_9093.jpg', '/media/data/images/14082025/06/02/image_14082025_06_02_28_10433.jpg', '/media/data/images/14082025/06/02/image_14082025_06_02_39_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/01/image_14082025_06_01_48_9064.jpg /media/data/images/14082025/06/01/image_14082025_06_01_58_10377.jpg /media/data/images/14082025/06/02/image_14082025_06_02_09_10285.jpg /media/data/images/14082025/06/02/image_14082025_06_02_18_9093.jpg /media/data/images/14082025/06/02/image_14082025_06_02_28_10433.jpg /media/data/images/14082025/06/02/image_14082025_06_02_39_10363.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026572","1377026566","1377026578","1377026568","1377026576","1377026570"],"photo_ids_order":["1377026566","1377026568","1377026570","1377026572","1377026576","1377026578"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1bb261877d4813382f0efd69345b0436.jpg","text":"TemporaryFile(/tmp/multipartBody9021971998566574303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177562947,"filename":"image_14082025_06_02_18_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e1e9892bc1f80d81fe4b5dba00884656.jpg","text":"TemporaryFile(/tmp/multipartBody277198452931100416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177562947,"filename":"image_14082025_06_01_48_9064.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f83d8c880a06f4a4036faa4c575ac5f.jpg","text":"TemporaryFile(/tmp/multipartBody3118203104801969675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177562947,"filename":"image_14082025_06_02_39_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e26d648404d7884c13e51897d9c9b69.jpg","text":"TemporaryFile(/tmp/multipartBody6024969981039368347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177562947,"filename":"image_14082025_06_01_58_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/892a61864e5a11a261fc760ec4bec601.jpg","text":"TemporaryFile(/tmp/multipartBody8129226401091715092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177562947,"filename":"image_14082025_06_02_28_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9727ef1f5de77427d45dff0f06b25b3.jpg","text":"TemporaryFile(/tmp/multipartBody5289448026453189992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177562947,"filename":"image_14082025_06_02_09_10285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026570","file1":"1377026568","file0":"1377026566","file4":"1377026576","file5":"1377026578","file3":"1377026572"},"map_files_photo_id_array":[{"photo_id":"1377026578","filename":"file5"},{"photo_id":"1377026570","filename":"file2"},{"photo_id":"1377026576","filename":"file4"},{"photo_id":"1377026568","filename":"file1"},{"photo_id":"1377026566","filename":"file0"},{"photo_id":"1377026572","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026572":["hashtag1","hashtag2"]},{"1377026566":["hashtag1","hashtag2"]},{"1377026578":["hashtag1","hashtag2"]},{"1377026568":["hashtag1","hashtag2"]},{"1377026576":["hashtag1","hashtag2"]},{"1377026570":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026572, 1377026566, 1377026578, 1377026568, 1377026576, 1377026570)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.01086378097534 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:19:22.087354 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/02/image_14082025_06_02_49_10302.jpg', '/media/data/images/14082025/06/02/image_14082025_06_02_58_9141.jpg', '/media/data/images/14082025/06/02/image_14082025_06_03_09_10527.jpg', '/media/data/images/14082025/06/03/image_14082025_06_03_19_10427.jpg', '/media/data/images/14082025/06/03/image_14082025_06_03_28_9058.jpg', '/media/data/images/14082025/06/03/image_14082025_06_03_38_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/02/image_14082025_06_02_49_10302.jpg /media/data/images/14082025/06/02/image_14082025_06_02_58_9141.jpg /media/data/images/14082025/06/02/image_14082025_06_03_09_10527.jpg /media/data/images/14082025/06/03/image_14082025_06_03_19_10427.jpg /media/data/images/14082025/06/03/image_14082025_06_03_28_9058.jpg /media/data/images/14082025/06/03/image_14082025_06_03_38_10362.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026599","1377026595","1377026592","1377026589","1377026601","1377026597"],"photo_ids_order":["1377026589","1377026592","1377026595","1377026597","1377026599","1377026601"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43b5de7a31c08db51833500cfd82fcd7.jpg","text":"TemporaryFile(/tmp/multipartBody7200748778124624167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177623111,"filename":"image_14082025_06_03_28_9058.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/565d810661f9bd35d09ae58e519607ff.jpg","text":"TemporaryFile(/tmp/multipartBody8008272439976832794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177623111,"filename":"image_14082025_06_03_09_10527.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e285b0ea97899488db29afbc7aca002.jpg","text":"TemporaryFile(/tmp/multipartBody7521865043154319416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177623111,"filename":"image_14082025_06_02_58_9141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1174304f220c008fd542604a736de78e.jpg","text":"TemporaryFile(/tmp/multipartBody8289533430380138320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177623111,"filename":"image_14082025_06_02_49_10302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2edfaf2bac36591a63781b9fc8c978ce.jpg","text":"TemporaryFile(/tmp/multipartBody955909009429884851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177623111,"filename":"image_14082025_06_03_38_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e7998cf877a78c7e81c7c241bd52bed.jpg","text":"TemporaryFile(/tmp/multipartBody5085995443920315937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177623111,"filename":"image_14082025_06_03_19_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026595","file1":"1377026592","file0":"1377026589","file4":"1377026599","file5":"1377026601","file3":"1377026597"},"map_files_photo_id_array":[{"photo_id":"1377026601","filename":"file5"},{"photo_id":"1377026595","filename":"file2"},{"photo_id":"1377026599","filename":"file4"},{"photo_id":"1377026592","filename":"file1"},{"photo_id":"1377026589","filename":"file0"},{"photo_id":"1377026597","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026599":["hashtag1","hashtag2"]},{"1377026595":["hashtag1","hashtag2"]},{"1377026592":["hashtag1","hashtag2"]},{"1377026589":["hashtag1","hashtag2"]},{"1377026601":["hashtag1","hashtag2"]},{"1377026597":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026599, 1377026595, 1377026592, 1377026589, 1377026601, 1377026597)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.08365488052368 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:20:22.190826 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/03/image_14082025_06_03_49_10298.jpg', '/media/data/images/14082025/06/03/image_14082025_06_03_59_10282.jpg', '/media/data/images/14082025/06/04/image_14082025_06_04_09_9571.jpg', '/media/data/images/14082025/06/04/image_14082025_06_04_19_10312.jpg', '/media/data/images/14082025/06/04/image_14082025_06_04_28_9099.jpg', '/media/data/images/14082025/06/04/image_14082025_06_04_38_10238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/03/image_14082025_06_03_49_10298.jpg /media/data/images/14082025/06/03/image_14082025_06_03_59_10282.jpg /media/data/images/14082025/06/04/image_14082025_06_04_09_9571.jpg /media/data/images/14082025/06/04/image_14082025_06_04_19_10312.jpg /media/data/images/14082025/06/04/image_14082025_06_04_28_9099.jpg /media/data/images/14082025/06/04/image_14082025_06_04_38_10238.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026609","1377026617","1377026613","1377026622","1377026625","1377026604"],"photo_ids_order":["1377026604","1377026609","1377026613","1377026617","1377026622","1377026625"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/103de045f45760e5c0980715a44af0e0.jpg","text":"TemporaryFile(/tmp/multipartBody4636994212358094832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177683250,"filename":"image_14082025_06_03_59_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81b9231c320971697966f884d0202bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8098838660747020528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177683250,"filename":"image_14082025_06_04_19_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a012bb8641a87f961943c65514e9515a.jpg","text":"TemporaryFile(/tmp/multipartBody503597581052985460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177683250,"filename":"image_14082025_06_04_09_9571.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/881178e4407394cef065fade0eedf6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7532600531361808586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177683250,"filename":"image_14082025_06_04_28_9099.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b1ef2dcc43c19034699f86001313db3.jpg","text":"TemporaryFile(/tmp/multipartBody5156611825523906675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177683250,"filename":"image_14082025_06_04_38_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66de05d25b8dd4bb88140a3af3dbaf19.jpg","text":"TemporaryFile(/tmp/multipartBody275648705207043861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177683250,"filename":"image_14082025_06_03_49_10298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026613","file1":"1377026609","file0":"1377026604","file4":"1377026622","file5":"1377026625","file3":"1377026617"},"map_files_photo_id_array":[{"photo_id":"1377026625","filename":"file5"},{"photo_id":"1377026613","filename":"file2"},{"photo_id":"1377026622","filename":"file4"},{"photo_id":"1377026609","filename":"file1"},{"photo_id":"1377026604","filename":"file0"},{"photo_id":"1377026617","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026609":["hashtag1","hashtag2"]},{"1377026617":["hashtag1","hashtag2"]},{"1377026613":["hashtag1","hashtag2"]},{"1377026622":["hashtag1","hashtag2"]},{"1377026625":["hashtag1","hashtag2"]},{"1377026604":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026609, 1377026617, 1377026613, 1377026622, 1377026625, 1377026604)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.63116264343262 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:21:22.315626 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/04/image_14082025_06_04_48_10249.jpg', '/media/data/images/14082025/06/04/image_14082025_06_04_59_10348.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_08_9079.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_18_10239.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_28_10293.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_58_10318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/04/image_14082025_06_04_48_10249.jpg /media/data/images/14082025/06/04/image_14082025_06_04_59_10348.jpg /media/data/images/14082025/06/05/image_14082025_06_05_08_9079.jpg /media/data/images/14082025/06/05/image_14082025_06_05_18_10239.jpg /media/data/images/14082025/06/05/image_14082025_06_05_28_10293.jpg /media/data/images/14082025/06/05/image_14082025_06_05_58_10318.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5682370662689209 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:21:42.449641 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/04/image_14082025_06_04_48_10249.jpg', '/media/data/images/14082025/06/04/image_14082025_06_04_59_10348.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_08_9079.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_18_10239.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_28_10293.jpg', '/media/data/images/14082025/06/05/image_14082025_06_05_58_10318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/04/image_14082025_06_04_48_10249.jpg /media/data/images/14082025/06/04/image_14082025_06_04_59_10348.jpg /media/data/images/14082025/06/05/image_14082025_06_05_08_9079.jpg /media/data/images/14082025/06/05/image_14082025_06_05_18_10239.jpg /media/data/images/14082025/06/05/image_14082025_06_05_28_10293.jpg /media/data/images/14082025/06/05/image_14082025_06_05_58_10318.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026705","1377026708","1377026695","1377026704","1377026700","1377026703"],"photo_ids_order":["1377026695","1377026700","1377026703","1377026704","1377026705","1377026708"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12973befc02b1ca0f99bf0518e57a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody3169855955031705110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177763423,"filename":"image_14082025_06_05_28_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/726f4a8729763b2ea1b84b235c363882.jpg","text":"TemporaryFile(/tmp/multipartBody7290718029066099816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177763423,"filename":"image_14082025_06_05_58_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46d5ed99f0b060df74099d87724c2bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6173686500015654875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177763423,"filename":"image_14082025_06_04_48_10249.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b029770cf53f3249e4f58072ba0b0c08.jpg","text":"TemporaryFile(/tmp/multipartBody1851596347303201943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177763423,"filename":"image_14082025_06_05_18_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea732aad3f8d3f0507bb68166088d7ea.jpg","text":"TemporaryFile(/tmp/multipartBody1023994070684938481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177763423,"filename":"image_14082025_06_04_59_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f073a7ee38ecbef6fcc3a0e2fab14ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5709484049408022324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177763423,"filename":"image_14082025_06_05_08_9079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026703","file1":"1377026700","file0":"1377026695","file4":"1377026705","file5":"1377026708","file3":"1377026704"},"map_files_photo_id_array":[{"photo_id":"1377026708","filename":"file5"},{"photo_id":"1377026703","filename":"file2"},{"photo_id":"1377026705","filename":"file4"},{"photo_id":"1377026700","filename":"file1"},{"photo_id":"1377026695","filename":"file0"},{"photo_id":"1377026704","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026705":["hashtag1","hashtag2"]},{"1377026708":["hashtag1","hashtag2"]},{"1377026695":["hashtag1","hashtag2"]},{"1377026704":["hashtag1","hashtag2"]},{"1377026700":["hashtag1","hashtag2"]},{"1377026703":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026705, 1377026708, 1377026695, 1377026704, 1377026700, 1377026703)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.921027421951294 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:22:42.729808 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/06/image_14082025_06_06_08_10213.jpg', '/media/data/images/14082025/06/06/image_14082025_06_06_19_10343.jpg', '/media/data/images/14082025/06/06/image_14082025_06_06_29_10239.jpg', '/media/data/images/14082025/06/06/image_14082025_06_06_38_9027.jpg', '/media/data/images/14082025/06/06/image_14082025_06_06_48_10371.jpg', '/media/data/images/14082025/06/06/image_14082025_06_06_59_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/06/image_14082025_06_06_08_10213.jpg /media/data/images/14082025/06/06/image_14082025_06_06_19_10343.jpg /media/data/images/14082025/06/06/image_14082025_06_06_29_10239.jpg /media/data/images/14082025/06/06/image_14082025_06_06_38_9027.jpg /media/data/images/14082025/06/06/image_14082025_06_06_48_10371.jpg /media/data/images/14082025/06/06/image_14082025_06_06_59_10351.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026732","1377026734","1377026730","1377026727","1377026736","1377026741"],"photo_ids_order":["1377026727","1377026730","1377026732","1377026734","1377026736","1377026741"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f95b238191a6a739a3544944be56973.jpg","text":"TemporaryFile(/tmp/multipartBody3817135798681792937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177823749,"filename":"image_14082025_06_06_29_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b16bab8a2c8374511d48a425dfa84f3.jpg","text":"TemporaryFile(/tmp/multipartBody8489101170084724941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177823749,"filename":"image_14082025_06_06_38_9027.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/423e5ad9846d75df21648964b88b8259.jpg","text":"TemporaryFile(/tmp/multipartBody589128134633656373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177823749,"filename":"image_14082025_06_06_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58c85f5745cfe0ec639f600181bcd195.jpg","text":"TemporaryFile(/tmp/multipartBody758378978118644344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177823749,"filename":"image_14082025_06_06_08_10213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c781857d26bba59a2982261955a02eb.jpg","text":"TemporaryFile(/tmp/multipartBody2975052247366089782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177823749,"filename":"image_14082025_06_06_48_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d90032bed774e58b7119145fc53e744b.jpg","text":"TemporaryFile(/tmp/multipartBody6739710752057283946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177823749,"filename":"image_14082025_06_06_59_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026732","file1":"1377026730","file0":"1377026727","file4":"1377026736","file5":"1377026741","file3":"1377026734"},"map_files_photo_id_array":[{"photo_id":"1377026741","filename":"file5"},{"photo_id":"1377026732","filename":"file2"},{"photo_id":"1377026736","filename":"file4"},{"photo_id":"1377026730","filename":"file1"},{"photo_id":"1377026727","filename":"file0"},{"photo_id":"1377026734","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026732":["hashtag1","hashtag2"]},{"1377026734":["hashtag1","hashtag2"]},{"1377026730":["hashtag1","hashtag2"]},{"1377026727":["hashtag1","hashtag2"]},{"1377026736":["hashtag1","hashtag2"]},{"1377026741":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026732, 1377026734, 1377026730, 1377026727, 1377026736, 1377026741)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.094393730163574 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:23:42.737338 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/07/image_14082025_06_07_08_9245.jpg', '/media/data/images/14082025/06/07/image_14082025_06_07_18_10334.jpg', '/media/data/images/14082025/06/07/image_14082025_06_07_29_10338.jpg', '/media/data/images/14082025/06/07/image_14082025_06_07_39_10337.jpg', '/media/data/images/14082025/06/07/image_14082025_06_07_48_9094.jpg', '/media/data/images/14082025/06/07/image_14082025_06_07_59_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/07/image_14082025_06_07_08_9245.jpg /media/data/images/14082025/06/07/image_14082025_06_07_18_10334.jpg /media/data/images/14082025/06/07/image_14082025_06_07_29_10338.jpg /media/data/images/14082025/06/07/image_14082025_06_07_39_10337.jpg /media/data/images/14082025/06/07/image_14082025_06_07_48_9094.jpg /media/data/images/14082025/06/07/image_14082025_06_07_59_10415.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026764","1377026767","1377026758","1377026769","1377026766","1377026762"],"photo_ids_order":["1377026758","1377026762","1377026764","1377026766","1377026767","1377026769"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab723b7088678bf45726d1c349b6069a.jpg","text":"TemporaryFile(/tmp/multipartBody8992086500622919803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177883721,"filename":"image_14082025_06_07_29_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d88ff8914cc50ac69b2a7ebc9943510c.jpg","text":"TemporaryFile(/tmp/multipartBody5802847449439959791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177883721,"filename":"image_14082025_06_07_48_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44b040c6fb59b123e55e2dc3f887dcbf.jpg","text":"TemporaryFile(/tmp/multipartBody1046110040518225910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177883721,"filename":"image_14082025_06_07_08_9245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e585b8b9a3b0df380f4490f4f633291.jpg","text":"TemporaryFile(/tmp/multipartBody6164955934924993767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177883721,"filename":"image_14082025_06_07_59_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22b00461254e3eb1960eb91a95bf994f.jpg","text":"TemporaryFile(/tmp/multipartBody4360531501739661669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177883721,"filename":"image_14082025_06_07_39_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97193a3a05832e058a2cd769879e01ff.jpg","text":"TemporaryFile(/tmp/multipartBody17619012865244921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177883721,"filename":"image_14082025_06_07_18_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026764","file1":"1377026762","file0":"1377026758","file4":"1377026767","file5":"1377026769","file3":"1377026766"},"map_files_photo_id_array":[{"photo_id":"1377026769","filename":"file5"},{"photo_id":"1377026764","filename":"file2"},{"photo_id":"1377026767","filename":"file4"},{"photo_id":"1377026762","filename":"file1"},{"photo_id":"1377026758","filename":"file0"},{"photo_id":"1377026766","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026764":["hashtag1","hashtag2"]},{"1377026767":["hashtag1","hashtag2"]},{"1377026758":["hashtag1","hashtag2"]},{"1377026769":["hashtag1","hashtag2"]},{"1377026766":["hashtag1","hashtag2"]},{"1377026762":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026764, 1377026767, 1377026758, 1377026769, 1377026766, 1377026762)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.29952669143677 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:24:41.841852 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/08/image_14082025_06_08_09_10444.jpg', '/media/data/images/14082025/06/08/image_14082025_06_08_18_9134.jpg', '/media/data/images/14082025/06/08/image_14082025_06_08_28_10365.jpg', '/media/data/images/14082025/06/08/image_14082025_06_08_39_10355.jpg', '/media/data/images/14082025/06/08/image_14082025_06_08_48_9112.jpg', '/media/data/images/14082025/06/08/image_14082025_06_08_58_10448.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/08/image_14082025_06_08_09_10444.jpg /media/data/images/14082025/06/08/image_14082025_06_08_18_9134.jpg /media/data/images/14082025/06/08/image_14082025_06_08_28_10365.jpg /media/data/images/14082025/06/08/image_14082025_06_08_39_10355.jpg /media/data/images/14082025/06/08/image_14082025_06_08_48_9112.jpg /media/data/images/14082025/06/08/image_14082025_06_08_58_10448.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026791","1377026788","1377026793","1377026799","1377026795","1377026789"],"photo_ids_order":["1377026788","1377026789","1377026791","1377026793","1377026795","1377026799"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a6e231ead4e76c6961f8b42b4512b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7242337209086947397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177942813,"filename":"image_14082025_06_08_28_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e484b423d2c769aa2801e2c8b82d119e.jpg","text":"TemporaryFile(/tmp/multipartBody9106868075377741986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177942813,"filename":"image_14082025_06_08_09_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb0ed79a4c4788a79a38d5245d9ee8a4.jpg","text":"TemporaryFile(/tmp/multipartBody4472641778788494113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177942813,"filename":"image_14082025_06_08_39_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62b13077afaa3dd0f52bdd2c13b3f692.jpg","text":"TemporaryFile(/tmp/multipartBody2246566097851501556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177942813,"filename":"image_14082025_06_08_58_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59fd06ee01621687ae8f7d0ee7a755d4.jpg","text":"TemporaryFile(/tmp/multipartBody8849196358827236968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177942813,"filename":"image_14082025_06_08_48_9112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a32785fbfd006181e4651245a995e37a.jpg","text":"TemporaryFile(/tmp/multipartBody7161523137094232157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755177942813,"filename":"image_14082025_06_08_18_9134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026791","file1":"1377026789","file0":"1377026788","file4":"1377026795","file5":"1377026799","file3":"1377026793"},"map_files_photo_id_array":[{"photo_id":"1377026799","filename":"file5"},{"photo_id":"1377026791","filename":"file2"},{"photo_id":"1377026795","filename":"file4"},{"photo_id":"1377026789","filename":"file1"},{"photo_id":"1377026788","filename":"file0"},{"photo_id":"1377026793","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026791":["hashtag1","hashtag2"]},{"1377026788":["hashtag1","hashtag2"]},{"1377026793":["hashtag1","hashtag2"]},{"1377026799":["hashtag1","hashtag2"]},{"1377026795":["hashtag1","hashtag2"]},{"1377026789":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026791, 1377026788, 1377026793, 1377026799, 1377026795, 1377026789)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.54448628425598 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:25:42.088184 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/09/image_14082025_06_09_09_10165.jpg', '/media/data/images/14082025/06/09/image_14082025_06_09_19_10384.jpg', '/media/data/images/14082025/06/09/image_14082025_06_09_28_9204.jpg', '/media/data/images/14082025/06/09/image_14082025_06_09_39_10390.jpg', '/media/data/images/14082025/06/09/image_14082025_06_09_49_10438.jpg', '/media/data/images/14082025/06/09/image_14082025_06_09_58_9185.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/09/image_14082025_06_09_09_10165.jpg /media/data/images/14082025/06/09/image_14082025_06_09_19_10384.jpg /media/data/images/14082025/06/09/image_14082025_06_09_28_9204.jpg /media/data/images/14082025/06/09/image_14082025_06_09_39_10390.jpg /media/data/images/14082025/06/09/image_14082025_06_09_49_10438.jpg /media/data/images/14082025/06/09/image_14082025_06_09_58_9185.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026816","1377026819","1377026827","1377026821","1377026812","1377026823"],"photo_ids_order":["1377026812","1377026816","1377026819","1377026821","1377026823","1377026827"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e2ca9235ffdea10abf1aef9256cd8aa.jpg","text":"TemporaryFile(/tmp/multipartBody3189963301386855538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178003060,"filename":"image_14082025_06_09_19_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6bce2ac8b4cedd154704fa69866318d5.jpg","text":"TemporaryFile(/tmp/multipartBody8076133900971288822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178003060,"filename":"image_14082025_06_09_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b77f5c6e8c8504a42972297b8816a4e.jpg","text":"TemporaryFile(/tmp/multipartBody5458848283966970128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178003060,"filename":"image_14082025_06_09_58_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc756a4c624eb1b97e80edf34cddac03.jpg","text":"TemporaryFile(/tmp/multipartBody7643244311306076137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178003060,"filename":"image_14082025_06_09_39_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5deed46b55522b4c6900edc721cb34d.jpg","text":"TemporaryFile(/tmp/multipartBody3421808849024694616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178003060,"filename":"image_14082025_06_09_09_10165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f60471766ebea191dc1fb0fce1953c55.jpg","text":"TemporaryFile(/tmp/multipartBody3580077337064004818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178003060,"filename":"image_14082025_06_09_49_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026819","file1":"1377026816","file0":"1377026812","file4":"1377026823","file5":"1377026827","file3":"1377026821"},"map_files_photo_id_array":[{"photo_id":"1377026827","filename":"file5"},{"photo_id":"1377026819","filename":"file2"},{"photo_id":"1377026823","filename":"file4"},{"photo_id":"1377026816","filename":"file1"},{"photo_id":"1377026812","filename":"file0"},{"photo_id":"1377026821","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026816":["hashtag1","hashtag2"]},{"1377026819":["hashtag1","hashtag2"]},{"1377026827":["hashtag1","hashtag2"]},{"1377026821":["hashtag1","hashtag2"]},{"1377026812":["hashtag1","hashtag2"]},{"1377026823":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026816, 1377026819, 1377026827, 1377026821, 1377026812, 1377026823)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.614269971847534 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:26:42.092060 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/10/image_14082025_06_10_09_10452.jpg', '/media/data/images/14082025/06/10/image_14082025_06_10_19_10377.jpg', '/media/data/images/14082025/06/10/image_14082025_06_10_28_9208.jpg', '/media/data/images/14082025/06/10/image_14082025_06_10_39_10383.jpg', '/media/data/images/14082025/06/10/image_14082025_06_10_49_10372.jpg', '/media/data/images/14082025/06/10/image_14082025_06_10_58_9099.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/10/image_14082025_06_10_09_10452.jpg /media/data/images/14082025/06/10/image_14082025_06_10_19_10377.jpg /media/data/images/14082025/06/10/image_14082025_06_10_28_9208.jpg /media/data/images/14082025/06/10/image_14082025_06_10_39_10383.jpg /media/data/images/14082025/06/10/image_14082025_06_10_49_10372.jpg /media/data/images/14082025/06/10/image_14082025_06_10_58_9099.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026846","1377026845","1377026848","1377026850","1377026852","1377026855"],"photo_ids_order":["1377026845","1377026846","1377026848","1377026850","1377026852","1377026855"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18f7d1e30ece75f97cf79d5ba99e3ec3.jpg","text":"TemporaryFile(/tmp/multipartBody9173605886286518326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178063061,"filename":"image_14082025_06_10_19_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b63b372505ca6b80d4d022fafabf7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3367014281043808977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178063061,"filename":"image_14082025_06_10_09_10452.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f0d8d96eb502a494dc8f1ffa6cff13d.jpg","text":"TemporaryFile(/tmp/multipartBody3635916555905374814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178063061,"filename":"image_14082025_06_10_28_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37120be9d4ccdfebe5f891fbdf7aeb06.jpg","text":"TemporaryFile(/tmp/multipartBody3579948677565152196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178063061,"filename":"image_14082025_06_10_39_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ea71fc0b8528650c910c962f4a4381b.jpg","text":"TemporaryFile(/tmp/multipartBody906616879421643813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178063061,"filename":"image_14082025_06_10_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e18ceaee15cd0baa37b1fddbd6a8dc9e.jpg","text":"TemporaryFile(/tmp/multipartBody21945824013559876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178063061,"filename":"image_14082025_06_10_58_9099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026848","file1":"1377026846","file0":"1377026845","file4":"1377026852","file5":"1377026855","file3":"1377026850"},"map_files_photo_id_array":[{"photo_id":"1377026855","filename":"file5"},{"photo_id":"1377026848","filename":"file2"},{"photo_id":"1377026852","filename":"file4"},{"photo_id":"1377026846","filename":"file1"},{"photo_id":"1377026845","filename":"file0"},{"photo_id":"1377026850","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026846":["hashtag1","hashtag2"]},{"1377026845":["hashtag1","hashtag2"]},{"1377026848":["hashtag1","hashtag2"]},{"1377026850":["hashtag1","hashtag2"]},{"1377026852":["hashtag1","hashtag2"]},{"1377026855":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026846, 1377026845, 1377026848, 1377026850, 1377026852, 1377026855)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.65006709098816 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:27:42.219657 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/10/image_14082025_06_11_09_10659.jpg', '/media/data/images/14082025/06/11/image_14082025_06_11_18_9144.jpg', '/media/data/images/14082025/06/11/image_14082025_06_11_28_10474.jpg', '/media/data/images/14082025/06/11/image_14082025_06_11_39_10418.jpg', '/media/data/images/14082025/06/11/image_14082025_06_11_49_10294.jpg', '/media/data/images/14082025/06/11/image_14082025_06_11_58_9094.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/10/image_14082025_06_11_09_10659.jpg /media/data/images/14082025/06/11/image_14082025_06_11_18_9144.jpg /media/data/images/14082025/06/11/image_14082025_06_11_28_10474.jpg /media/data/images/14082025/06/11/image_14082025_06_11_39_10418.jpg /media/data/images/14082025/06/11/image_14082025_06_11_49_10294.jpg /media/data/images/14082025/06/11/image_14082025_06_11_58_9094.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026881","1377026884","1377026875","1377026879","1377026888","1377026882"],"photo_ids_order":["1377026875","1377026879","1377026881","1377026882","1377026884","1377026888"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb68a11471c56ac747a1a65ab3c4ce53.jpg","text":"TemporaryFile(/tmp/multipartBody3156577150650429454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178123237,"filename":"image_14082025_06_11_28_10474.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65dda9c520a767fb8c719a4a0311beaa.jpg","text":"TemporaryFile(/tmp/multipartBody5057450016214956396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178123237,"filename":"image_14082025_06_11_49_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e4c4bec83b73b90b6bd6712337dde39.jpg","text":"TemporaryFile(/tmp/multipartBody3002099549157458639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178123237,"filename":"image_14082025_06_11_09_10659.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51f4eace92874d23f577a3b51d90a17e.jpg","text":"TemporaryFile(/tmp/multipartBody4474250578727016650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178123237,"filename":"image_14082025_06_11_18_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca7653d5edf1ddb6fd039b68f01d69a7.jpg","text":"TemporaryFile(/tmp/multipartBody5444681478692024565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178123237,"filename":"image_14082025_06_11_58_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2364face9d26352d6e5cb3af6ae7851f.jpg","text":"TemporaryFile(/tmp/multipartBody4247765229953106844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178123237,"filename":"image_14082025_06_11_39_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026881","file1":"1377026879","file0":"1377026875","file4":"1377026884","file5":"1377026888","file3":"1377026882"},"map_files_photo_id_array":[{"photo_id":"1377026888","filename":"file5"},{"photo_id":"1377026881","filename":"file2"},{"photo_id":"1377026884","filename":"file4"},{"photo_id":"1377026879","filename":"file1"},{"photo_id":"1377026875","filename":"file0"},{"photo_id":"1377026882","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026881":["hashtag1","hashtag2"]},{"1377026884":["hashtag1","hashtag2"]},{"1377026875":["hashtag1","hashtag2"]},{"1377026879":["hashtag1","hashtag2"]},{"1377026888":["hashtag1","hashtag2"]},{"1377026882":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026881, 1377026884, 1377026875, 1377026879, 1377026888, 1377026882)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.439839601516724 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:28:42.316204 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/12/image_14082025_06_12_08_10333.jpg', '/media/data/images/14082025/06/12/image_14082025_06_12_19_10272.jpg', '/media/data/images/14082025/06/12/image_14082025_06_12_29_10323.jpg', '/media/data/images/14082025/06/12/image_14082025_06_12_38_9053.jpg', '/media/data/images/14082025/06/12/image_14082025_06_12_48_10331.jpg', '/media/data/images/14082025/06/12/image_14082025_06_12_59_10288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/12/image_14082025_06_12_08_10333.jpg /media/data/images/14082025/06/12/image_14082025_06_12_19_10272.jpg /media/data/images/14082025/06/12/image_14082025_06_12_29_10323.jpg /media/data/images/14082025/06/12/image_14082025_06_12_38_9053.jpg /media/data/images/14082025/06/12/image_14082025_06_12_48_10331.jpg /media/data/images/14082025/06/12/image_14082025_06_12_59_10288.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026912","1377026920","1377026914","1377026908","1377026905","1377026910"],"photo_ids_order":["1377026905","1377026908","1377026910","1377026912","1377026914","1377026920"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11d848eb40b6b63c8a8103f0aab5a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody3185973827470959903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178183415,"filename":"image_14082025_06_12_38_9053.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0793c27b43045e5f72d6a3d91ff95a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4818500222763153308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178183415,"filename":"image_14082025_06_12_59_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f30da4b1f0b8a657af27836ab716c51.jpg","text":"TemporaryFile(/tmp/multipartBody7875052662812093498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178183415,"filename":"image_14082025_06_12_48_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3156600cd9defa6cc5917f1357e9146.jpg","text":"TemporaryFile(/tmp/multipartBody8582814138996042115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178183415,"filename":"image_14082025_06_12_19_10272.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6280ab72e08bac56fae4faffa826d005.jpg","text":"TemporaryFile(/tmp/multipartBody3437856607807839524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178183415,"filename":"image_14082025_06_12_08_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a696a10e4ad78c8009aa2e47f8382417.jpg","text":"TemporaryFile(/tmp/multipartBody3809345107647211723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178183415,"filename":"image_14082025_06_12_29_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026910","file1":"1377026908","file0":"1377026905","file4":"1377026914","file5":"1377026920","file3":"1377026912"},"map_files_photo_id_array":[{"photo_id":"1377026920","filename":"file5"},{"photo_id":"1377026910","filename":"file2"},{"photo_id":"1377026914","filename":"file4"},{"photo_id":"1377026908","filename":"file1"},{"photo_id":"1377026905","filename":"file0"},{"photo_id":"1377026912","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026912":["hashtag1","hashtag2"]},{"1377026920":["hashtag1","hashtag2"]},{"1377026914":["hashtag1","hashtag2"]},{"1377026908":["hashtag1","hashtag2"]},{"1377026905":["hashtag1","hashtag2"]},{"1377026910":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026912, 1377026920, 1377026914, 1377026908, 1377026905, 1377026910)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.64632773399353 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:29:42.442486 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/13/image_14082025_06_13_09_10257.jpg', '/media/data/images/14082025/06/13/image_14082025_06_13_28_10284.jpg', '/media/data/images/14082025/06/13/image_14082025_06_13_39_10275.jpg', '/media/data/images/14082025/06/13/image_14082025_06_13_49_10268.jpg', '/media/data/images/14082025/06/14/image_14082025_06_14_08_10312.jpg', '/media/data/images/14082025/06/14/image_14082025_06_14_19_10492.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/13/image_14082025_06_13_09_10257.jpg /media/data/images/14082025/06/13/image_14082025_06_13_28_10284.jpg /media/data/images/14082025/06/13/image_14082025_06_13_39_10275.jpg /media/data/images/14082025/06/13/image_14082025_06_13_49_10268.jpg /media/data/images/14082025/06/14/image_14082025_06_14_08_10312.jpg /media/data/images/14082025/06/14/image_14082025_06_14_19_10492.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026945","1377026947","1377026949","1377026940","1377026943","1377026946"],"photo_ids_order":["1377026940","1377026943","1377026945","1377026946","1377026947","1377026949"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/26635e64db8ad1efd06d234c2be0f42c.jpg","text":"TemporaryFile(/tmp/multipartBody6071561559274405876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178243507,"filename":"image_14082025_06_13_39_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1d13b7331ecb68d37c2b2746babc4c74.jpg","text":"TemporaryFile(/tmp/multipartBody3604284805893712105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178243507,"filename":"image_14082025_06_14_08_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d6018bed840fc043da76b3f45e2cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody1390758151183522387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178243507,"filename":"image_14082025_06_14_19_10492.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6cd060ff94356b2d20cfbf04b74a7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2460449158829741185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178243507,"filename":"image_14082025_06_13_09_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6699ac2b432782630fcb6aace92fcee.jpg","text":"TemporaryFile(/tmp/multipartBody1663731131534208920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178243507,"filename":"image_14082025_06_13_28_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3e453e1e73b4b41efd24df3327573f0.jpg","text":"TemporaryFile(/tmp/multipartBody7044487891524889517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178243507,"filename":"image_14082025_06_13_49_10268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026945","file1":"1377026943","file0":"1377026940","file4":"1377026947","file5":"1377026949","file3":"1377026946"},"map_files_photo_id_array":[{"photo_id":"1377026949","filename":"file5"},{"photo_id":"1377026945","filename":"file2"},{"photo_id":"1377026947","filename":"file4"},{"photo_id":"1377026943","filename":"file1"},{"photo_id":"1377026940","filename":"file0"},{"photo_id":"1377026946","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026945":["hashtag1","hashtag2"]},{"1377026947":["hashtag1","hashtag2"]},{"1377026949":["hashtag1","hashtag2"]},{"1377026940":["hashtag1","hashtag2"]},{"1377026943":["hashtag1","hashtag2"]},{"1377026946":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026945, 1377026947, 1377026949, 1377026940, 1377026943, 1377026946)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.96787738800049 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:30:42.520799 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/14/image_14082025_06_14_28_9186.jpg', '/media/data/images/14082025/06/14/image_14082025_06_14_39_10426.jpg', '/media/data/images/14082025/06/14/image_14082025_06_14_49_10297.jpg', '/media/data/images/14082025/06/14/image_14082025_06_14_58_9034.jpg', '/media/data/images/14082025/06/14/image_14082025_06_15_08_10339.jpg', '/media/data/images/14082025/06/15/image_14082025_06_15_19_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/14/image_14082025_06_14_28_9186.jpg /media/data/images/14082025/06/14/image_14082025_06_14_39_10426.jpg /media/data/images/14082025/06/14/image_14082025_06_14_49_10297.jpg /media/data/images/14082025/06/14/image_14082025_06_14_58_9034.jpg /media/data/images/14082025/06/14/image_14082025_06_15_08_10339.jpg /media/data/images/14082025/06/15/image_14082025_06_15_19_10364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377026974","1377026979","1377026964","1377026972","1377026966","1377026969"],"photo_ids_order":["1377026964","1377026966","1377026969","1377026972","1377026974","1377026979"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e1779183ae613e4ddc290a6e960cf5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7111034750626104183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178303643,"filename":"image_14082025_06_15_08_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33dc9e70a32a828979f195b1c551a970.jpg","text":"TemporaryFile(/tmp/multipartBody4008844452127445732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178303643,"filename":"image_14082025_06_15_19_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67fac26bbdcd541a9cd5c308c6c78b62.jpg","text":"TemporaryFile(/tmp/multipartBody5637522946271322528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178303643,"filename":"image_14082025_06_14_28_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2551604d2b742a4e5aa61bf5e061621c.jpg","text":"TemporaryFile(/tmp/multipartBody3139675108954162631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178303643,"filename":"image_14082025_06_14_58_9034.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e366e0b712fc9454a9307e011826809.jpg","text":"TemporaryFile(/tmp/multipartBody2847289041915173777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178303643,"filename":"image_14082025_06_14_39_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab62668bfb3c90c32e742e2874008cba.jpg","text":"TemporaryFile(/tmp/multipartBody4119973023079061202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178303643,"filename":"image_14082025_06_14_49_10297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377026969","file1":"1377026966","file0":"1377026964","file4":"1377026974","file5":"1377026979","file3":"1377026972"},"map_files_photo_id_array":[{"photo_id":"1377026979","filename":"file5"},{"photo_id":"1377026969","filename":"file2"},{"photo_id":"1377026974","filename":"file4"},{"photo_id":"1377026966","filename":"file1"},{"photo_id":"1377026964","filename":"file0"},{"photo_id":"1377026972","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377026974":["hashtag1","hashtag2"]},{"1377026979":["hashtag1","hashtag2"]},{"1377026964":["hashtag1","hashtag2"]},{"1377026972":["hashtag1","hashtag2"]},{"1377026966":["hashtag1","hashtag2"]},{"1377026969":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377026974, 1377026979, 1377026964, 1377026972, 1377026966, 1377026969)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.403982400894165 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:31:42.624399 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/15/image_14082025_06_15_29_10372.jpg', '/media/data/images/14082025/06/15/image_14082025_06_15_38_9154.jpg', '/media/data/images/14082025/06/15/image_14082025_06_15_49_10476.jpg', '/media/data/images/14082025/06/15/image_14082025_06_15_59_10268.jpg', '/media/data/images/14082025/06/16/image_14082025_06_16_08_9362.jpg', '/media/data/images/14082025/06/16/image_14082025_06_16_18_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/15/image_14082025_06_15_29_10372.jpg /media/data/images/14082025/06/15/image_14082025_06_15_38_9154.jpg /media/data/images/14082025/06/15/image_14082025_06_15_49_10476.jpg /media/data/images/14082025/06/15/image_14082025_06_15_59_10268.jpg /media/data/images/14082025/06/16/image_14082025_06_16_08_9362.jpg /media/data/images/14082025/06/16/image_14082025_06_16_18_10276.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027011","1377027013","1377027016","1377027018","1377027015","1377027014"],"photo_ids_order":["1377027011","1377027013","1377027014","1377027015","1377027016","1377027018"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20a8b28ed069728e8dc360b2ee9d1072.jpg","text":"TemporaryFile(/tmp/multipartBody1608247092937865671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178363750,"filename":"image_14082025_06_15_29_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a230a9178b04478535feaf3ab89ffcc1.jpg","text":"TemporaryFile(/tmp/multipartBody7499337329328501718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178363750,"filename":"image_14082025_06_15_38_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f0a8084e6ea1a5bd04daaf1fe97b82b.jpg","text":"TemporaryFile(/tmp/multipartBody978328347495802788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178363750,"filename":"image_14082025_06_16_08_9362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16128b485105ed71c854ebd80feea265.jpg","text":"TemporaryFile(/tmp/multipartBody3670251545938760825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178363750,"filename":"image_14082025_06_16_18_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ea26b1f1827292133a7a259928926ca.jpg","text":"TemporaryFile(/tmp/multipartBody7242048648452030153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178363750,"filename":"image_14082025_06_15_59_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ae04d77fe06f1a33e4061a33c028984.jpg","text":"TemporaryFile(/tmp/multipartBody2355360011251450719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178363750,"filename":"image_14082025_06_15_49_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027014","file1":"1377027013","file0":"1377027011","file4":"1377027016","file5":"1377027018","file3":"1377027015"},"map_files_photo_id_array":[{"photo_id":"1377027018","filename":"file5"},{"photo_id":"1377027014","filename":"file2"},{"photo_id":"1377027016","filename":"file4"},{"photo_id":"1377027013","filename":"file1"},{"photo_id":"1377027011","filename":"file0"},{"photo_id":"1377027015","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027011":["hashtag1","hashtag2"]},{"1377027013":["hashtag1","hashtag2"]},{"1377027016":["hashtag1","hashtag2"]},{"1377027018":["hashtag1","hashtag2"]},{"1377027015":["hashtag1","hashtag2"]},{"1377027014":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027011, 1377027013, 1377027016, 1377027018, 1377027015, 1377027014)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.75873112678528 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:32:42.720850 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/16/image_14082025_06_16_29_10273.jpg', '/media/data/images/14082025/06/16/image_14082025_06_16_38_9181.jpg', '/media/data/images/14082025/06/16/image_14082025_06_16_48_10443.jpg', '/media/data/images/14082025/06/16/image_14082025_06_16_59_10409.jpg', '/media/data/images/14082025/06/17/image_14082025_06_17_08_9210.jpg', '/media/data/images/14082025/06/17/image_14082025_06_17_18_10455.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/16/image_14082025_06_16_29_10273.jpg /media/data/images/14082025/06/16/image_14082025_06_16_38_9181.jpg /media/data/images/14082025/06/16/image_14082025_06_16_48_10443.jpg /media/data/images/14082025/06/16/image_14082025_06_16_59_10409.jpg /media/data/images/14082025/06/17/image_14082025_06_17_08_9210.jpg /media/data/images/14082025/06/17/image_14082025_06_17_18_10455.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027046","1377027037","1377027039","1377027041","1377027035","1377027038"],"photo_ids_order":["1377027035","1377027037","1377027038","1377027039","1377027041","1377027046"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/907b091a3dfabd5f292109fcc95983c3.jpg","text":"TemporaryFile(/tmp/multipartBody8141931057402082711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178424863,"filename":"image_14082025_06_17_18_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2103f6112a46e764ae0f099dbb00e860.jpg","text":"TemporaryFile(/tmp/multipartBody5413317156731106201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178424863,"filename":"image_14082025_06_16_38_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f497e02a604444564a437184ae28df31.jpg","text":"TemporaryFile(/tmp/multipartBody7397288031856847453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178424863,"filename":"image_14082025_06_16_59_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4f8178b285ad637735dadafae1628b6.jpg","text":"TemporaryFile(/tmp/multipartBody637014042228705933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178424863,"filename":"image_14082025_06_17_08_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dbc76f361ac781cb7a68adf1c7a074c.jpg","text":"TemporaryFile(/tmp/multipartBody6167935344989730785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178424863,"filename":"image_14082025_06_16_29_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f937126bdd1b3b91108867c04fb97ca.jpg","text":"TemporaryFile(/tmp/multipartBody6859633764106637051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178424863,"filename":"image_14082025_06_16_48_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027038","file1":"1377027037","file0":"1377027035","file4":"1377027041","file5":"1377027046","file3":"1377027039"},"map_files_photo_id_array":[{"photo_id":"1377027046","filename":"file5"},{"photo_id":"1377027038","filename":"file2"},{"photo_id":"1377027041","filename":"file4"},{"photo_id":"1377027037","filename":"file1"},{"photo_id":"1377027035","filename":"file0"},{"photo_id":"1377027039","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027046":["hashtag1","hashtag2"]},{"1377027037":["hashtag1","hashtag2"]},{"1377027039":["hashtag1","hashtag2"]},{"1377027041":["hashtag1","hashtag2"]},{"1377027035":["hashtag1","hashtag2"]},{"1377027038":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027046, 1377027037, 1377027039, 1377027041, 1377027035, 1377027038)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.74145007133484 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:33:41.851096 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/17/image_14082025_06_17_29_10321.jpg', '/media/data/images/14082025/06/17/image_14082025_06_17_39_10261.jpg', '/media/data/images/14082025/06/17/image_14082025_06_17_48_9123.jpg', '/media/data/images/14082025/06/17/image_14082025_06_17_59_10363.jpg', '/media/data/images/14082025/06/18/image_14082025_06_18_08_9581.jpg', '/media/data/images/14082025/06/18/image_14082025_06_18_19_10428.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/17/image_14082025_06_17_29_10321.jpg /media/data/images/14082025/06/17/image_14082025_06_17_39_10261.jpg /media/data/images/14082025/06/17/image_14082025_06_17_48_9123.jpg /media/data/images/14082025/06/17/image_14082025_06_17_59_10363.jpg /media/data/images/14082025/06/18/image_14082025_06_18_08_9581.jpg /media/data/images/14082025/06/18/image_14082025_06_18_19_10428.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027076","1377027070","1377027072","1377027066","1377027059","1377027062"],"photo_ids_order":["1377027059","1377027062","1377027066","1377027070","1377027072","1377027076"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4644c442ccb923cb70ead1d33e309040.jpg","text":"TemporaryFile(/tmp/multipartBody8150964298948814287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178482854,"filename":"image_14082025_06_18_19_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e58264a732abe0f08a2c0a9ade451e8.jpg","text":"TemporaryFile(/tmp/multipartBody1363377500918973883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178482854,"filename":"image_14082025_06_17_59_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f753504038772df242bc8fbc3cfc1939.jpg","text":"TemporaryFile(/tmp/multipartBody496278886641926869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178482854,"filename":"image_14082025_06_18_08_9581.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c37f5a8df52f75636cd28604ce81ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4033671208685902590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178482854,"filename":"image_14082025_06_17_48_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc309aa1117d9dd9cdd63cc9348ce916.jpg","text":"TemporaryFile(/tmp/multipartBody1937633489557440509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178482854,"filename":"image_14082025_06_17_29_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1757f31a5d2328c914e8d2ac14c15270.jpg","text":"TemporaryFile(/tmp/multipartBody1806109336336650518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178482854,"filename":"image_14082025_06_17_39_10261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027066","file1":"1377027062","file0":"1377027059","file4":"1377027072","file5":"1377027076","file3":"1377027070"},"map_files_photo_id_array":[{"photo_id":"1377027076","filename":"file5"},{"photo_id":"1377027066","filename":"file2"},{"photo_id":"1377027072","filename":"file4"},{"photo_id":"1377027062","filename":"file1"},{"photo_id":"1377027059","filename":"file0"},{"photo_id":"1377027070","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027076":["hashtag1","hashtag2"]},{"1377027070":["hashtag1","hashtag2"]},{"1377027072":["hashtag1","hashtag2"]},{"1377027066":["hashtag1","hashtag2"]},{"1377027059":["hashtag1","hashtag2"]},{"1377027062":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027076, 1377027070, 1377027072, 1377027066, 1377027059, 1377027062)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.18956446647644 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:34:41.935125 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/18/image_14082025_06_18_29_10519.jpg', '/media/data/images/14082025/06/18/image_14082025_06_18_38_9134.jpg', '/media/data/images/14082025/06/18/image_14082025_06_18_49_10376.jpg', '/media/data/images/14082025/06/18/image_14082025_06_18_59_10428.jpg', '/media/data/images/14082025/06/19/image_14082025_06_19_08_9402.jpg', '/media/data/images/14082025/06/19/image_14082025_06_19_19_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/18/image_14082025_06_18_29_10519.jpg /media/data/images/14082025/06/18/image_14082025_06_18_38_9134.jpg /media/data/images/14082025/06/18/image_14082025_06_18_49_10376.jpg /media/data/images/14082025/06/18/image_14082025_06_18_59_10428.jpg /media/data/images/14082025/06/19/image_14082025_06_19_08_9402.jpg /media/data/images/14082025/06/19/image_14082025_06_19_19_10412.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027100","1377027090","1377027093","1377027087","1377027096","1377027105"],"photo_ids_order":["1377027087","1377027090","1377027093","1377027096","1377027100","1377027105"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05efa5b81908bc17870c7fd3591ec79b.jpg","text":"TemporaryFile(/tmp/multipartBody3874078497857043271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178542890,"filename":"image_14082025_06_19_08_9402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/085dc869905e45ff12bfe536dd829b48.jpg","text":"TemporaryFile(/tmp/multipartBody7344912208227303957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178542890,"filename":"image_14082025_06_18_38_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ecc4101e5091ee0e0ec392be82ca12b.jpg","text":"TemporaryFile(/tmp/multipartBody3144395947484803832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178542890,"filename":"image_14082025_06_18_49_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2fe7cedd0121f811883756fbec666112.jpg","text":"TemporaryFile(/tmp/multipartBody2681918307155889050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178542890,"filename":"image_14082025_06_18_29_10519.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/574c53b74d32ea7c1118df229deaf742.jpg","text":"TemporaryFile(/tmp/multipartBody3136623708797750957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178542890,"filename":"image_14082025_06_18_59_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c9e3a70f86e8a1e5d3412e21929e968.jpg","text":"TemporaryFile(/tmp/multipartBody6727156357777936380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178542890,"filename":"image_14082025_06_19_19_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027093","file1":"1377027090","file0":"1377027087","file4":"1377027100","file5":"1377027105","file3":"1377027096"},"map_files_photo_id_array":[{"photo_id":"1377027105","filename":"file5"},{"photo_id":"1377027093","filename":"file2"},{"photo_id":"1377027100","filename":"file4"},{"photo_id":"1377027090","filename":"file1"},{"photo_id":"1377027087","filename":"file0"},{"photo_id":"1377027096","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027100":["hashtag1","hashtag2"]},{"1377027090":["hashtag1","hashtag2"]},{"1377027093":["hashtag1","hashtag2"]},{"1377027087":["hashtag1","hashtag2"]},{"1377027096":["hashtag1","hashtag2"]},{"1377027105":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027100, 1377027090, 1377027093, 1377027087, 1377027096, 1377027105)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.68380522727966 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:35:42.030703 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/19/image_14082025_06_19_28_9194.jpg', '/media/data/images/14082025/06/19/image_14082025_06_19_38_10365.jpg', '/media/data/images/14082025/06/19/image_14082025_06_19_49_10434.jpg', '/media/data/images/14082025/06/19/image_14082025_06_19_58_9151.jpg', '/media/data/images/14082025/06/19/image_14082025_06_20_09_10822.jpg', '/media/data/images/14082025/06/20/image_14082025_06_20_18_9166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/19/image_14082025_06_19_28_9194.jpg /media/data/images/14082025/06/19/image_14082025_06_19_38_10365.jpg /media/data/images/14082025/06/19/image_14082025_06_19_49_10434.jpg /media/data/images/14082025/06/19/image_14082025_06_19_58_9151.jpg /media/data/images/14082025/06/19/image_14082025_06_20_09_10822.jpg /media/data/images/14082025/06/20/image_14082025_06_20_18_9166.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027119","1377027124","1377027132","1377027149","1377027122","1377027116"],"photo_ids_order":["1377027116","1377027119","1377027122","1377027124","1377027132","1377027149"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7170497f6eec425617b6a780c023ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6858688151281001677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178602999,"filename":"image_14082025_06_19_38_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fda2edb3a22cbb379e809bdbb40e31df.jpg","text":"TemporaryFile(/tmp/multipartBody1222572094964620078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178602999,"filename":"image_14082025_06_19_58_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94816253621e13dbeafb96ff4be46c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3113758915014877342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178602999,"filename":"image_14082025_06_20_09_10822.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c77a04aa3d1bece6fd8fe9c0b1a4ddc5.jpg","text":"TemporaryFile(/tmp/multipartBody6819216874129537890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178602999,"filename":"image_14082025_06_20_18_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ddf2832168659b749d541af8b0acd24f.jpg","text":"TemporaryFile(/tmp/multipartBody5077112531958031750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178602999,"filename":"image_14082025_06_19_49_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97ec9b8325df30c80f00f5a6a2b9514e.jpg","text":"TemporaryFile(/tmp/multipartBody1682871365979659720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178602999,"filename":"image_14082025_06_19_28_9194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027122","file1":"1377027119","file0":"1377027116","file4":"1377027132","file5":"1377027149","file3":"1377027124"},"map_files_photo_id_array":[{"photo_id":"1377027149","filename":"file5"},{"photo_id":"1377027122","filename":"file2"},{"photo_id":"1377027132","filename":"file4"},{"photo_id":"1377027119","filename":"file1"},{"photo_id":"1377027116","filename":"file0"},{"photo_id":"1377027124","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027119":["hashtag1","hashtag2"]},{"1377027124":["hashtag1","hashtag2"]},{"1377027132":["hashtag1","hashtag2"]},{"1377027149":["hashtag1","hashtag2"]},{"1377027122":["hashtag1","hashtag2"]},{"1377027116":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027119, 1377027124, 1377027132, 1377027149, 1377027122, 1377027116)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.5263671875 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:36:42.142789 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/20/image_14082025_06_20_28_10474.jpg', '/media/data/images/14082025/06/20/image_14082025_06_20_39_10374.jpg', '/media/data/images/14082025/06/20/image_14082025_06_20_48_9120.jpg', '/media/data/images/14082025/06/20/image_14082025_06_20_58_10358.jpg', '/media/data/images/14082025/06/21/image_14082025_06_21_09_10482.jpg', '/media/data/images/14082025/06/21/image_14082025_06_21_18_9105.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/20/image_14082025_06_20_28_10474.jpg /media/data/images/14082025/06/20/image_14082025_06_20_39_10374.jpg /media/data/images/14082025/06/20/image_14082025_06_20_48_9120.jpg /media/data/images/14082025/06/20/image_14082025_06_20_58_10358.jpg /media/data/images/14082025/06/21/image_14082025_06_21_09_10482.jpg /media/data/images/14082025/06/21/image_14082025_06_21_18_9105.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027181","1377027183","1377027186","1377027194","1377027188","1377027190"],"photo_ids_order":["1377027181","1377027183","1377027186","1377027188","1377027190","1377027194"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75ef927611951e6db6257f75dddabffe.jpg","text":"TemporaryFile(/tmp/multipartBody8312067287060179120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178663117,"filename":"image_14082025_06_20_28_10474.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/391eb2352b0590c28b3db602e060ee13.jpg","text":"TemporaryFile(/tmp/multipartBody1132925132229247921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178663117,"filename":"image_14082025_06_20_39_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6631a7ddf5be9567c74f27c38792c05b.jpg","text":"TemporaryFile(/tmp/multipartBody689307825329613733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178663117,"filename":"image_14082025_06_20_48_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49af6fe1361c0afde65ba153e3cc3fac.jpg","text":"TemporaryFile(/tmp/multipartBody2023809286265375358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178663117,"filename":"image_14082025_06_21_18_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/701b60c5bebf835606c36f8661728d17.jpg","text":"TemporaryFile(/tmp/multipartBody5319827573565725044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178663117,"filename":"image_14082025_06_20_58_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7b4f4152b4c187392e8a8fff20991fc.jpg","text":"TemporaryFile(/tmp/multipartBody2301163617135679677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178663117,"filename":"image_14082025_06_21_09_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027186","file1":"1377027183","file0":"1377027181","file4":"1377027190","file5":"1377027194","file3":"1377027188"},"map_files_photo_id_array":[{"photo_id":"1377027194","filename":"file5"},{"photo_id":"1377027186","filename":"file2"},{"photo_id":"1377027190","filename":"file4"},{"photo_id":"1377027183","filename":"file1"},{"photo_id":"1377027181","filename":"file0"},{"photo_id":"1377027188","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027181":["hashtag1","hashtag2"]},{"1377027183":["hashtag1","hashtag2"]},{"1377027186":["hashtag1","hashtag2"]},{"1377027194":["hashtag1","hashtag2"]},{"1377027188":["hashtag1","hashtag2"]},{"1377027190":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027181, 1377027183, 1377027186, 1377027194, 1377027188, 1377027190)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.96501350402832 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:37:42.236120 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/21/image_14082025_06_21_28_10390.jpg', '/media/data/images/14082025/06/21/image_14082025_06_21_39_10315.jpg', '/media/data/images/14082025/06/21/image_14082025_06_21_49_10372.jpg', '/media/data/images/14082025/06/21/image_14082025_06_21_58_9070.jpg', '/media/data/images/14082025/06/21/image_14082025_06_22_09_10695.jpg', '/media/data/images/14082025/06/22/image_14082025_06_22_19_10321.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/21/image_14082025_06_21_28_10390.jpg /media/data/images/14082025/06/21/image_14082025_06_21_39_10315.jpg /media/data/images/14082025/06/21/image_14082025_06_21_49_10372.jpg /media/data/images/14082025/06/21/image_14082025_06_21_58_9070.jpg /media/data/images/14082025/06/21/image_14082025_06_22_09_10695.jpg /media/data/images/14082025/06/22/image_14082025_06_22_19_10321.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027218","1377027214","1377027216","1377027219","1377027212","1377027221"],"photo_ids_order":["1377027212","1377027214","1377027216","1377027218","1377027219","1377027221"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/470f150539658d92c9e22299ccbe7550.jpg","text":"TemporaryFile(/tmp/multipartBody7388675848245811521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178723318,"filename":"image_14082025_06_21_58_9070.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23bb01c3e9c459113cf8144733f15231.jpg","text":"TemporaryFile(/tmp/multipartBody1848248444131225973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178723318,"filename":"image_14082025_06_21_39_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/955888adacb6805e0e40f4eb13f54506.jpg","text":"TemporaryFile(/tmp/multipartBody8658033279341038706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178723318,"filename":"image_14082025_06_21_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/029aba1aa675a4c169e094e85370670d.jpg","text":"TemporaryFile(/tmp/multipartBody434386558518722858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178723318,"filename":"image_14082025_06_22_09_10695.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73b86e6c8a10bc690bdd38d2a6376178.jpg","text":"TemporaryFile(/tmp/multipartBody605834778398075657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178723318,"filename":"image_14082025_06_21_28_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/510d1d2d282dc84cf00441ea7b935ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6639955677252155465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178723318,"filename":"image_14082025_06_22_19_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027216","file1":"1377027214","file0":"1377027212","file4":"1377027219","file5":"1377027221","file3":"1377027218"},"map_files_photo_id_array":[{"photo_id":"1377027221","filename":"file5"},{"photo_id":"1377027216","filename":"file2"},{"photo_id":"1377027219","filename":"file4"},{"photo_id":"1377027214","filename":"file1"},{"photo_id":"1377027212","filename":"file0"},{"photo_id":"1377027218","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027218":["hashtag1","hashtag2"]},{"1377027214":["hashtag1","hashtag2"]},{"1377027216":["hashtag1","hashtag2"]},{"1377027219":["hashtag1","hashtag2"]},{"1377027212":["hashtag1","hashtag2"]},{"1377027221":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027218, 1377027214, 1377027216, 1377027219, 1377027212, 1377027221)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.84921336174011 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:38:42.342689 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/22/image_14082025_06_22_28_9174.jpg', '/media/data/images/14082025/06/22/image_14082025_06_22_38_10272.jpg', '/media/data/images/14082025/06/22/image_14082025_06_22_49_10448.jpg', '/media/data/images/14082025/06/22/image_14082025_06_22_58_9211.jpg', '/media/data/images/14082025/06/23/image_14082025_06_23_09_10417.jpg', '/media/data/images/14082025/06/23/image_14082025_06_23_19_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/22/image_14082025_06_22_28_9174.jpg /media/data/images/14082025/06/22/image_14082025_06_22_38_10272.jpg /media/data/images/14082025/06/22/image_14082025_06_22_49_10448.jpg /media/data/images/14082025/06/22/image_14082025_06_22_58_9211.jpg /media/data/images/14082025/06/23/image_14082025_06_23_09_10417.jpg /media/data/images/14082025/06/23/image_14082025_06_23_19_10432.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027250","1377027245","1377027239","1377027233","1377027242","1377027236"],"photo_ids_order":["1377027233","1377027236","1377027239","1377027242","1377027245","1377027250"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b727c24ed348736e32503e17cbdd1bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6090587859346340957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178783458,"filename":"image_14082025_06_23_19_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef511be7762e6a2090cfd1df1bdce718.jpg","text":"TemporaryFile(/tmp/multipartBody7160636669055369139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178783458,"filename":"image_14082025_06_23_09_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4f015e7a9a4ab48de8eac57f47155c0.jpg","text":"TemporaryFile(/tmp/multipartBody3535479040210069343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178783458,"filename":"image_14082025_06_22_49_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba078bf500873f330dc13e97b3655955.jpg","text":"TemporaryFile(/tmp/multipartBody7396374914618461402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178783458,"filename":"image_14082025_06_22_28_9174.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/296e89699061f168523bc8a4757dfbca.jpg","text":"TemporaryFile(/tmp/multipartBody8082884124739303155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178783458,"filename":"image_14082025_06_22_58_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8e3b9b3390ec6f22ccd9b368cdeffa1.jpg","text":"TemporaryFile(/tmp/multipartBody136610086286502223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178783458,"filename":"image_14082025_06_22_38_10272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027239","file1":"1377027236","file0":"1377027233","file4":"1377027245","file5":"1377027250","file3":"1377027242"},"map_files_photo_id_array":[{"photo_id":"1377027250","filename":"file5"},{"photo_id":"1377027239","filename":"file2"},{"photo_id":"1377027245","filename":"file4"},{"photo_id":"1377027236","filename":"file1"},{"photo_id":"1377027233","filename":"file0"},{"photo_id":"1377027242","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027250":["hashtag1","hashtag2"]},{"1377027245":["hashtag1","hashtag2"]},{"1377027239":["hashtag1","hashtag2"]},{"1377027233":["hashtag1","hashtag2"]},{"1377027242":["hashtag1","hashtag2"]},{"1377027236":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027250, 1377027245, 1377027239, 1377027233, 1377027242, 1377027236)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.511549949645996 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:39:42.495713 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/23/image_14082025_06_23_28_9143.jpg', '/media/data/images/14082025/06/23/image_14082025_06_23_39_10631.jpg', '/media/data/images/14082025/06/23/image_14082025_06_23_48_9181.jpg', '/media/data/images/14082025/06/23/image_14082025_06_23_58_10428.jpg', '/media/data/images/14082025/06/24/image_14082025_06_24_09_10497.jpg', '/media/data/images/14082025/06/24/image_14082025_06_24_18_9047.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/23/image_14082025_06_23_28_9143.jpg /media/data/images/14082025/06/23/image_14082025_06_23_39_10631.jpg /media/data/images/14082025/06/23/image_14082025_06_23_48_9181.jpg /media/data/images/14082025/06/23/image_14082025_06_23_58_10428.jpg /media/data/images/14082025/06/24/image_14082025_06_24_09_10497.jpg /media/data/images/14082025/06/24/image_14082025_06_24_18_9047.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027271","1377027268","1377027277","1377027265","1377027270","1377027273"],"photo_ids_order":["1377027265","1377027268","1377027270","1377027271","1377027273","1377027277"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4296c79974e945367a95240c616f3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5415642448040836092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178843573,"filename":"image_14082025_06_23_58_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f46d1d4b7bb35f476807fdde04caabd.jpg","text":"TemporaryFile(/tmp/multipartBody7515762732695843285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178843573,"filename":"image_14082025_06_23_39_10631.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b77a87a98621977bf21040619db08928.jpg","text":"TemporaryFile(/tmp/multipartBody7678587703265064428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178843573,"filename":"image_14082025_06_24_18_9047.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7522e7cdb9f8d0634b52556f51a1ecb2.jpg","text":"TemporaryFile(/tmp/multipartBody6799444422601931633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178843573,"filename":"image_14082025_06_23_28_9143.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb48d7ac07433a7ea44029a43ee2e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5108521785855024832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178843573,"filename":"image_14082025_06_23_48_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfa939597f361813e26acff08f86639b.jpg","text":"TemporaryFile(/tmp/multipartBody5615645708554940146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178843573,"filename":"image_14082025_06_24_09_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027270","file1":"1377027268","file0":"1377027265","file4":"1377027273","file5":"1377027277","file3":"1377027271"},"map_files_photo_id_array":[{"photo_id":"1377027277","filename":"file5"},{"photo_id":"1377027270","filename":"file2"},{"photo_id":"1377027273","filename":"file4"},{"photo_id":"1377027268","filename":"file1"},{"photo_id":"1377027265","filename":"file0"},{"photo_id":"1377027271","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027271":["hashtag1","hashtag2"]},{"1377027268":["hashtag1","hashtag2"]},{"1377027277":["hashtag1","hashtag2"]},{"1377027265":["hashtag1","hashtag2"]},{"1377027270":["hashtag1","hashtag2"]},{"1377027273":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027271, 1377027268, 1377027277, 1377027265, 1377027270, 1377027273)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.80006456375122 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:40:42.663369 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/24/image_14082025_06_24_28_10275.jpg', '/media/data/images/14082025/06/24/image_14082025_06_24_38_10258.jpg', '/media/data/images/14082025/06/24/image_14082025_06_24_49_10337.jpg', '/media/data/images/14082025/06/24/image_14082025_06_24_59_10281.jpg', '/media/data/images/14082025/06/25/image_14082025_06_25_08_9062.jpg', '/media/data/images/14082025/06/25/image_14082025_06_25_18_10257.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/24/image_14082025_06_24_28_10275.jpg /media/data/images/14082025/06/24/image_14082025_06_24_38_10258.jpg /media/data/images/14082025/06/24/image_14082025_06_24_49_10337.jpg /media/data/images/14082025/06/24/image_14082025_06_24_59_10281.jpg /media/data/images/14082025/06/25/image_14082025_06_25_08_9062.jpg /media/data/images/14082025/06/25/image_14082025_06_25_18_10257.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027304","1377027297","1377027301","1377027296","1377027299","1377027314"],"photo_ids_order":["1377027296","1377027297","1377027299","1377027301","1377027304","1377027314"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7fa03f67cb90c5f7d93f8a2ea39bcacf.jpg","text":"TemporaryFile(/tmp/multipartBody8274099336715234161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178903729,"filename":"image_14082025_06_25_08_9062.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30b6204a98660beab7c3798658c21000.jpg","text":"TemporaryFile(/tmp/multipartBody6383648513274402901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178903729,"filename":"image_14082025_06_24_38_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/02fbb0581333b72836a9d116a7b2b80e.jpg","text":"TemporaryFile(/tmp/multipartBody4174122215444359594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178903729,"filename":"image_14082025_06_24_59_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a6b6540be21e44e15c401249782eb75.jpg","text":"TemporaryFile(/tmp/multipartBody8744766608810729704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178903729,"filename":"image_14082025_06_24_28_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4263f188b9306093414b0a051bb60d45.jpg","text":"TemporaryFile(/tmp/multipartBody111229233461920609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178903729,"filename":"image_14082025_06_24_49_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3ae78277d4cd942978ce0faf1e5f690.jpg","text":"TemporaryFile(/tmp/multipartBody8839174644714057346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178903729,"filename":"image_14082025_06_25_18_10257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027299","file1":"1377027297","file0":"1377027296","file4":"1377027304","file5":"1377027314","file3":"1377027301"},"map_files_photo_id_array":[{"photo_id":"1377027314","filename":"file5"},{"photo_id":"1377027299","filename":"file2"},{"photo_id":"1377027304","filename":"file4"},{"photo_id":"1377027297","filename":"file1"},{"photo_id":"1377027296","filename":"file0"},{"photo_id":"1377027301","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027304":["hashtag1","hashtag2"]},{"1377027297":["hashtag1","hashtag2"]},{"1377027301":["hashtag1","hashtag2"]},{"1377027296":["hashtag1","hashtag2"]},{"1377027299":["hashtag1","hashtag2"]},{"1377027314":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027304, 1377027297, 1377027301, 1377027296, 1377027299, 1377027314)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.64348888397217 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:41:41.783400 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/25/image_14082025_06_25_29_10266.jpg', '/media/data/images/14082025/06/25/image_14082025_06_25_39_10345.jpg', '/media/data/images/14082025/06/25/image_14082025_06_25_48_9043.jpg', '/media/data/images/14082025/06/25/image_14082025_06_25_58_10263.jpg', '/media/data/images/14082025/06/26/image_14082025_06_26_09_10329.jpg', '/media/data/images/14082025/06/26/image_14082025_06_26_19_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/25/image_14082025_06_25_29_10266.jpg /media/data/images/14082025/06/25/image_14082025_06_25_39_10345.jpg /media/data/images/14082025/06/25/image_14082025_06_25_48_9043.jpg /media/data/images/14082025/06/25/image_14082025_06_25_58_10263.jpg /media/data/images/14082025/06/26/image_14082025_06_26_09_10329.jpg /media/data/images/14082025/06/26/image_14082025_06_26_19_10360.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027358","1377027360","1377027354","1377027362","1377027356","1377027359"],"photo_ids_order":["1377027354","1377027356","1377027358","1377027359","1377027360","1377027362"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11dec9967da156cd7d87efe25aed05b9.jpg","text":"TemporaryFile(/tmp/multipartBody4777085702629947129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178962806,"filename":"image_14082025_06_25_48_9043.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca1ba8e98cd0dbf8c6b312db4d910854.jpg","text":"TemporaryFile(/tmp/multipartBody7844728558976819036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178962806,"filename":"image_14082025_06_26_09_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d60f3cff92339bfb236e3d87524bff18.jpg","text":"TemporaryFile(/tmp/multipartBody2533799568237666351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178962806,"filename":"image_14082025_06_25_29_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa9c05c256f0863e7bcb77b231f58dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2808389679270269988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178962806,"filename":"image_14082025_06_26_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a47cef1a30def6b9594662f0d0be8c07.jpg","text":"TemporaryFile(/tmp/multipartBody3635666656581710768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178962806,"filename":"image_14082025_06_25_39_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e776bed7cf785bea5e7eadecf454d72.jpg","text":"TemporaryFile(/tmp/multipartBody142605307653417606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755178962806,"filename":"image_14082025_06_25_58_10263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027358","file1":"1377027356","file0":"1377027354","file4":"1377027360","file5":"1377027362","file3":"1377027359"},"map_files_photo_id_array":[{"photo_id":"1377027362","filename":"file5"},{"photo_id":"1377027358","filename":"file2"},{"photo_id":"1377027360","filename":"file4"},{"photo_id":"1377027356","filename":"file1"},{"photo_id":"1377027354","filename":"file0"},{"photo_id":"1377027359","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027358":["hashtag1","hashtag2"]},{"1377027360":["hashtag1","hashtag2"]},{"1377027354":["hashtag1","hashtag2"]},{"1377027362":["hashtag1","hashtag2"]},{"1377027356":["hashtag1","hashtag2"]},{"1377027359":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027358, 1377027360, 1377027354, 1377027362, 1377027356, 1377027359)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.386733531951904 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:42:41.879984 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/26/image_14082025_06_26_28_9211.jpg', '/media/data/images/14082025/06/26/image_14082025_06_26_39_10432.jpg', '/media/data/images/14082025/06/26/image_14082025_06_26_49_10403.jpg', '/media/data/images/14082025/06/26/image_14082025_06_26_58_9112.jpg', '/media/data/images/14082025/06/27/image_14082025_06_27_08_10333.jpg', '/media/data/images/14082025/06/27/image_14082025_06_27_18_9354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/26/image_14082025_06_26_28_9211.jpg /media/data/images/14082025/06/26/image_14082025_06_26_39_10432.jpg /media/data/images/14082025/06/26/image_14082025_06_26_49_10403.jpg /media/data/images/14082025/06/26/image_14082025_06_26_58_9112.jpg /media/data/images/14082025/06/27/image_14082025_06_27_08_10333.jpg /media/data/images/14082025/06/27/image_14082025_06_27_18_9354.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027394","1377027390","1377027387","1377027392","1377027398","1377027383"],"photo_ids_order":["1377027383","1377027387","1377027390","1377027392","1377027394","1377027398"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a029cb22cdd732a2fe99606f2e57acab.jpg","text":"TemporaryFile(/tmp/multipartBody1347328047443930675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179022836,"filename":"image_14082025_06_27_08_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/faa1eafce8c75eb0ee28ed863b79e2db.jpg","text":"TemporaryFile(/tmp/multipartBody1227745158754204906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179022836,"filename":"image_14082025_06_26_49_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fd275843b9a3b85a76c670b1e46c232.jpg","text":"TemporaryFile(/tmp/multipartBody5934762354399952194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179022836,"filename":"image_14082025_06_26_39_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b3aec8fc2039fa957d7b55eb5213dee.jpg","text":"TemporaryFile(/tmp/multipartBody6289591180390366439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179022836,"filename":"image_14082025_06_26_58_9112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb9d762776491c5c585b1c3346b930b1.jpg","text":"TemporaryFile(/tmp/multipartBody1157777884278239856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179022836,"filename":"image_14082025_06_27_18_9354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5234ac134e830f9f79fefae05e4d7dab.jpg","text":"TemporaryFile(/tmp/multipartBody680258685651761000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179022836,"filename":"image_14082025_06_26_28_9211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027390","file1":"1377027387","file0":"1377027383","file4":"1377027394","file5":"1377027398","file3":"1377027392"},"map_files_photo_id_array":[{"photo_id":"1377027398","filename":"file5"},{"photo_id":"1377027390","filename":"file2"},{"photo_id":"1377027394","filename":"file4"},{"photo_id":"1377027387","filename":"file1"},{"photo_id":"1377027383","filename":"file0"},{"photo_id":"1377027392","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027394":["hashtag1","hashtag2"]},{"1377027390":["hashtag1","hashtag2"]},{"1377027387":["hashtag1","hashtag2"]},{"1377027392":["hashtag1","hashtag2"]},{"1377027398":["hashtag1","hashtag2"]},{"1377027383":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027394, 1377027390, 1377027387, 1377027392, 1377027398, 1377027383)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.9994170665741 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:43:41.989846 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/27/image_14082025_06_27_28_10396.jpg', '/media/data/images/14082025/06/27/image_14082025_06_27_39_10353.jpg', '/media/data/images/14082025/06/27/image_14082025_06_27_49_10365.jpg', '/media/data/images/14082025/06/27/image_14082025_06_27_58_9106.jpg', '/media/data/images/14082025/06/28/image_14082025_06_28_09_10739.jpg', '/media/data/images/14082025/06/28/image_14082025_06_28_18_9127.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/27/image_14082025_06_27_28_10396.jpg /media/data/images/14082025/06/27/image_14082025_06_27_39_10353.jpg /media/data/images/14082025/06/27/image_14082025_06_27_49_10365.jpg /media/data/images/14082025/06/27/image_14082025_06_27_58_9106.jpg /media/data/images/14082025/06/28/image_14082025_06_28_09_10739.jpg /media/data/images/14082025/06/28/image_14082025_06_28_18_9127.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027416","1377027436","1377027430","1377027424","1377027427","1377027420"],"photo_ids_order":["1377027416","1377027420","1377027424","1377027427","1377027430","1377027436"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9947f76881de127a1df5641ee771a444.jpg","text":"TemporaryFile(/tmp/multipartBody8416375386689626472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179082964,"filename":"image_14082025_06_27_28_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a98a353db9f71d2818de39b300c9bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6035425437127758536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179082964,"filename":"image_14082025_06_28_18_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac92a83f5fdd882a7a56fdf4fe7bf89b.jpg","text":"TemporaryFile(/tmp/multipartBody7971339695838768016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179082964,"filename":"image_14082025_06_28_09_10739.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e2d7a03318be1effe2a1460449ce053.jpg","text":"TemporaryFile(/tmp/multipartBody3071948779970722207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179082964,"filename":"image_14082025_06_27_49_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dcade107dc7f55ea16fc75e749ac4ce0.jpg","text":"TemporaryFile(/tmp/multipartBody756057419593345499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179082964,"filename":"image_14082025_06_27_58_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de74671b2924354427236d2ddc563086.jpg","text":"TemporaryFile(/tmp/multipartBody274143416703098187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179082964,"filename":"image_14082025_06_27_39_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027424","file1":"1377027420","file0":"1377027416","file4":"1377027430","file5":"1377027436","file3":"1377027427"},"map_files_photo_id_array":[{"photo_id":"1377027436","filename":"file5"},{"photo_id":"1377027424","filename":"file2"},{"photo_id":"1377027430","filename":"file4"},{"photo_id":"1377027420","filename":"file1"},{"photo_id":"1377027416","filename":"file0"},{"photo_id":"1377027427","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027416":["hashtag1","hashtag2"]},{"1377027436":["hashtag1","hashtag2"]},{"1377027430":["hashtag1","hashtag2"]},{"1377027424":["hashtag1","hashtag2"]},{"1377027427":["hashtag1","hashtag2"]},{"1377027420":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027416, 1377027436, 1377027430, 1377027424, 1377027427, 1377027420)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.4121618270874 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:44:42.147994 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/28/image_14082025_06_28_28_10450.jpg', '/media/data/images/14082025/06/28/image_14082025_06_28_39_10422.jpg', '/media/data/images/14082025/06/28/image_14082025_06_28_48_9114.jpg', '/media/data/images/14082025/06/28/image_14082025_06_28_58_10346.jpg', '/media/data/images/14082025/06/29/image_14082025_06_29_09_10269.jpg', '/media/data/images/14082025/06/29/image_14082025_06_29_19_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/28/image_14082025_06_28_28_10450.jpg /media/data/images/14082025/06/28/image_14082025_06_28_39_10422.jpg /media/data/images/14082025/06/28/image_14082025_06_28_48_9114.jpg /media/data/images/14082025/06/28/image_14082025_06_28_58_10346.jpg /media/data/images/14082025/06/29/image_14082025_06_29_09_10269.jpg /media/data/images/14082025/06/29/image_14082025_06_29_19_10339.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027472","1377027466","1377027469","1377027477","1377027462","1377027456"],"photo_ids_order":["1377027456","1377027462","1377027466","1377027469","1377027472","1377027477"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/094524bc9345e1159738a4457110dfde.jpg","text":"TemporaryFile(/tmp/multipartBody4253405928663687605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179143085,"filename":"image_14082025_06_29_09_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e9b71c5971fdf6b2844a74058d70455.jpg","text":"TemporaryFile(/tmp/multipartBody2257797036132531427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179143085,"filename":"image_14082025_06_28_48_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e947adc2989eab06161677ac3e35eaf2.jpg","text":"TemporaryFile(/tmp/multipartBody1654627247862134959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179143085,"filename":"image_14082025_06_28_58_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c1b22fbf89835fee813c715c0a58f88.jpg","text":"TemporaryFile(/tmp/multipartBody1807395591494031549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179143085,"filename":"image_14082025_06_29_19_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c124d2b1371399fca4d5719774847d1.jpg","text":"TemporaryFile(/tmp/multipartBody3202812125107692601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179143085,"filename":"image_14082025_06_28_39_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9158e08a2a5b1d1c250f5399bfe29eb2.jpg","text":"TemporaryFile(/tmp/multipartBody908331288930345780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179143085,"filename":"image_14082025_06_28_28_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027466","file1":"1377027462","file0":"1377027456","file4":"1377027472","file5":"1377027477","file3":"1377027469"},"map_files_photo_id_array":[{"photo_id":"1377027477","filename":"file5"},{"photo_id":"1377027466","filename":"file2"},{"photo_id":"1377027472","filename":"file4"},{"photo_id":"1377027462","filename":"file1"},{"photo_id":"1377027456","filename":"file0"},{"photo_id":"1377027469","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027472":["hashtag1","hashtag2"]},{"1377027466":["hashtag1","hashtag2"]},{"1377027469":["hashtag1","hashtag2"]},{"1377027477":["hashtag1","hashtag2"]},{"1377027462":["hashtag1","hashtag2"]},{"1377027456":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027472, 1377027466, 1377027469, 1377027477, 1377027462, 1377027456)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.4009428024292 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:45:42.263338 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/29/image_14082025_06_29_28_9253.jpg', '/media/data/images/14082025/06/29/image_14082025_06_29_38_10339.jpg', '/media/data/images/14082025/06/29/image_14082025_06_29_49_10383.jpg', '/media/data/images/14082025/06/29/image_14082025_06_29_58_9185.jpg', '/media/data/images/14082025/06/30/image_14082025_06_30_09_10651.jpg', '/media/data/images/14082025/06/30/image_14082025_06_30_18_9164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/29/image_14082025_06_29_28_9253.jpg /media/data/images/14082025/06/29/image_14082025_06_29_38_10339.jpg /media/data/images/14082025/06/29/image_14082025_06_29_49_10383.jpg /media/data/images/14082025/06/29/image_14082025_06_29_58_9185.jpg /media/data/images/14082025/06/30/image_14082025_06_30_09_10651.jpg /media/data/images/14082025/06/30/image_14082025_06_30_18_9164.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027520","1377027498","1377027534","1377027501","1377027504","1377027497"],"photo_ids_order":["1377027497","1377027498","1377027501","1377027504","1377027520","1377027534"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38c5de7fa52236ce3152b9aa49372d46.jpg","text":"TemporaryFile(/tmp/multipartBody3844240078434492162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179203216,"filename":"image_14082025_06_30_09_10651.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73c3519abb9eadb40736cadfa0513b09.jpg","text":"TemporaryFile(/tmp/multipartBody1313293216631811810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179203216,"filename":"image_14082025_06_29_38_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15f1f7f56156208b27e35d0779ac658c.jpg","text":"TemporaryFile(/tmp/multipartBody3575728283719468528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179203216,"filename":"image_14082025_06_30_18_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/359bad0d6787bdfc2e9ec4143d28bf7c.jpg","text":"TemporaryFile(/tmp/multipartBody1841017110651683883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179203216,"filename":"image_14082025_06_29_49_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e4ada2b2d76efaaca8a45554376dba9.jpg","text":"TemporaryFile(/tmp/multipartBody4367531391746558669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179203216,"filename":"image_14082025_06_29_58_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb282b042731d59cf97e8e9ad53dc5da.jpg","text":"TemporaryFile(/tmp/multipartBody5826815975468104348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179203216,"filename":"image_14082025_06_29_28_9253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027501","file1":"1377027498","file0":"1377027497","file4":"1377027520","file5":"1377027534","file3":"1377027504"},"map_files_photo_id_array":[{"photo_id":"1377027534","filename":"file5"},{"photo_id":"1377027501","filename":"file2"},{"photo_id":"1377027520","filename":"file4"},{"photo_id":"1377027498","filename":"file1"},{"photo_id":"1377027497","filename":"file0"},{"photo_id":"1377027504","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027520":["hashtag1","hashtag2"]},{"1377027498":["hashtag1","hashtag2"]},{"1377027534":["hashtag1","hashtag2"]},{"1377027501":["hashtag1","hashtag2"]},{"1377027504":["hashtag1","hashtag2"]},{"1377027497":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027520, 1377027498, 1377027534, 1377027501, 1377027504, 1377027497)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36511015892029 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:46:42.363862 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/30/image_14082025_06_30_28_10291.jpg', '/media/data/images/14082025/06/30/image_14082025_06_30_38_10261.jpg', '/media/data/images/14082025/06/30/image_14082025_06_30_49_10260.jpg', '/media/data/images/14082025/06/30/image_14082025_06_30_59_10259.jpg', '/media/data/images/14082025/06/31/image_14082025_06_31_08_8974.jpg', '/media/data/images/14082025/06/31/image_14082025_06_31_18_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/30/image_14082025_06_30_28_10291.jpg /media/data/images/14082025/06/30/image_14082025_06_30_38_10261.jpg /media/data/images/14082025/06/30/image_14082025_06_30_49_10260.jpg /media/data/images/14082025/06/30/image_14082025_06_30_59_10259.jpg /media/data/images/14082025/06/31/image_14082025_06_31_08_8974.jpg /media/data/images/14082025/06/31/image_14082025_06_31_18_10473.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027568","1377027573","1377027564","1377027567","1377027566","1377027560"],"photo_ids_order":["1377027560","1377027564","1377027566","1377027567","1377027568","1377027573"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29defdab57a4d9cf2335199afadd7d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4401669703187937112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179263418,"filename":"image_14082025_06_31_08_8974.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8df68f59a40795ec3b7ebf3d824a76ae.jpg","text":"TemporaryFile(/tmp/multipartBody2256886063519607448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179263418,"filename":"image_14082025_06_31_18_10473.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c695b8a9ddb75a4841f8b4fda059d812.jpg","text":"TemporaryFile(/tmp/multipartBody9060626342710614911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179263418,"filename":"image_14082025_06_30_38_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9083521ae97999cebb25c1e8d5220e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1915823864456119318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179263418,"filename":"image_14082025_06_30_59_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/974c4cb44e6f41b6e915b7aecdadd26b.jpg","text":"TemporaryFile(/tmp/multipartBody7707056609782446233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179263418,"filename":"image_14082025_06_30_49_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/098c013cf714972317ca2e7fd415ef5b.jpg","text":"TemporaryFile(/tmp/multipartBody2965144990743769058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179263418,"filename":"image_14082025_06_30_28_10291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027566","file1":"1377027564","file0":"1377027560","file4":"1377027568","file5":"1377027573","file3":"1377027567"},"map_files_photo_id_array":[{"photo_id":"1377027573","filename":"file5"},{"photo_id":"1377027566","filename":"file2"},{"photo_id":"1377027568","filename":"file4"},{"photo_id":"1377027564","filename":"file1"},{"photo_id":"1377027560","filename":"file0"},{"photo_id":"1377027567","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027568":["hashtag1","hashtag2"]},{"1377027573":["hashtag1","hashtag2"]},{"1377027564":["hashtag1","hashtag2"]},{"1377027567":["hashtag1","hashtag2"]},{"1377027566":["hashtag1","hashtag2"]},{"1377027560":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027568, 1377027573, 1377027564, 1377027567, 1377027566, 1377027560)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.517608642578125 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:47:42.521685 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/31/image_14082025_06_31_29_10405.jpg', '/media/data/images/14082025/06/31/image_14082025_06_31_38_9068.jpg', '/media/data/images/14082025/06/31/image_14082025_06_31_48_10387.jpg', '/media/data/images/14082025/06/31/image_14082025_06_31_58_10276.jpg', '/media/data/images/14082025/06/32/image_14082025_06_32_09_10505.jpg', '/media/data/images/14082025/06/32/image_14082025_06_32_18_9096.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/31/image_14082025_06_31_29_10405.jpg /media/data/images/14082025/06/31/image_14082025_06_31_38_9068.jpg /media/data/images/14082025/06/31/image_14082025_06_31_48_10387.jpg /media/data/images/14082025/06/31/image_14082025_06_31_58_10276.jpg /media/data/images/14082025/06/32/image_14082025_06_32_09_10505.jpg /media/data/images/14082025/06/32/image_14082025_06_32_18_9096.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027591","1377027594","1377027588","1377027590","1377027587","1377027589"],"photo_ids_order":["1377027587","1377027588","1377027589","1377027590","1377027591","1377027594"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4d250c6d5b3df2c106c3aa647cd4d7b.jpg","text":"TemporaryFile(/tmp/multipartBody445768030325040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179324057,"filename":"image_14082025_06_32_09_10505.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b42ef0907a2bd163e2663e487405f47b.jpg","text":"TemporaryFile(/tmp/multipartBody4994135182733459305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179324057,"filename":"image_14082025_06_32_18_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c28ba2be9762d99b93f7dd95f439f114.jpg","text":"TemporaryFile(/tmp/multipartBody7852120407404157939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179324057,"filename":"image_14082025_06_31_38_9068.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/26f2259908c9a5eb5cb79090aa689d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4661875353888200194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179324057,"filename":"image_14082025_06_31_58_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0017d861b8e0590205c8830831189e98.jpg","text":"TemporaryFile(/tmp/multipartBody2813666935623696976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179324057,"filename":"image_14082025_06_31_29_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/763c97c607fff9a7fac1e5570918fe62.jpg","text":"TemporaryFile(/tmp/multipartBody5834471030710221808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179324057,"filename":"image_14082025_06_31_48_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027589","file1":"1377027588","file0":"1377027587","file4":"1377027591","file5":"1377027594","file3":"1377027590"},"map_files_photo_id_array":[{"photo_id":"1377027594","filename":"file5"},{"photo_id":"1377027589","filename":"file2"},{"photo_id":"1377027591","filename":"file4"},{"photo_id":"1377027588","filename":"file1"},{"photo_id":"1377027587","filename":"file0"},{"photo_id":"1377027590","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027591":["hashtag1","hashtag2"]},{"1377027594":["hashtag1","hashtag2"]},{"1377027588":["hashtag1","hashtag2"]},{"1377027590":["hashtag1","hashtag2"]},{"1377027587":["hashtag1","hashtag2"]},{"1377027589":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027591, 1377027594, 1377027588, 1377027590, 1377027587, 1377027589)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.10758328437805 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:48:42.609568 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/32/image_14082025_06_32_28_10279.jpg', '/media/data/images/14082025/06/32/image_14082025_06_32_39_10263.jpg', '/media/data/images/14082025/06/32/image_14082025_06_32_49_10327.jpg', '/media/data/images/14082025/06/32/image_14082025_06_32_58_9050.jpg', '/media/data/images/14082025/06/32/image_14082025_06_33_09_10519.jpg', '/media/data/images/14082025/06/33/image_14082025_06_33_19_10503.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/32/image_14082025_06_32_28_10279.jpg /media/data/images/14082025/06/32/image_14082025_06_32_39_10263.jpg /media/data/images/14082025/06/32/image_14082025_06_32_49_10327.jpg /media/data/images/14082025/06/32/image_14082025_06_32_58_9050.jpg /media/data/images/14082025/06/32/image_14082025_06_33_09_10519.jpg /media/data/images/14082025/06/33/image_14082025_06_33_19_10503.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027614","1377027625","1377027619","1377027618","1377027621","1377027620"],"photo_ids_order":["1377027614","1377027618","1377027619","1377027620","1377027621","1377027625"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0742b69dd4ef8045a2b23d1dd2258d0.jpg","text":"TemporaryFile(/tmp/multipartBody1660974772644878743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179383626,"filename":"image_14082025_06_32_28_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0285fdec5cefc482f96cbf546916c337.jpg","text":"TemporaryFile(/tmp/multipartBody2868257406855764038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179383626,"filename":"image_14082025_06_33_19_10503.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c786a0a8d0871e719f9c0b4a77ba22ef.jpg","text":"TemporaryFile(/tmp/multipartBody8280705880368820432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179383626,"filename":"image_14082025_06_32_49_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59cdc98730ff0c5b0e37124c861c08bd.jpg","text":"TemporaryFile(/tmp/multipartBody1475642371859906374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179383626,"filename":"image_14082025_06_32_39_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6c3af5817197de33258a5ad9d2ae5ed.jpg","text":"TemporaryFile(/tmp/multipartBody1280864812934271455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179383626,"filename":"image_14082025_06_33_09_10519.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb107e09ebfa7e139c2feb126060cde2.jpg","text":"TemporaryFile(/tmp/multipartBody6412906601545916291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179383626,"filename":"image_14082025_06_32_58_9050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027619","file1":"1377027618","file0":"1377027614","file4":"1377027621","file5":"1377027625","file3":"1377027620"},"map_files_photo_id_array":[{"photo_id":"1377027625","filename":"file5"},{"photo_id":"1377027619","filename":"file2"},{"photo_id":"1377027621","filename":"file4"},{"photo_id":"1377027618","filename":"file1"},{"photo_id":"1377027614","filename":"file0"},{"photo_id":"1377027620","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027614":["hashtag1","hashtag2"]},{"1377027625":["hashtag1","hashtag2"]},{"1377027619":["hashtag1","hashtag2"]},{"1377027618":["hashtag1","hashtag2"]},{"1377027621":["hashtag1","hashtag2"]},{"1377027620":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027614, 1377027625, 1377027619, 1377027618, 1377027621, 1377027620)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.44461131095886 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:49:42.734956 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/33/image_14082025_06_33_28_9172.jpg', '/media/data/images/14082025/06/33/image_14082025_06_33_38_10256.jpg', '/media/data/images/14082025/06/33/image_14082025_06_33_49_10352.jpg', '/media/data/images/14082025/06/33/image_14082025_06_33_58_9061.jpg', '/media/data/images/14082025/06/33/image_14082025_06_34_08_10556.jpg', '/media/data/images/14082025/06/34/image_14082025_06_34_28_9086.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/33/image_14082025_06_33_28_9172.jpg /media/data/images/14082025/06/33/image_14082025_06_33_38_10256.jpg /media/data/images/14082025/06/33/image_14082025_06_33_49_10352.jpg /media/data/images/14082025/06/33/image_14082025_06_33_58_9061.jpg /media/data/images/14082025/06/33/image_14082025_06_34_08_10556.jpg /media/data/images/14082025/06/34/image_14082025_06_34_28_9086.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027652","1377027649","1377027651","1377027647","1377027656","1377027644"],"photo_ids_order":["1377027644","1377027647","1377027649","1377027651","1377027652","1377027656"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e23bac366597210187a90a7d266290d.jpg","text":"TemporaryFile(/tmp/multipartBody3198867363065707761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179443769,"filename":"image_14082025_06_34_08_10556.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/773b2dde5f4d8e77d5474364a47f4050.jpg","text":"TemporaryFile(/tmp/multipartBody7449219376711252094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179443769,"filename":"image_14082025_06_33_49_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8467058b5635e48bec597ed088f5b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5367955108945709461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179443769,"filename":"image_14082025_06_33_58_9061.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/743a625ba416ca11d2e2e3c86b65a2e8.jpg","text":"TemporaryFile(/tmp/multipartBody2107972740581022216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179443769,"filename":"image_14082025_06_33_38_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bec4833e4283b3181e1fdf18da70c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4103075129373925433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179443769,"filename":"image_14082025_06_34_28_9086.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2ef3957401ce6af8af7e0a6208aaf6e.jpg","text":"TemporaryFile(/tmp/multipartBody7815316026791278690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179443769,"filename":"image_14082025_06_33_28_9172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027649","file1":"1377027647","file0":"1377027644","file4":"1377027652","file5":"1377027656","file3":"1377027651"},"map_files_photo_id_array":[{"photo_id":"1377027656","filename":"file5"},{"photo_id":"1377027649","filename":"file2"},{"photo_id":"1377027652","filename":"file4"},{"photo_id":"1377027647","filename":"file1"},{"photo_id":"1377027644","filename":"file0"},{"photo_id":"1377027651","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027652":["hashtag1","hashtag2"]},{"1377027649":["hashtag1","hashtag2"]},{"1377027651":["hashtag1","hashtag2"]},{"1377027647":["hashtag1","hashtag2"]},{"1377027656":["hashtag1","hashtag2"]},{"1377027644":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027652, 1377027649, 1377027651, 1377027647, 1377027656, 1377027644)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.12938928604126 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:50:41.846911 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/34/image_14082025_06_34_38_10356.jpg', '/media/data/images/14082025/06/34/image_14082025_06_34_49_10499.jpg', '/media/data/images/14082025/06/34/image_14082025_06_34_58_9142.jpg', '/media/data/images/14082025/06/34/image_14082025_06_35_09_10719.jpg', '/media/data/images/14082025/06/35/image_14082025_06_35_18_9112.jpg', '/media/data/images/14082025/06/35/image_14082025_06_35_28_10380.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/34/image_14082025_06_34_38_10356.jpg /media/data/images/14082025/06/34/image_14082025_06_34_49_10499.jpg /media/data/images/14082025/06/34/image_14082025_06_34_58_9142.jpg /media/data/images/14082025/06/34/image_14082025_06_35_09_10719.jpg /media/data/images/14082025/06/35/image_14082025_06_35_18_9112.jpg /media/data/images/14082025/06/35/image_14082025_06_35_28_10380.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027682","1377027672","1377027689","1377027680","1377027674","1377027677"],"photo_ids_order":["1377027672","1377027674","1377027677","1377027680","1377027682","1377027689"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d45656fb332771ceaad70b28246ade61.jpg","text":"TemporaryFile(/tmp/multipartBody4925879829595035735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179502812,"filename":"image_14082025_06_35_18_9112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5185b79986236da2eed8cf67c39a8a31.jpg","text":"TemporaryFile(/tmp/multipartBody375522400245789705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179502812,"filename":"image_14082025_06_34_38_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7d929f17f5a23a9cd6c15f7ae098a95.jpg","text":"TemporaryFile(/tmp/multipartBody410835493149317276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179502812,"filename":"image_14082025_06_35_28_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e97753db8b6dcd17d749f5ca2b1ecfa4.jpg","text":"TemporaryFile(/tmp/multipartBody9048357734653110879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179502812,"filename":"image_14082025_06_35_09_10719.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9fb388a2b3e94af16048026d5ec7246f.jpg","text":"TemporaryFile(/tmp/multipartBody1973866971917706659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179502812,"filename":"image_14082025_06_34_49_10499.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79552ec771979124cdfe14317dd76252.jpg","text":"TemporaryFile(/tmp/multipartBody6976368727806727018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179502812,"filename":"image_14082025_06_34_58_9142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027677","file1":"1377027674","file0":"1377027672","file4":"1377027682","file5":"1377027689","file3":"1377027680"},"map_files_photo_id_array":[{"photo_id":"1377027689","filename":"file5"},{"photo_id":"1377027677","filename":"file2"},{"photo_id":"1377027682","filename":"file4"},{"photo_id":"1377027674","filename":"file1"},{"photo_id":"1377027672","filename":"file0"},{"photo_id":"1377027680","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027682":["hashtag1","hashtag2"]},{"1377027672":["hashtag1","hashtag2"]},{"1377027689":["hashtag1","hashtag2"]},{"1377027680":["hashtag1","hashtag2"]},{"1377027674":["hashtag1","hashtag2"]},{"1377027677":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027682, 1377027672, 1377027689, 1377027680, 1377027674, 1377027677)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.37343430519104 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:51:41.941510 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/35/image_14082025_06_35_39_10333.jpg', '/media/data/images/14082025/06/35/image_14082025_06_35_49_10439.jpg', '/media/data/images/14082025/06/35/image_14082025_06_35_58_9098.jpg', '/media/data/images/14082025/06/36/image_14082025_06_36_09_10509.jpg', '/media/data/images/14082025/06/36/image_14082025_06_36_19_10390.jpg', '/media/data/images/14082025/06/36/image_14082025_06_36_28_9178.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/35/image_14082025_06_35_39_10333.jpg /media/data/images/14082025/06/35/image_14082025_06_35_49_10439.jpg /media/data/images/14082025/06/35/image_14082025_06_35_58_9098.jpg /media/data/images/14082025/06/36/image_14082025_06_36_09_10509.jpg /media/data/images/14082025/06/36/image_14082025_06_36_19_10390.jpg /media/data/images/14082025/06/36/image_14082025_06_36_28_9178.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027745","1377027748","1377027744","1377027747","1377027746","1377027743"],"photo_ids_order":["1377027743","1377027744","1377027745","1377027746","1377027747","1377027748"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ad8485e10211653cea777d997a695310.jpg","text":"TemporaryFile(/tmp/multipartBody4826137623770423279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179562920,"filename":"image_14082025_06_35_58_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a883978919fdcdf00ed27aa91c0c62d7.jpg","text":"TemporaryFile(/tmp/multipartBody2778851418907778031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179562920,"filename":"image_14082025_06_36_28_9178.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ceca074a3ef48f491c12e1dd5eb7ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody7399180901879611455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179562920,"filename":"image_14082025_06_35_49_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6c27505e905b5418b0d0ff3f67d04e6.jpg","text":"TemporaryFile(/tmp/multipartBody7092767224887231452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179562920,"filename":"image_14082025_06_36_19_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/625b5dab03f30ca371355a8e36b3c746.jpg","text":"TemporaryFile(/tmp/multipartBody5581388284278263193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179562920,"filename":"image_14082025_06_36_09_10509.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6367c0147704cd350e9bf9500dff95ac.jpg","text":"TemporaryFile(/tmp/multipartBody4339292541500783303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179562920,"filename":"image_14082025_06_35_39_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027745","file1":"1377027744","file0":"1377027743","file4":"1377027747","file5":"1377027748","file3":"1377027746"},"map_files_photo_id_array":[{"photo_id":"1377027748","filename":"file5"},{"photo_id":"1377027745","filename":"file2"},{"photo_id":"1377027747","filename":"file4"},{"photo_id":"1377027744","filename":"file1"},{"photo_id":"1377027743","filename":"file0"},{"photo_id":"1377027746","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027745":["hashtag1","hashtag2"]},{"1377027748":["hashtag1","hashtag2"]},{"1377027744":["hashtag1","hashtag2"]},{"1377027747":["hashtag1","hashtag2"]},{"1377027746":["hashtag1","hashtag2"]},{"1377027743":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027745, 1377027748, 1377027744, 1377027747, 1377027746, 1377027743)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.51457357406616 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:52:22.904025 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/36/image_14082025_06_36_39_10539.jpg', '/media/data/images/14082025/06/36/image_14082025_06_36_48_9149.jpg', '/media/data/images/14082025/06/36/image_14082025_06_36_58_10264.jpg', '/media/data/images/14082025/06/37/image_14082025_06_37_08_10361.jpg', '/media/data/images/14082025/06/37/image_14082025_06_37_19_10494.jpg', '/media/data/images/14082025/06/37/image_14082025_06_37_28_9035.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/36/image_14082025_06_36_39_10539.jpg /media/data/images/14082025/06/36/image_14082025_06_36_48_9149.jpg /media/data/images/14082025/06/36/image_14082025_06_36_58_10264.jpg /media/data/images/14082025/06/37/image_14082025_06_37_08_10361.jpg /media/data/images/14082025/06/37/image_14082025_06_37_19_10494.jpg /media/data/images/14082025/06/37/image_14082025_06_37_28_9035.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027760","1377027771","1377027768","1377027756","1377027764","1377027773"],"photo_ids_order":["1377027756","1377027760","1377027764","1377027768","1377027771","1377027773"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7dc966d05656ecccb91d2c553ddc4179.jpg","text":"TemporaryFile(/tmp/multipartBody3261566595776354164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179603932,"filename":"image_14082025_06_36_48_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60589744ea8f6e51fd3245927c882eff.jpg","text":"TemporaryFile(/tmp/multipartBody2576980998909056363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179603932,"filename":"image_14082025_06_37_19_10494.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ddfdd16419854a93f0fbc341961ee582.jpg","text":"TemporaryFile(/tmp/multipartBody7099238718910295512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179603932,"filename":"image_14082025_06_37_08_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a6132462cc219000b94c03b96dddda81.jpg","text":"TemporaryFile(/tmp/multipartBody474383899576869134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179603932,"filename":"image_14082025_06_36_39_10539.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c30b1d8652416be30caab71e06eb29f.jpg","text":"TemporaryFile(/tmp/multipartBody965207976437141251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179603932,"filename":"image_14082025_06_36_58_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/493ba5977840a3e656e0302f0b2f3c63.jpg","text":"TemporaryFile(/tmp/multipartBody6906895259555812568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179603932,"filename":"image_14082025_06_37_28_9035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027764","file1":"1377027760","file0":"1377027756","file4":"1377027771","file5":"1377027773","file3":"1377027768"},"map_files_photo_id_array":[{"photo_id":"1377027773","filename":"file5"},{"photo_id":"1377027764","filename":"file2"},{"photo_id":"1377027771","filename":"file4"},{"photo_id":"1377027760","filename":"file1"},{"photo_id":"1377027756","filename":"file0"},{"photo_id":"1377027768","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027760":["hashtag1","hashtag2"]},{"1377027771":["hashtag1","hashtag2"]},{"1377027768":["hashtag1","hashtag2"]},{"1377027756":["hashtag1","hashtag2"]},{"1377027764":["hashtag1","hashtag2"]},{"1377027773":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027760, 1377027771, 1377027768, 1377027756, 1377027764, 1377027773)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.85011434555054 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:53:22.013851 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/37/image_14082025_06_37_39_10640.jpg', '/media/data/images/14082025/06/37/image_14082025_06_37_48_9194.jpg', '/media/data/images/14082025/06/37/image_14082025_06_37_58_10282.jpg', '/media/data/images/14082025/06/38/image_14082025_06_38_09_10439.jpg', '/media/data/images/14082025/06/38/image_14082025_06_38_19_10291.jpg', '/media/data/images/14082025/06/38/image_14082025_06_38_28_9062.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/37/image_14082025_06_37_39_10640.jpg /media/data/images/14082025/06/37/image_14082025_06_37_48_9194.jpg /media/data/images/14082025/06/37/image_14082025_06_37_58_10282.jpg /media/data/images/14082025/06/38/image_14082025_06_38_09_10439.jpg /media/data/images/14082025/06/38/image_14082025_06_38_19_10291.jpg /media/data/images/14082025/06/38/image_14082025_06_38_28_9062.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027796","1377027792","1377027780","1377027804","1377027801","1377027787"],"photo_ids_order":["1377027780","1377027787","1377027792","1377027796","1377027801","1377027804"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2efbdaaa28a1b37ba287f4e6fd6cd9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5368230280145906254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179663054,"filename":"image_14082025_06_38_09_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82957335d521658947ce4532fa082355.jpg","text":"TemporaryFile(/tmp/multipartBody1174709445326343807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179663054,"filename":"image_14082025_06_37_58_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd6eb14e6397089cb1713c1527494886.jpg","text":"TemporaryFile(/tmp/multipartBody5842179895654616211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179663054,"filename":"image_14082025_06_37_39_10640.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b38b23be47c71bf21e7476e68a8a7256.jpg","text":"TemporaryFile(/tmp/multipartBody4825820439985894510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179663054,"filename":"image_14082025_06_38_28_9062.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fdd0bb1c7b5b2708a26618fc82e42fe.jpg","text":"TemporaryFile(/tmp/multipartBody7304221014717875948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179663054,"filename":"image_14082025_06_38_19_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab340c8bc1fb9658d64d13c77c7c37ed.jpg","text":"TemporaryFile(/tmp/multipartBody5466960251601243800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179663054,"filename":"image_14082025_06_37_48_9194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027792","file1":"1377027787","file0":"1377027780","file4":"1377027801","file5":"1377027804","file3":"1377027796"},"map_files_photo_id_array":[{"photo_id":"1377027804","filename":"file5"},{"photo_id":"1377027792","filename":"file2"},{"photo_id":"1377027801","filename":"file4"},{"photo_id":"1377027787","filename":"file1"},{"photo_id":"1377027780","filename":"file0"},{"photo_id":"1377027796","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027796":["hashtag1","hashtag2"]},{"1377027792":["hashtag1","hashtag2"]},{"1377027780":["hashtag1","hashtag2"]},{"1377027804":["hashtag1","hashtag2"]},{"1377027801":["hashtag1","hashtag2"]},{"1377027787":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027796, 1377027792, 1377027780, 1377027804, 1377027801, 1377027787)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.88262724876404 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:54:22.150771 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/38/image_14082025_06_38_38_10329.jpg', '/media/data/images/14082025/06/38/image_14082025_06_38_49_10381.jpg', '/media/data/images/14082025/06/38/image_14082025_06_38_59_10251.jpg', '/media/data/images/14082025/06/39/image_14082025_06_39_08_8963.jpg', '/media/data/images/14082025/06/39/image_14082025_06_39_18_10266.jpg', '/media/data/images/14082025/06/39/image_14082025_06_39_28_10248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/38/image_14082025_06_38_38_10329.jpg /media/data/images/14082025/06/38/image_14082025_06_38_49_10381.jpg /media/data/images/14082025/06/38/image_14082025_06_38_59_10251.jpg /media/data/images/14082025/06/39/image_14082025_06_39_08_8963.jpg /media/data/images/14082025/06/39/image_14082025_06_39_18_10266.jpg /media/data/images/14082025/06/39/image_14082025_06_39_28_10248.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027841","1377027844","1377027837","1377027822","1377027828","1377027833"],"photo_ids_order":["1377027822","1377027828","1377027833","1377027837","1377027841","1377027844"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc1a582c6a7299e756c30311c6259b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2802914308632043259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179723264,"filename":"image_14082025_06_39_18_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/329137bb9deda31a454255698b954c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7073219959951672984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179723264,"filename":"image_14082025_06_39_28_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd4419a2628890a518904d1dff2e92ec.jpg","text":"TemporaryFile(/tmp/multipartBody1139437772856374782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179723264,"filename":"image_14082025_06_39_08_8963.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50dce04cf54ce721f8eff44a24c0c744.jpg","text":"TemporaryFile(/tmp/multipartBody7827557131277007611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179723264,"filename":"image_14082025_06_38_38_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f8958caa388bbf3fc9af54199a7790b.jpg","text":"TemporaryFile(/tmp/multipartBody6937451913388027725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179723264,"filename":"image_14082025_06_38_49_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/342b2ded53bea0fc54820d91ca62d4f9.jpg","text":"TemporaryFile(/tmp/multipartBody8860536376654157033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179723264,"filename":"image_14082025_06_38_59_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027833","file1":"1377027828","file0":"1377027822","file4":"1377027841","file5":"1377027844","file3":"1377027837"},"map_files_photo_id_array":[{"photo_id":"1377027844","filename":"file5"},{"photo_id":"1377027833","filename":"file2"},{"photo_id":"1377027841","filename":"file4"},{"photo_id":"1377027828","filename":"file1"},{"photo_id":"1377027822","filename":"file0"},{"photo_id":"1377027837","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027841":["hashtag1","hashtag2"]},{"1377027844":["hashtag1","hashtag2"]},{"1377027837":["hashtag1","hashtag2"]},{"1377027822":["hashtag1","hashtag2"]},{"1377027828":["hashtag1","hashtag2"]},{"1377027833":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027841, 1377027844, 1377027837, 1377027822, 1377027828, 1377027833)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.16536903381348 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:55:22.266574 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/39/image_14082025_06_39_39_10248.jpg', '/media/data/images/14082025/06/39/image_14082025_06_39_49_10262.jpg', '/media/data/images/14082025/06/39/image_14082025_06_39_58_9059.jpg', '/media/data/images/14082025/06/39/image_14082025_06_40_09_10700.jpg', '/media/data/images/14082025/06/40/image_14082025_06_40_19_10270.jpg', '/media/data/images/14082025/06/40/image_14082025_06_40_28_9043.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/39/image_14082025_06_39_39_10248.jpg /media/data/images/14082025/06/39/image_14082025_06_39_49_10262.jpg /media/data/images/14082025/06/39/image_14082025_06_39_58_9059.jpg /media/data/images/14082025/06/39/image_14082025_06_40_09_10700.jpg /media/data/images/14082025/06/40/image_14082025_06_40_19_10270.jpg /media/data/images/14082025/06/40/image_14082025_06_40_28_9043.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027880","1377027883","1377027867","1377027864","1377027875","1377027872"],"photo_ids_order":["1377027864","1377027867","1377027872","1377027875","1377027880","1377027883"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff72e7b7f60636d50ddb898365c1a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody7930655606935574242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179783340,"filename":"image_14082025_06_40_19_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9be677dd21b47e8d0076932b3e503311.jpg","text":"TemporaryFile(/tmp/multipartBody2222943504662424767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179783340,"filename":"image_14082025_06_40_28_9043.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e50b90fc7c76a4cbc9b8e78bfba38b0.jpg","text":"TemporaryFile(/tmp/multipartBody1042702769784165370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179783340,"filename":"image_14082025_06_39_49_10262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c3f27ce7d5ab2b018564ff0c508958b.jpg","text":"TemporaryFile(/tmp/multipartBody9156547277001059327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179783340,"filename":"image_14082025_06_39_39_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c33fc1fdce3b843e71cf0fb124e80165.jpg","text":"TemporaryFile(/tmp/multipartBody6599199425559724328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179783340,"filename":"image_14082025_06_40_09_10700.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2266048e45f19d200ceb5e115eac5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2954531298229345569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179783340,"filename":"image_14082025_06_39_58_9059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027872","file1":"1377027867","file0":"1377027864","file4":"1377027880","file5":"1377027883","file3":"1377027875"},"map_files_photo_id_array":[{"photo_id":"1377027883","filename":"file5"},{"photo_id":"1377027872","filename":"file2"},{"photo_id":"1377027880","filename":"file4"},{"photo_id":"1377027867","filename":"file1"},{"photo_id":"1377027864","filename":"file0"},{"photo_id":"1377027875","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027880":["hashtag1","hashtag2"]},{"1377027883":["hashtag1","hashtag2"]},{"1377027867":["hashtag1","hashtag2"]},{"1377027864":["hashtag1","hashtag2"]},{"1377027875":["hashtag1","hashtag2"]},{"1377027872":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027880, 1377027883, 1377027867, 1377027864, 1377027875, 1377027872)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.57647371292114 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:56:22.384492 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/40/image_14082025_06_40_38_10242.jpg', '/media/data/images/14082025/06/40/image_14082025_06_40_48_10252.jpg', '/media/data/images/14082025/06/40/image_14082025_06_40_59_10359.jpg', '/media/data/images/14082025/06/41/image_14082025_06_41_08_9129.jpg', '/media/data/images/14082025/06/41/image_14082025_06_41_18_10295.jpg', '/media/data/images/14082025/06/41/image_14082025_06_41_28_10264.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/40/image_14082025_06_40_38_10242.jpg /media/data/images/14082025/06/40/image_14082025_06_40_48_10252.jpg /media/data/images/14082025/06/40/image_14082025_06_40_59_10359.jpg /media/data/images/14082025/06/41/image_14082025_06_41_08_9129.jpg /media/data/images/14082025/06/41/image_14082025_06_41_18_10295.jpg /media/data/images/14082025/06/41/image_14082025_06_41_28_10264.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027904","1377027901","1377027891","1377027912","1377027896","1377027908"],"photo_ids_order":["1377027891","1377027896","1377027901","1377027904","1377027908","1377027912"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aaccc09f3f496234aa00c82088e8b9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2603250888050821489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179843510,"filename":"image_14082025_06_41_08_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13e4a4e41b0eb6edeccae022b25ba5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1703723750198635224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179843510,"filename":"image_14082025_06_40_59_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09c8f97f9688a7b747a06272105d369e.jpg","text":"TemporaryFile(/tmp/multipartBody5743339089522415933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179843510,"filename":"image_14082025_06_40_38_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7aaf67e260aaaee87514f3b657a1d1b8.jpg","text":"TemporaryFile(/tmp/multipartBody5423949104473017503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179843510,"filename":"image_14082025_06_41_28_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67493ffd735426e166457846a28c0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody6720178458390966504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179843510,"filename":"image_14082025_06_40_48_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99fd004e8bae4d06fbecbe6be3fcd02a.jpg","text":"TemporaryFile(/tmp/multipartBody8321313747491160214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179843510,"filename":"image_14082025_06_41_18_10295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027901","file1":"1377027896","file0":"1377027891","file4":"1377027908","file5":"1377027912","file3":"1377027904"},"map_files_photo_id_array":[{"photo_id":"1377027912","filename":"file5"},{"photo_id":"1377027901","filename":"file2"},{"photo_id":"1377027908","filename":"file4"},{"photo_id":"1377027896","filename":"file1"},{"photo_id":"1377027891","filename":"file0"},{"photo_id":"1377027904","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027904":["hashtag1","hashtag2"]},{"1377027901":["hashtag1","hashtag2"]},{"1377027891":["hashtag1","hashtag2"]},{"1377027912":["hashtag1","hashtag2"]},{"1377027896":["hashtag1","hashtag2"]},{"1377027908":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027904, 1377027901, 1377027891, 1377027912, 1377027896, 1377027908)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.07959818840027 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:57:22.445321 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/41/image_14082025_06_41_39_10585.jpg', '/media/data/images/14082025/06/41/image_14082025_06_41_48_9157.jpg', '/media/data/images/14082025/06/41/image_14082025_06_41_58_10248.jpg', '/media/data/images/14082025/06/42/image_14082025_06_42_09_10458.jpg', '/media/data/images/14082025/06/42/image_14082025_06_42_18_9167.jpg', '/media/data/images/14082025/06/42/image_14082025_06_42_28_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/41/image_14082025_06_41_39_10585.jpg /media/data/images/14082025/06/41/image_14082025_06_41_48_9157.jpg /media/data/images/14082025/06/41/image_14082025_06_41_58_10248.jpg /media/data/images/14082025/06/42/image_14082025_06_42_09_10458.jpg /media/data/images/14082025/06/42/image_14082025_06_42_18_9167.jpg /media/data/images/14082025/06/42/image_14082025_06_42_28_10306.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027922","1377027931","1377027938","1377027926","1377027941","1377027935"],"photo_ids_order":["1377027922","1377027926","1377027931","1377027935","1377027938","1377027941"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f49b8fe0db59e59f9342eca0da06de5.jpg","text":"TemporaryFile(/tmp/multipartBody2444882627369566113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179903498,"filename":"image_14082025_06_41_39_10585.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/127a29d6914ba34fb1fa7a125c47ff6b.jpg","text":"TemporaryFile(/tmp/multipartBody6673934890861300392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179903498,"filename":"image_14082025_06_41_58_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a1500fe5d21003a30c6828448bd7449.jpg","text":"TemporaryFile(/tmp/multipartBody3210668221285094460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179903498,"filename":"image_14082025_06_42_18_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4398aa3fd6ea34b0a31c033a5e5ba89.jpg","text":"TemporaryFile(/tmp/multipartBody7548942209801464609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179903498,"filename":"image_14082025_06_41_48_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c4b8bceccaabbee89040ec90a2da4f2.jpg","text":"TemporaryFile(/tmp/multipartBody892180562477279391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179903498,"filename":"image_14082025_06_42_28_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c31a3ee41976881d00e15228afee97e8.jpg","text":"TemporaryFile(/tmp/multipartBody860730099432500759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755179903498,"filename":"image_14082025_06_42_09_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027931","file1":"1377027926","file0":"1377027922","file4":"1377027938","file5":"1377027941","file3":"1377027935"},"map_files_photo_id_array":[{"photo_id":"1377027941","filename":"file5"},{"photo_id":"1377027931","filename":"file2"},{"photo_id":"1377027938","filename":"file4"},{"photo_id":"1377027926","filename":"file1"},{"photo_id":"1377027922","filename":"file0"},{"photo_id":"1377027935","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027922":["hashtag1","hashtag2"]},{"1377027931":["hashtag1","hashtag2"]},{"1377027938":["hashtag1","hashtag2"]},{"1377027926":["hashtag1","hashtag2"]},{"1377027941":["hashtag1","hashtag2"]},{"1377027935":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027922, 1377027931, 1377027938, 1377027926, 1377027941, 1377027935)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.5271155834198 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 15:59:03.006479 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/42/image_14082025_06_42_39_10444.jpg', '/media/data/images/14082025/06/42/image_14082025_06_42_48_9148.jpg', '/media/data/images/14082025/06/42/image_14082025_06_42_58_10363.jpg', '/media/data/images/14082025/06/43/image_14082025_06_43_09_10333.jpg', '/media/data/images/14082025/06/43/image_14082025_06_43_18_9189.jpg', '/media/data/images/14082025/06/43/image_14082025_06_43_28_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/42/image_14082025_06_42_39_10444.jpg /media/data/images/14082025/06/42/image_14082025_06_42_48_9148.jpg /media/data/images/14082025/06/42/image_14082025_06_42_58_10363.jpg /media/data/images/14082025/06/43/image_14082025_06_43_09_10333.jpg /media/data/images/14082025/06/43/image_14082025_06_43_18_9189.jpg /media/data/images/14082025/06/43/image_14082025_06_43_28_10354.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377027982","1377027976","1377027979","1377027987","1377027969","1377027965"],"photo_ids_order":["1377027965","1377027969","1377027976","1377027979","1377027982","1377027987"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1403f896c25e776fe534bf4b74ba4d8.jpg","text":"TemporaryFile(/tmp/multipartBody3394371697942233887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180004017,"filename":"image_14082025_06_43_18_9189.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1fe8b1ba2691cbbeb5940acd51d78cd0.jpg","text":"TemporaryFile(/tmp/multipartBody8778468249189645417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180004017,"filename":"image_14082025_06_42_58_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a982820c51f45a939a623f0985ba902.jpg","text":"TemporaryFile(/tmp/multipartBody7079637494073888410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180004017,"filename":"image_14082025_06_43_09_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/feed210c19a91ba497cf9180e55f1594.jpg","text":"TemporaryFile(/tmp/multipartBody1461168122205697700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180004017,"filename":"image_14082025_06_43_28_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73bc2825a14c0275d5d57cc6d8347b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2709594282203239702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180004017,"filename":"image_14082025_06_42_48_9148.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33c993811962e6707e663dce61201a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7731069074596079563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180004017,"filename":"image_14082025_06_42_39_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377027976","file1":"1377027969","file0":"1377027965","file4":"1377027982","file5":"1377027987","file3":"1377027979"},"map_files_photo_id_array":[{"photo_id":"1377027987","filename":"file5"},{"photo_id":"1377027976","filename":"file2"},{"photo_id":"1377027982","filename":"file4"},{"photo_id":"1377027969","filename":"file1"},{"photo_id":"1377027965","filename":"file0"},{"photo_id":"1377027979","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377027982":["hashtag1","hashtag2"]},{"1377027976":["hashtag1","hashtag2"]},{"1377027979":["hashtag1","hashtag2"]},{"1377027987":["hashtag1","hashtag2"]},{"1377027969":["hashtag1","hashtag2"]},{"1377027965":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377027982, 1377027976, 1377027979, 1377027987, 1377027969, 1377027965)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.432557106018066 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:00:02.907069 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/43/image_14082025_06_43_39_10407.jpg', '/media/data/images/14082025/06/43/image_14082025_06_43_48_9195.jpg', '/media/data/images/14082025/06/43/image_14082025_06_43_58_10358.jpg', '/media/data/images/14082025/06/44/image_14082025_06_44_09_10515.jpg', '/media/data/images/14082025/06/44/image_14082025_06_44_18_9207.jpg', '/media/data/images/14082025/06/44/image_14082025_06_44_28_10424.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/43/image_14082025_06_43_39_10407.jpg /media/data/images/14082025/06/43/image_14082025_06_43_48_9195.jpg /media/data/images/14082025/06/43/image_14082025_06_43_58_10358.jpg /media/data/images/14082025/06/44/image_14082025_06_44_09_10515.jpg /media/data/images/14082025/06/44/image_14082025_06_44_18_9207.jpg /media/data/images/14082025/06/44/image_14082025_06_44_28_10424.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377028039","1377028024","1377028033","1377028029","1377028017","1377028037"],"photo_ids_order":["1377028017","1377028024","1377028029","1377028033","1377028037","1377028039"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d90bc5c33d5d6232993d5b2b6834c1fe.jpg","text":"TemporaryFile(/tmp/multipartBody7718252901780280038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180063913,"filename":"image_14082025_06_44_28_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7f3fd7e2c46d141c8a3f40c6f144538.jpg","text":"TemporaryFile(/tmp/multipartBody7173928580957273203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180063913,"filename":"image_14082025_06_43_48_9195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7368bbe27f26e556b4c80bd883c5ddc.jpg","text":"TemporaryFile(/tmp/multipartBody2321794313984766574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180063913,"filename":"image_14082025_06_44_09_10515.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59c42af7e7c46e3352f2cddf7540bd3a.jpg","text":"TemporaryFile(/tmp/multipartBody5404299156071303265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180063913,"filename":"image_14082025_06_43_58_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64d27c21672eff1162f8ee04b5018041.jpg","text":"TemporaryFile(/tmp/multipartBody7431860739378173542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180063913,"filename":"image_14082025_06_43_39_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75da74a3c4fae6ef17a98f8b00b519e7.jpg","text":"TemporaryFile(/tmp/multipartBody8633436779886205486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180063913,"filename":"image_14082025_06_44_18_9207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377028029","file1":"1377028024","file0":"1377028017","file4":"1377028037","file5":"1377028039","file3":"1377028033"},"map_files_photo_id_array":[{"photo_id":"1377028039","filename":"file5"},{"photo_id":"1377028029","filename":"file2"},{"photo_id":"1377028037","filename":"file4"},{"photo_id":"1377028024","filename":"file1"},{"photo_id":"1377028017","filename":"file0"},{"photo_id":"1377028033","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377028039":["hashtag1","hashtag2"]},{"1377028024":["hashtag1","hashtag2"]},{"1377028033":["hashtag1","hashtag2"]},{"1377028029":["hashtag1","hashtag2"]},{"1377028017":["hashtag1","hashtag2"]},{"1377028037":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377028039, 1377028024, 1377028033, 1377028029, 1377028017, 1377028037)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.181793212890625 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:01:03.126172 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/44/image_14082025_06_44_39_10454.jpg', '/media/data/images/14082025/06/44/image_14082025_06_44_48_9115.jpg', '/media/data/images/14082025/06/44/image_14082025_06_44_58_10385.jpg', '/media/data/images/14082025/06/45/image_14082025_06_45_09_10353.jpg', '/media/data/images/14082025/06/45/image_14082025_06_45_18_9181.jpg', '/media/data/images/14082025/06/45/image_14082025_06_45_28_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/44/image_14082025_06_44_39_10454.jpg /media/data/images/14082025/06/44/image_14082025_06_44_48_9115.jpg /media/data/images/14082025/06/44/image_14082025_06_44_58_10385.jpg /media/data/images/14082025/06/45/image_14082025_06_45_09_10353.jpg /media/data/images/14082025/06/45/image_14082025_06_45_18_9181.jpg /media/data/images/14082025/06/45/image_14082025_06_45_28_10342.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377028050","1377028062","1377028064","1377028058","1377028066","1377028054"],"photo_ids_order":["1377028050","1377028054","1377028058","1377028062","1377028064","1377028066"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30376038d53f4eb0bb5be5707a42e96d.jpg","text":"TemporaryFile(/tmp/multipartBody8450445858789939033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180124133,"filename":"image_14082025_06_44_39_10454.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43bdfd81e659ca80936fea8218090bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8728190324688395898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180124133,"filename":"image_14082025_06_45_09_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/869480e9be8c98ad2d6bd4695c5b5671.jpg","text":"TemporaryFile(/tmp/multipartBody545684275231225566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180124133,"filename":"image_14082025_06_45_18_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/56700b0a5e1e74af9096a361cc163f9b.jpg","text":"TemporaryFile(/tmp/multipartBody6729939623154700785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180124133,"filename":"image_14082025_06_44_58_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ba9257904efdac0f392918394b55613.jpg","text":"TemporaryFile(/tmp/multipartBody117343611090695270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180124133,"filename":"image_14082025_06_45_28_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b82661531515e62107170f084596dba7.jpg","text":"TemporaryFile(/tmp/multipartBody3986879907547408688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180124133,"filename":"image_14082025_06_44_48_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377028058","file1":"1377028054","file0":"1377028050","file4":"1377028064","file5":"1377028066","file3":"1377028062"},"map_files_photo_id_array":[{"photo_id":"1377028066","filename":"file5"},{"photo_id":"1377028058","filename":"file2"},{"photo_id":"1377028064","filename":"file4"},{"photo_id":"1377028054","filename":"file1"},{"photo_id":"1377028050","filename":"file0"},{"photo_id":"1377028062","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377028050":["hashtag1","hashtag2"]},{"1377028062":["hashtag1","hashtag2"]},{"1377028064":["hashtag1","hashtag2"]},{"1377028058":["hashtag1","hashtag2"]},{"1377028066":["hashtag1","hashtag2"]},{"1377028054":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377028050, 1377028062, 1377028064, 1377028058, 1377028066, 1377028054)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36836862564087 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:02:03.146422 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/45/image_14082025_06_45_39_10366.jpg', '/media/data/images/14082025/06/45/image_14082025_06_45_49_10405.jpg', '/media/data/images/14082025/06/45/image_14082025_06_45_58_9138.jpg', '/media/data/images/14082025/06/46/image_14082025_06_46_09_10597.jpg', '/media/data/images/14082025/06/46/image_14082025_06_46_19_10347.jpg', '/media/data/images/14082025/06/46/image_14082025_06_46_28_9247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/45/image_14082025_06_45_39_10366.jpg /media/data/images/14082025/06/45/image_14082025_06_45_49_10405.jpg /media/data/images/14082025/06/45/image_14082025_06_45_58_9138.jpg /media/data/images/14082025/06/46/image_14082025_06_46_09_10597.jpg /media/data/images/14082025/06/46/image_14082025_06_46_19_10347.jpg /media/data/images/14082025/06/46/image_14082025_06_46_28_9247.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377028156","1377028144","1377028152","1377028149","1377028160","1377028147"],"photo_ids_order":["1377028144","1377028147","1377028149","1377028152","1377028156","1377028160"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/702a9dbb47e2e7f5539584f8583ae925.jpg","text":"TemporaryFile(/tmp/multipartBody9050921631619604596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180184134,"filename":"image_14082025_06_46_19_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d8b138baca4c7fc5662fc19521efb08.jpg","text":"TemporaryFile(/tmp/multipartBody8389223801121452705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180184134,"filename":"image_14082025_06_45_39_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/334c8fdce30b2c9f42592191bcef5e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5930898234872026124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180184134,"filename":"image_14082025_06_46_09_10597.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12b846e24b6a706a1a204de7634df455.jpg","text":"TemporaryFile(/tmp/multipartBody304859104966570415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180184134,"filename":"image_14082025_06_45_58_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1a8453d44d56e1549558f1c439f7a99.jpg","text":"TemporaryFile(/tmp/multipartBody1686553862003997537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180184134,"filename":"image_14082025_06_46_28_9247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89cf6057a2f4541eeca66bd4be3a2028.jpg","text":"TemporaryFile(/tmp/multipartBody6117469867299265177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180184134,"filename":"image_14082025_06_45_49_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377028149","file1":"1377028147","file0":"1377028144","file4":"1377028156","file5":"1377028160","file3":"1377028152"},"map_files_photo_id_array":[{"photo_id":"1377028160","filename":"file5"},{"photo_id":"1377028149","filename":"file2"},{"photo_id":"1377028156","filename":"file4"},{"photo_id":"1377028147","filename":"file1"},{"photo_id":"1377028144","filename":"file0"},{"photo_id":"1377028152","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377028156":["hashtag1","hashtag2"]},{"1377028144":["hashtag1","hashtag2"]},{"1377028152":["hashtag1","hashtag2"]},{"1377028149":["hashtag1","hashtag2"]},{"1377028160":["hashtag1","hashtag2"]},{"1377028147":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377028156, 1377028144, 1377028152, 1377028149, 1377028160, 1377028147)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.69843578338623 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:03:03.388068 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/46/image_14082025_06_46_39_10352.jpg', '/media/data/images/14082025/06/46/image_14082025_06_46_48_9221.jpg', '/media/data/images/14082025/06/46/image_14082025_06_46_58_10371.jpg', '/media/data/images/14082025/06/47/image_14082025_06_47_09_10387.jpg', '/media/data/images/14082025/06/47/image_14082025_06_47_19_10388.jpg', '/media/data/images/14082025/06/47/image_14082025_06_47_28_9117.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/46/image_14082025_06_46_39_10352.jpg /media/data/images/14082025/06/46/image_14082025_06_46_48_9221.jpg /media/data/images/14082025/06/46/image_14082025_06_46_58_10371.jpg /media/data/images/14082025/06/47/image_14082025_06_47_09_10387.jpg /media/data/images/14082025/06/47/image_14082025_06_47_19_10388.jpg /media/data/images/14082025/06/47/image_14082025_06_47_28_9117.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377028194","1377028207","1377028215","1377028200","1377028203","1377028211"],"photo_ids_order":["1377028194","1377028200","1377028203","1377028207","1377028211","1377028215"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0fe7a0620b0dd965d154a1a3d020aa38.jpg","text":"TemporaryFile(/tmp/multipartBody7083341312294532995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180244381,"filename":"image_14082025_06_46_39_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6841b1bfa67b038760a0f0cd4049aee.jpg","text":"TemporaryFile(/tmp/multipartBody2175485154518327754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180244381,"filename":"image_14082025_06_47_09_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c374354de846c8e8b3bd36a43d394556.jpg","text":"TemporaryFile(/tmp/multipartBody627546029461193067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180244381,"filename":"image_14082025_06_47_28_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9fc72f2f755e4a6f8b0e4dc06d62b21.jpg","text":"TemporaryFile(/tmp/multipartBody7255546817868751246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180244381,"filename":"image_14082025_06_46_48_9221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1d51a120c3e6519da47cc5387955d922.jpg","text":"TemporaryFile(/tmp/multipartBody7779837122773382866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180244381,"filename":"image_14082025_06_46_58_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6abbf5230e5779c890f3bbf8632aaba.jpg","text":"TemporaryFile(/tmp/multipartBody1816163256039534002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180244381,"filename":"image_14082025_06_47_19_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377028203","file1":"1377028200","file0":"1377028194","file4":"1377028211","file5":"1377028215","file3":"1377028207"},"map_files_photo_id_array":[{"photo_id":"1377028215","filename":"file5"},{"photo_id":"1377028203","filename":"file2"},{"photo_id":"1377028211","filename":"file4"},{"photo_id":"1377028200","filename":"file1"},{"photo_id":"1377028194","filename":"file0"},{"photo_id":"1377028207","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377028194":["hashtag1","hashtag2"]},{"1377028207":["hashtag1","hashtag2"]},{"1377028215":["hashtag1","hashtag2"]},{"1377028200":["hashtag1","hashtag2"]},{"1377028203":["hashtag1","hashtag2"]},{"1377028211":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377028194, 1377028207, 1377028215, 1377028200, 1377028203, 1377028211)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.775723695755005 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:04:03.513347 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/47/image_14082025_06_47_38_10360.jpg', '/media/data/images/14082025/06/47/image_14082025_06_47_49_10372.jpg', '/media/data/images/14082025/06/47/image_14082025_06_47_58_9226.jpg', '/media/data/images/14082025/06/48/image_14082025_06_48_08_10346.jpg', '/media/data/images/14082025/06/48/image_14082025_06_48_19_10409.jpg', '/media/data/images/14082025/06/48/image_14082025_06_48_28_9058.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/47/image_14082025_06_47_38_10360.jpg /media/data/images/14082025/06/47/image_14082025_06_47_49_10372.jpg /media/data/images/14082025/06/47/image_14082025_06_47_58_9226.jpg /media/data/images/14082025/06/48/image_14082025_06_48_08_10346.jpg /media/data/images/14082025/06/48/image_14082025_06_48_19_10409.jpg /media/data/images/14082025/06/48/image_14082025_06_48_28_9058.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377028290","1377028329","1377028253","1377028232","1377028226","1377028363"],"photo_ids_order":["1377028226","1377028232","1377028253","1377028290","1377028329","1377028363"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0eea8da81fc4e8689684111cdb96c0d.jpg","text":"TemporaryFile(/tmp/multipartBody3858594568652001154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180304490,"filename":"image_14082025_06_48_08_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53ec9e6a0e42afa0f8379bd9836cd957.jpg","text":"TemporaryFile(/tmp/multipartBody1379119673928898954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180304490,"filename":"image_14082025_06_48_19_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4635f199dc7d3e827e68d878e6b85182.jpg","text":"TemporaryFile(/tmp/multipartBody3552032135184286701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180304490,"filename":"image_14082025_06_47_58_9226.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e1f527bc25b9b3d1bcd912e6986f7583.jpg","text":"TemporaryFile(/tmp/multipartBody8003158220311563444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180304490,"filename":"image_14082025_06_47_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b1385d398f7c8492e4b6c29f7ff5ff9a.jpg","text":"TemporaryFile(/tmp/multipartBody8190379228401572418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180304490,"filename":"image_14082025_06_47_38_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa054c3c16da6fe642f94f9ddf465738.jpg","text":"TemporaryFile(/tmp/multipartBody7333497948870554362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180304490,"filename":"image_14082025_06_48_28_9058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377028253","file1":"1377028232","file0":"1377028226","file4":"1377028329","file5":"1377028363","file3":"1377028290"},"map_files_photo_id_array":[{"photo_id":"1377028363","filename":"file5"},{"photo_id":"1377028253","filename":"file2"},{"photo_id":"1377028329","filename":"file4"},{"photo_id":"1377028232","filename":"file1"},{"photo_id":"1377028226","filename":"file0"},{"photo_id":"1377028290","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377028290":["hashtag1","hashtag2"]},{"1377028329":["hashtag1","hashtag2"]},{"1377028253":["hashtag1","hashtag2"]},{"1377028232":["hashtag1","hashtag2"]},{"1377028226":["hashtag1","hashtag2"]},{"1377028363":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377028290, 1377028329, 1377028253, 1377028232, 1377028226, 1377028363)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.48721933364868 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:05:02.641889 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/48/image_14082025_06_48_38_10298.jpg', '/media/data/images/14082025/06/48/image_14082025_06_48_49_10320.jpg', '/media/data/images/14082025/06/48/image_14082025_06_48_59_10282.jpg', '/media/data/images/14082025/06/49/image_14082025_06_49_08_9104.jpg', '/media/data/images/14082025/06/49/image_14082025_06_49_18_10331.jpg', '/media/data/images/14082025/06/49/image_14082025_06_49_29_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/48/image_14082025_06_48_38_10298.jpg /media/data/images/14082025/06/48/image_14082025_06_48_49_10320.jpg /media/data/images/14082025/06/48/image_14082025_06_48_59_10282.jpg /media/data/images/14082025/06/49/image_14082025_06_49_08_9104.jpg /media/data/images/14082025/06/49/image_14082025_06_49_18_10331.jpg /media/data/images/14082025/06/49/image_14082025_06_49_29_10376.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377028639","1377028720","1377028603","1377028674","1377028568","1377028786"],"photo_ids_order":["1377028568","1377028603","1377028639","1377028674","1377028720","1377028786"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd04339ad00a493b51136727ba8088d7.jpg","text":"TemporaryFile(/tmp/multipartBody1138037839614403712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180363702,"filename":"image_14082025_06_48_59_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1667896b50b236988ed150af8312747.jpg","text":"TemporaryFile(/tmp/multipartBody4130063408313382673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180363702,"filename":"image_14082025_06_49_18_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc5b99046597c1c1144b4f6557b6483b.jpg","text":"TemporaryFile(/tmp/multipartBody4300135863372958609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180363702,"filename":"image_14082025_06_48_49_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6c53a0904279b722340ca7620631697.jpg","text":"TemporaryFile(/tmp/multipartBody4335694445193180765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180363702,"filename":"image_14082025_06_49_08_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3175b0434bc5785eaacd5b981bd78ef.jpg","text":"TemporaryFile(/tmp/multipartBody5043117087824249203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180363702,"filename":"image_14082025_06_48_38_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b02622790ad4117d6bce4969de8c9944.jpg","text":"TemporaryFile(/tmp/multipartBody2442890953831388684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180363702,"filename":"image_14082025_06_49_29_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377028639","file1":"1377028603","file0":"1377028568","file4":"1377028720","file5":"1377028786","file3":"1377028674"},"map_files_photo_id_array":[{"photo_id":"1377028786","filename":"file5"},{"photo_id":"1377028639","filename":"file2"},{"photo_id":"1377028720","filename":"file4"},{"photo_id":"1377028603","filename":"file1"},{"photo_id":"1377028568","filename":"file0"},{"photo_id":"1377028674","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377028639":["hashtag1","hashtag2"]},{"1377028720":["hashtag1","hashtag2"]},{"1377028603":["hashtag1","hashtag2"]},{"1377028674":["hashtag1","hashtag2"]},{"1377028568":["hashtag1","hashtag2"]},{"1377028786":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377028639, 1377028720, 1377028603, 1377028674, 1377028568, 1377028786)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.6001033782959 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:06:02.525984 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/49/image_14082025_06_49_39_10291.jpg', '/media/data/images/14082025/06/49/image_14082025_06_49_48_9024.jpg', '/media/data/images/14082025/06/49/image_14082025_06_49_59_10590.jpg', '/media/data/images/14082025/06/50/image_14082025_06_50_08_9506.jpg', '/media/data/images/14082025/06/50/image_14082025_06_50_18_10274.jpg', '/media/data/images/14082025/06/50/image_14082025_06_50_29_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/49/image_14082025_06_49_39_10291.jpg /media/data/images/14082025/06/49/image_14082025_06_49_48_9024.jpg /media/data/images/14082025/06/49/image_14082025_06_49_59_10590.jpg /media/data/images/14082025/06/50/image_14082025_06_50_08_9506.jpg /media/data/images/14082025/06/50/image_14082025_06_50_18_10274.jpg /media/data/images/14082025/06/50/image_14082025_06_50_29_10284.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377029094","1377029259","1377029223","1377029183","1377029141","1377029278"],"photo_ids_order":["1377029094","1377029141","1377029183","1377029223","1377029259","1377029278"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d723b34ec13314f21f32fcc535d920f.jpg","text":"TemporaryFile(/tmp/multipartBody3581578875656146143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180423558,"filename":"image_14082025_06_49_39_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/177d7e76d21ba3052170bc105435e09f.jpg","text":"TemporaryFile(/tmp/multipartBody8141016555342909116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180423558,"filename":"image_14082025_06_50_18_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa2d2c6c95bf85aef65e1153eb393b33.jpg","text":"TemporaryFile(/tmp/multipartBody1100212767272638138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180423558,"filename":"image_14082025_06_50_08_9506.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9b0c3ddf82ea3326b17a2d6dd58d487.jpg","text":"TemporaryFile(/tmp/multipartBody5993802799597861047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180423558,"filename":"image_14082025_06_49_59_10590.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/149897edf6e2092297a3bfe3c4dd66b3.jpg","text":"TemporaryFile(/tmp/multipartBody6977322435744273084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180423558,"filename":"image_14082025_06_49_48_9024.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d4d80b048b9e4a2b764a1cb396f6251.jpg","text":"TemporaryFile(/tmp/multipartBody8930920955644228452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180423558,"filename":"image_14082025_06_50_29_10284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377029183","file1":"1377029141","file0":"1377029094","file4":"1377029259","file5":"1377029278","file3":"1377029223"},"map_files_photo_id_array":[{"photo_id":"1377029278","filename":"file5"},{"photo_id":"1377029183","filename":"file2"},{"photo_id":"1377029259","filename":"file4"},{"photo_id":"1377029141","filename":"file1"},{"photo_id":"1377029094","filename":"file0"},{"photo_id":"1377029223","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377029094":["hashtag1","hashtag2"]},{"1377029259":["hashtag1","hashtag2"]},{"1377029223":["hashtag1","hashtag2"]},{"1377029183":["hashtag1","hashtag2"]},{"1377029141":["hashtag1","hashtag2"]},{"1377029278":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377029094, 1377029259, 1377029223, 1377029183, 1377029141, 1377029278)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.1543915271759 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:07:02.953355 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/50/image_14082025_06_50_39_10252.jpg', '/media/data/images/14082025/06/50/image_14082025_06_50_48_9104.jpg', '/media/data/images/14082025/06/50/image_14082025_06_50_58_10254.jpg', '/media/data/images/14082025/06/51/image_14082025_06_51_08_10228.jpg', '/media/data/images/14082025/06/51/image_14082025_06_51_19_10332.jpg', '/media/data/images/14082025/06/51/image_14082025_06_51_28_9078.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/50/image_14082025_06_50_39_10252.jpg /media/data/images/14082025/06/50/image_14082025_06_50_48_9104.jpg /media/data/images/14082025/06/50/image_14082025_06_50_58_10254.jpg /media/data/images/14082025/06/51/image_14082025_06_51_08_10228.jpg /media/data/images/14082025/06/51/image_14082025_06_51_19_10332.jpg /media/data/images/14082025/06/51/image_14082025_06_51_28_9078.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377029841","1377029591","1377029774","1377029485","1377029671","1377029437"],"photo_ids_order":["1377029437","1377029485","1377029591","1377029671","1377029774","1377029841"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70a84ff7aa682c1accf91667d9c910d7.jpg","text":"TemporaryFile(/tmp/multipartBody5663267973256042312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180484019,"filename":"image_14082025_06_51_28_9078.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13d67672640421ffe94dd33147928414.jpg","text":"TemporaryFile(/tmp/multipartBody7625140682695878717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180484019,"filename":"image_14082025_06_50_58_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7bf70d19987e53b04495fecac08b002f.jpg","text":"TemporaryFile(/tmp/multipartBody5880216919238455011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180484019,"filename":"image_14082025_06_51_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b8c3662934e2d580243e530301cec1f.jpg","text":"TemporaryFile(/tmp/multipartBody7892242270262269233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180484019,"filename":"image_14082025_06_50_48_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c271df212e34abaf662900c213ae3135.jpg","text":"TemporaryFile(/tmp/multipartBody6040231837901986350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180484019,"filename":"image_14082025_06_51_08_10228.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/56e6e870ed9b4ae347570bf951de0d37.jpg","text":"TemporaryFile(/tmp/multipartBody8616773806844259305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180484019,"filename":"image_14082025_06_50_39_10252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377029591","file1":"1377029485","file0":"1377029437","file4":"1377029774","file5":"1377029841","file3":"1377029671"},"map_files_photo_id_array":[{"photo_id":"1377029841","filename":"file5"},{"photo_id":"1377029591","filename":"file2"},{"photo_id":"1377029774","filename":"file4"},{"photo_id":"1377029485","filename":"file1"},{"photo_id":"1377029437","filename":"file0"},{"photo_id":"1377029671","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377029841":["hashtag1","hashtag2"]},{"1377029591":["hashtag1","hashtag2"]},{"1377029774":["hashtag1","hashtag2"]},{"1377029485":["hashtag1","hashtag2"]},{"1377029671":["hashtag1","hashtag2"]},{"1377029437":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377029841, 1377029591, 1377029774, 1377029485, 1377029671, 1377029437)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.3300416469574 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:08:02.868162 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/51/image_14082025_06_51_38_10261.jpg', '/media/data/images/14082025/06/51/image_14082025_06_51_48_10273.jpg', '/media/data/images/14082025/06/52/image_14082025_06_52_08_9234.jpg', '/media/data/images/14082025/06/52/image_14082025_06_52_18_10333.jpg', '/media/data/images/14082025/06/52/image_14082025_06_52_30_10421.jpg', '/media/data/images/14082025/06/52/image_14082025_06_52_38_9490.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/51/image_14082025_06_51_38_10261.jpg /media/data/images/14082025/06/51/image_14082025_06_51_48_10273.jpg /media/data/images/14082025/06/52/image_14082025_06_52_08_9234.jpg /media/data/images/14082025/06/52/image_14082025_06_52_18_10333.jpg /media/data/images/14082025/06/52/image_14082025_06_52_30_10421.jpg /media/data/images/14082025/06/52/image_14082025_06_52_38_9490.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377030322","1377030166","1377030220","1377030357","1377030389","1377030266"],"photo_ids_order":["1377030166","1377030220","1377030266","1377030322","1377030357","1377030389"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf49435c4679bb69d3f49ab49574dacf.jpg","text":"TemporaryFile(/tmp/multipartBody3813022533634358447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180543918,"filename":"image_14082025_06_52_18_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb64d4c4e0898a07c40db66caa25047e.jpg","text":"TemporaryFile(/tmp/multipartBody491467549214116109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180543918,"filename":"image_14082025_06_51_38_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1025912b1d5792754db0d51e0e41d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody1213302657164361072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180543918,"filename":"image_14082025_06_51_48_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1af2eabbbbb63c4411d308460413d5a0.jpg","text":"TemporaryFile(/tmp/multipartBody8879257312538340351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180543918,"filename":"image_14082025_06_52_30_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/729d4a14df4f0908001b6f22084c46ad.jpg","text":"TemporaryFile(/tmp/multipartBody3715245384887719069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180543918,"filename":"image_14082025_06_52_38_9490.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c12ddcdf98798b0e6de8e278f82bbee.jpg","text":"TemporaryFile(/tmp/multipartBody2979176949385426981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180543918,"filename":"image_14082025_06_52_08_9234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377030266","file1":"1377030220","file0":"1377030166","file4":"1377030357","file5":"1377030389","file3":"1377030322"},"map_files_photo_id_array":[{"photo_id":"1377030389","filename":"file5"},{"photo_id":"1377030266","filename":"file2"},{"photo_id":"1377030357","filename":"file4"},{"photo_id":"1377030220","filename":"file1"},{"photo_id":"1377030166","filename":"file0"},{"photo_id":"1377030322","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377030322":["hashtag1","hashtag2"]},{"1377030166":["hashtag1","hashtag2"]},{"1377030220":["hashtag1","hashtag2"]},{"1377030357":["hashtag1","hashtag2"]},{"1377030389":["hashtag1","hashtag2"]},{"1377030266":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377030322, 1377030166, 1377030220, 1377030357, 1377030389, 1377030266)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.69507455825806 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:09:03.081441 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/52/image_14082025_06_52_48_10255.jpg', '/media/data/images/14082025/06/52/image_14082025_06_52_59_10327.jpg', '/media/data/images/14082025/06/53/image_14082025_06_53_08_9098.jpg', '/media/data/images/14082025/06/53/image_14082025_06_53_18_10582.jpg', '/media/data/images/14082025/06/53/image_14082025_06_53_29_10485.jpg', '/media/data/images/14082025/06/53/image_14082025_06_53_38_9210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/52/image_14082025_06_52_48_10255.jpg /media/data/images/14082025/06/52/image_14082025_06_52_59_10327.jpg /media/data/images/14082025/06/53/image_14082025_06_53_08_9098.jpg /media/data/images/14082025/06/53/image_14082025_06_53_18_10582.jpg /media/data/images/14082025/06/53/image_14082025_06_53_29_10485.jpg /media/data/images/14082025/06/53/image_14082025_06_53_38_9210.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377030663","1377030765","1377030732","1377030697","1377030598","1377030631"],"photo_ids_order":["1377030598","1377030631","1377030663","1377030697","1377030732","1377030765"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d467ecb575ef40b523687559a58d662d.jpg","text":"TemporaryFile(/tmp/multipartBody6133463077974596660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180604119,"filename":"image_14082025_06_53_08_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/078ab67ece7de99dd8f0e5fd560806b9.jpg","text":"TemporaryFile(/tmp/multipartBody7789404710088116143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180604119,"filename":"image_14082025_06_53_38_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9815eb30480b7a6c4ecb66fd498b2a32.jpg","text":"TemporaryFile(/tmp/multipartBody8936306677701478325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180604119,"filename":"image_14082025_06_53_29_10485.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c32e25603b53f1dcde0b940986bba3df.jpg","text":"TemporaryFile(/tmp/multipartBody5157806859212521248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180604119,"filename":"image_14082025_06_53_18_10582.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/40a87b477fa0a5811536ec2fb00c5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1809795173461383259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180604119,"filename":"image_14082025_06_52_48_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e95bd4e51068eafa34573fbf5bbd15a.jpg","text":"TemporaryFile(/tmp/multipartBody6277622470515602328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180604119,"filename":"image_14082025_06_52_59_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377030663","file1":"1377030631","file0":"1377030598","file4":"1377030732","file5":"1377030765","file3":"1377030697"},"map_files_photo_id_array":[{"photo_id":"1377030765","filename":"file5"},{"photo_id":"1377030663","filename":"file2"},{"photo_id":"1377030732","filename":"file4"},{"photo_id":"1377030631","filename":"file1"},{"photo_id":"1377030598","filename":"file0"},{"photo_id":"1377030697","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377030663":["hashtag1","hashtag2"]},{"1377030765":["hashtag1","hashtag2"]},{"1377030732":["hashtag1","hashtag2"]},{"1377030697":["hashtag1","hashtag2"]},{"1377030598":["hashtag1","hashtag2"]},{"1377030631":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377030663, 1377030765, 1377030732, 1377030697, 1377030598, 1377030631)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.19286847114563 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:10:03.067762 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/53/image_14082025_06_53_49_10414.jpg', '/media/data/images/14082025/06/53/image_14082025_06_53_59_10397.jpg', '/media/data/images/14082025/06/54/image_14082025_06_54_08_9380.jpg', '/media/data/images/14082025/06/54/image_14082025_06_54_19_10402.jpg', '/media/data/images/14082025/06/54/image_14082025_06_54_28_9145.jpg', '/media/data/images/14082025/06/54/image_14082025_06_54_38_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/53/image_14082025_06_53_49_10414.jpg /media/data/images/14082025/06/53/image_14082025_06_53_59_10397.jpg /media/data/images/14082025/06/54/image_14082025_06_54_08_9380.jpg /media/data/images/14082025/06/54/image_14082025_06_54_19_10402.jpg /media/data/images/14082025/06/54/image_14082025_06_54_28_9145.jpg /media/data/images/14082025/06/54/image_14082025_06_54_38_10382.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377030885","1377030969","1377031110","1377031043","1377030895","1377030889"],"photo_ids_order":["1377030885","1377030889","1377030895","1377030969","1377031043","1377031110"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ad8bb9fa42a39b65686992413045fe60.jpg","text":"TemporaryFile(/tmp/multipartBody4967853306959150195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180664039,"filename":"image_14082025_06_53_49_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e459892aeba0e7a035bdbadb492e506f.jpg","text":"TemporaryFile(/tmp/multipartBody3536938102734779309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180664039,"filename":"image_14082025_06_54_19_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7fbfe4eabe077df6ebb81a0bd5b29551.jpg","text":"TemporaryFile(/tmp/multipartBody7912244968189866364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180664039,"filename":"image_14082025_06_54_38_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e445a31cfad71da76e7b03cea4062ff1.jpg","text":"TemporaryFile(/tmp/multipartBody9009626267087852820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180664039,"filename":"image_14082025_06_54_28_9145.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/091add987b9a17f8d7cea345e4e40846.jpg","text":"TemporaryFile(/tmp/multipartBody8079815804002836552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180664039,"filename":"image_14082025_06_54_08_9380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96a1cfb08e42499e80c9cc67af4abb9d.jpg","text":"TemporaryFile(/tmp/multipartBody7404553445362705936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180664039,"filename":"image_14082025_06_53_59_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377030895","file1":"1377030889","file0":"1377030885","file4":"1377031043","file5":"1377031110","file3":"1377030969"},"map_files_photo_id_array":[{"photo_id":"1377031110","filename":"file5"},{"photo_id":"1377030895","filename":"file2"},{"photo_id":"1377031043","filename":"file4"},{"photo_id":"1377030889","filename":"file1"},{"photo_id":"1377030885","filename":"file0"},{"photo_id":"1377030969","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377030885":["hashtag1","hashtag2"]},{"1377030969":["hashtag1","hashtag2"]},{"1377031110":["hashtag1","hashtag2"]},{"1377031043":["hashtag1","hashtag2"]},{"1377030895":["hashtag1","hashtag2"]},{"1377030889":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377030885, 1377030969, 1377031110, 1377031043, 1377030895, 1377030889)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.23715925216675 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:11:03.495192 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/54/image_14082025_06_54_49_10455.jpg', '/media/data/images/14082025/06/54/image_14082025_06_54_58_9163.jpg', '/media/data/images/14082025/06/54/image_14082025_06_55_09_10662.jpg', '/media/data/images/14082025/06/55/image_14082025_06_55_19_10487.jpg', '/media/data/images/14082025/06/55/image_14082025_06_55_28_9168.jpg', '/media/data/images/14082025/06/55/image_14082025_06_55_39_10473.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/54/image_14082025_06_54_49_10455.jpg /media/data/images/14082025/06/54/image_14082025_06_54_58_9163.jpg /media/data/images/14082025/06/54/image_14082025_06_55_09_10662.jpg /media/data/images/14082025/06/55/image_14082025_06_55_19_10487.jpg /media/data/images/14082025/06/55/image_14082025_06_55_28_9168.jpg /media/data/images/14082025/06/55/image_14082025_06_55_39_10473.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377031466","1377031630","1377031567","1377031426","1377031528","1377031599"],"photo_ids_order":["1377031426","1377031466","1377031528","1377031567","1377031599","1377031630"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78289934468a85c9ccb36888701df10e.jpg","text":"TemporaryFile(/tmp/multipartBody2993624825878037149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180724486,"filename":"image_14082025_06_54_58_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45242654106dfdb9c8f0609301d6a61d.jpg","text":"TemporaryFile(/tmp/multipartBody7622043899864548869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180724486,"filename":"image_14082025_06_55_39_10473.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51a562eddb001b8042a82513ae591ec3.jpg","text":"TemporaryFile(/tmp/multipartBody7592305354980859268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180724486,"filename":"image_14082025_06_55_19_10487.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b94466813b7abc4533a5007cc361301.jpg","text":"TemporaryFile(/tmp/multipartBody4169984696639728574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180724486,"filename":"image_14082025_06_54_49_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3660d699fa36e5436ae5d9a8e76bdf90.jpg","text":"TemporaryFile(/tmp/multipartBody5095994303227947878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180724486,"filename":"image_14082025_06_55_09_10662.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3188d1741f62a9ee05c2df628f1f0b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3121500219750175743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180724486,"filename":"image_14082025_06_55_28_9168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377031528","file1":"1377031466","file0":"1377031426","file4":"1377031599","file5":"1377031630","file3":"1377031567"},"map_files_photo_id_array":[{"photo_id":"1377031630","filename":"file5"},{"photo_id":"1377031528","filename":"file2"},{"photo_id":"1377031599","filename":"file4"},{"photo_id":"1377031466","filename":"file1"},{"photo_id":"1377031426","filename":"file0"},{"photo_id":"1377031567","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377031466":["hashtag1","hashtag2"]},{"1377031630":["hashtag1","hashtag2"]},{"1377031567":["hashtag1","hashtag2"]},{"1377031426":["hashtag1","hashtag2"]},{"1377031528":["hashtag1","hashtag2"]},{"1377031599":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377031466, 1377031630, 1377031567, 1377031426, 1377031528, 1377031599)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.64080286026001 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:12:03.283280 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/55/image_14082025_06_55_48_9158.jpg', '/media/data/images/14082025/06/55/image_14082025_06_55_58_10432.jpg', '/media/data/images/14082025/06/56/image_14082025_06_56_08_9558.jpg', '/media/data/images/14082025/06/56/image_14082025_06_56_18_10434.jpg', '/media/data/images/14082025/06/56/image_14082025_06_56_29_10398.jpg', '/media/data/images/14082025/06/56/image_14082025_06_56_39_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/55/image_14082025_06_55_48_9158.jpg /media/data/images/14082025/06/55/image_14082025_06_55_58_10432.jpg /media/data/images/14082025/06/56/image_14082025_06_56_08_9558.jpg /media/data/images/14082025/06/56/image_14082025_06_56_18_10434.jpg /media/data/images/14082025/06/56/image_14082025_06_56_29_10398.jpg /media/data/images/14082025/06/56/image_14082025_06_56_39_10394.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377032034","1377032069","1377031961","1377032000","1377031925","1377031888"],"photo_ids_order":["1377031888","1377031925","1377031961","1377032000","1377032034","1377032069"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/390685d1bb0157ee353054de7e827645.jpg","text":"TemporaryFile(/tmp/multipartBody6981064727357690301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180784272,"filename":"image_14082025_06_56_29_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4b6e27705ea63280538c1389a6aa7d5.jpg","text":"TemporaryFile(/tmp/multipartBody6504388420221910767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180784272,"filename":"image_14082025_06_56_39_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/788d149ff88503016d55be0da1c80545.jpg","text":"TemporaryFile(/tmp/multipartBody8889720456420125559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180784272,"filename":"image_14082025_06_56_08_9558.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/246cc45844bac30fb32bc97c4aec21ee.jpg","text":"TemporaryFile(/tmp/multipartBody5991877198583241149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180784272,"filename":"image_14082025_06_56_18_10434.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60816cab99c33827127efc1113b0851e.jpg","text":"TemporaryFile(/tmp/multipartBody2796619922160593339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180784272,"filename":"image_14082025_06_55_58_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93270d6c416b69160c7e455db0696649.jpg","text":"TemporaryFile(/tmp/multipartBody6061191792115629491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180784272,"filename":"image_14082025_06_55_48_9158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377031961","file1":"1377031925","file0":"1377031888","file4":"1377032034","file5":"1377032069","file3":"1377032000"},"map_files_photo_id_array":[{"photo_id":"1377032069","filename":"file5"},{"photo_id":"1377031961","filename":"file2"},{"photo_id":"1377032034","filename":"file4"},{"photo_id":"1377031925","filename":"file1"},{"photo_id":"1377031888","filename":"file0"},{"photo_id":"1377032000","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377032034":["hashtag1","hashtag2"]},{"1377032069":["hashtag1","hashtag2"]},{"1377031961":["hashtag1","hashtag2"]},{"1377032000":["hashtag1","hashtag2"]},{"1377031925":["hashtag1","hashtag2"]},{"1377031888":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377032034, 1377032069, 1377031961, 1377032000, 1377031925, 1377031888)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.17672276496887 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:13:03.545670 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/56/image_14082025_06_56_48_9156.jpg', '/media/data/images/14082025/06/56/image_14082025_06_56_59_10411.jpg', '/media/data/images/14082025/06/57/image_14082025_06_57_08_9281.jpg', '/media/data/images/14082025/06/57/image_14082025_06_57_18_10372.jpg', '/media/data/images/14082025/06/57/image_14082025_06_57_29_10458.jpg', '/media/data/images/14082025/06/57/image_14082025_06_57_38_9197.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/56/image_14082025_06_56_48_9156.jpg /media/data/images/14082025/06/56/image_14082025_06_56_59_10411.jpg /media/data/images/14082025/06/57/image_14082025_06_57_08_9281.jpg /media/data/images/14082025/06/57/image_14082025_06_57_18_10372.jpg /media/data/images/14082025/06/57/image_14082025_06_57_29_10458.jpg /media/data/images/14082025/06/57/image_14082025_06_57_38_9197.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377032124","1377032194","1377032131","1377032128","1377032236","1377032160"],"photo_ids_order":["1377032124","1377032128","1377032131","1377032160","1377032194","1377032236"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/26cd9bed1ccb0dae43a17f1d7d9d67b3.jpg","text":"TemporaryFile(/tmp/multipartBody5476825441172631767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180844557,"filename":"image_14082025_06_56_48_9156.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15241bd3ecdb25d523605797292190e7.jpg","text":"TemporaryFile(/tmp/multipartBody2241696025197183254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180844557,"filename":"image_14082025_06_57_29_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46a4b4a231f7dd828d526c48d063a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody4664358383003699197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180844557,"filename":"image_14082025_06_57_08_9281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4cb62750da2512ca9d68d090b2364b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7633316348584350045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180844557,"filename":"image_14082025_06_56_59_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a39a20c541450b642749a8099f859d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6621536878337514785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180844557,"filename":"image_14082025_06_57_38_9197.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/898c13782424a17a20445a2c8762e750.jpg","text":"TemporaryFile(/tmp/multipartBody7869025966678690758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180844557,"filename":"image_14082025_06_57_18_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377032131","file1":"1377032128","file0":"1377032124","file4":"1377032194","file5":"1377032236","file3":"1377032160"},"map_files_photo_id_array":[{"photo_id":"1377032236","filename":"file5"},{"photo_id":"1377032131","filename":"file2"},{"photo_id":"1377032194","filename":"file4"},{"photo_id":"1377032128","filename":"file1"},{"photo_id":"1377032124","filename":"file0"},{"photo_id":"1377032160","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377032124":["hashtag1","hashtag2"]},{"1377032194":["hashtag1","hashtag2"]},{"1377032131":["hashtag1","hashtag2"]},{"1377032128":["hashtag1","hashtag2"]},{"1377032236":["hashtag1","hashtag2"]},{"1377032160":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377032124, 1377032194, 1377032131, 1377032128, 1377032236, 1377032160)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.45323586463928 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:14:03.445307 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/57/image_14082025_06_57_48_10313.jpg', '/media/data/images/14082025/06/57/image_14082025_06_57_59_10291.jpg', '/media/data/images/14082025/06/58/image_14082025_06_58_09_10357.jpg', '/media/data/images/14082025/06/58/image_14082025_06_58_18_9094.jpg', '/media/data/images/14082025/06/58/image_14082025_06_58_28_10288.jpg', '/media/data/images/14082025/06/58/image_14082025_06_58_39_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/57/image_14082025_06_57_48_10313.jpg /media/data/images/14082025/06/57/image_14082025_06_57_59_10291.jpg /media/data/images/14082025/06/58/image_14082025_06_58_09_10357.jpg /media/data/images/14082025/06/58/image_14082025_06_58_18_9094.jpg /media/data/images/14082025/06/58/image_14082025_06_58_28_10288.jpg /media/data/images/14082025/06/58/image_14082025_06_58_39_10418.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377033017","1377032971","1377032689","1377032836","1377032902","1377032760"],"photo_ids_order":["1377032689","1377032760","1377032836","1377032902","1377032971","1377033017"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95ace3a9291c4eec0b82096c3d5afb34.jpg","text":"TemporaryFile(/tmp/multipartBody8048562795353607474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180904863,"filename":"image_14082025_06_58_39_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d719743409e0f3c4ef3aa15c10f2bd74.jpg","text":"TemporaryFile(/tmp/multipartBody6666885107413482289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180904863,"filename":"image_14082025_06_58_28_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6d1d5e6dd07ab03614e0424a452bcc3.jpg","text":"TemporaryFile(/tmp/multipartBody3561999804294783327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180904863,"filename":"image_14082025_06_57_48_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc09c388aaa1fe4e052c1f83ea90e281.jpg","text":"TemporaryFile(/tmp/multipartBody9113278625243458356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180904863,"filename":"image_14082025_06_58_09_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71ff9dec1824c1b93c88e850c9818064.jpg","text":"TemporaryFile(/tmp/multipartBody4326728839018261639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180904863,"filename":"image_14082025_06_58_18_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6ffb80923588d47ab78a8874380f56e.jpg","text":"TemporaryFile(/tmp/multipartBody3610255438933777502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180904863,"filename":"image_14082025_06_57_59_10291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377032836","file1":"1377032760","file0":"1377032689","file4":"1377032971","file5":"1377033017","file3":"1377032902"},"map_files_photo_id_array":[{"photo_id":"1377033017","filename":"file5"},{"photo_id":"1377032836","filename":"file2"},{"photo_id":"1377032971","filename":"file4"},{"photo_id":"1377032760","filename":"file1"},{"photo_id":"1377032689","filename":"file0"},{"photo_id":"1377032902","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377033017":["hashtag1","hashtag2"]},{"1377032971":["hashtag1","hashtag2"]},{"1377032689":["hashtag1","hashtag2"]},{"1377032836":["hashtag1","hashtag2"]},{"1377032902":["hashtag1","hashtag2"]},{"1377032760":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377033017, 1377032971, 1377032689, 1377032836, 1377032902, 1377032760)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.78203749656677 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:15:02.809261 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/58/image_14082025_06_58_48_9303.jpg', '/media/data/images/14082025/06/58/image_14082025_06_58_59_10604.jpg', '/media/data/images/14082025/06/59/image_14082025_06_59_09_10416.jpg', '/media/data/images/14082025/06/59/image_14082025_06_59_18_9115.jpg', '/media/data/images/14082025/06/59/image_14082025_06_59_28_10295.jpg', '/media/data/images/14082025/06/59/image_14082025_06_59_39_10303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/58/image_14082025_06_58_48_9303.jpg /media/data/images/14082025/06/58/image_14082025_06_58_59_10604.jpg /media/data/images/14082025/06/59/image_14082025_06_59_09_10416.jpg /media/data/images/14082025/06/59/image_14082025_06_59_18_9115.jpg /media/data/images/14082025/06/59/image_14082025_06_59_28_10295.jpg /media/data/images/14082025/06/59/image_14082025_06_59_39_10303.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377033504","1377033691","1377033358","1377033426","1377033596","1377033287"],"photo_ids_order":["1377033287","1377033358","1377033426","1377033504","1377033596","1377033691"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2c4fe2548e5fa3f4d0efa22e4690fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1161272146706231133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180963845,"filename":"image_14082025_06_59_18_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f22f39844f045fe419082101cbdd0a24.jpg","text":"TemporaryFile(/tmp/multipartBody2111124427013637768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180963845,"filename":"image_14082025_06_59_39_10303.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0df0cd2f24ebef7dab6e2c07597bd18a.jpg","text":"TemporaryFile(/tmp/multipartBody1321028411956281958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180963845,"filename":"image_14082025_06_58_59_10604.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89fd370095d71d7b53763972e0e61e65.jpg","text":"TemporaryFile(/tmp/multipartBody606301219198301415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180963845,"filename":"image_14082025_06_59_09_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3749b4cc9ee752564f0c8d86bf7d779f.jpg","text":"TemporaryFile(/tmp/multipartBody3229191093591559574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180963845,"filename":"image_14082025_06_59_28_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28cc3041cd7907b489ef2da206d889bc.jpg","text":"TemporaryFile(/tmp/multipartBody6282088686365947037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755180963845,"filename":"image_14082025_06_58_48_9303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377033426","file1":"1377033358","file0":"1377033287","file4":"1377033596","file5":"1377033691","file3":"1377033504"},"map_files_photo_id_array":[{"photo_id":"1377033691","filename":"file5"},{"photo_id":"1377033426","filename":"file2"},{"photo_id":"1377033596","filename":"file4"},{"photo_id":"1377033358","filename":"file1"},{"photo_id":"1377033287","filename":"file0"},{"photo_id":"1377033504","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377033504":["hashtag1","hashtag2"]},{"1377033691":["hashtag1","hashtag2"]},{"1377033358":["hashtag1","hashtag2"]},{"1377033426":["hashtag1","hashtag2"]},{"1377033596":["hashtag1","hashtag2"]},{"1377033287":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377033504, 1377033691, 1377033358, 1377033426, 1377033596, 1377033287)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.53642272949219 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:16:02.649917 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/06/59/image_14082025_06_59_49_10294.jpg', '/media/data/images/14082025/06/59/image_14082025_06_59_58_9262.jpg', '/media/data/images/14082025/07/00/image_14082025_07_00_09_10277.jpg', '/media/data/images/14082025/07/00/image_14082025_07_00_19_10377.jpg', '/media/data/images/14082025/07/00/image_14082025_07_00_49_10293.jpg', '/media/data/images/14082025/07/00/image_14082025_07_00_59_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/06/59/image_14082025_06_59_49_10294.jpg /media/data/images/14082025/06/59/image_14082025_06_59_58_9262.jpg /media/data/images/14082025/07/00/image_14082025_07_00_09_10277.jpg /media/data/images/14082025/07/00/image_14082025_07_00_19_10377.jpg /media/data/images/14082025/07/00/image_14082025_07_00_49_10293.jpg /media/data/images/14082025/07/00/image_14082025_07_00_59_10382.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377033935","1377033970","1377034123","1377034024","1377034080","1377033984"],"photo_ids_order":["1377033935","1377033970","1377033984","1377034024","1377034080","1377034123"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9cc5a2f828e7bd4af437931b66f4c56e.jpg","text":"TemporaryFile(/tmp/multipartBody7738597903564661935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181023689,"filename":"image_14082025_06_59_49_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c33c6994eed86a939ed1b4f15b75c5f.jpg","text":"TemporaryFile(/tmp/multipartBody8241330618331618858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181023689,"filename":"image_14082025_06_59_58_9262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79de87d5d63b0c6af411dd9fab1c15ba.jpg","text":"TemporaryFile(/tmp/multipartBody6358082933220061033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181023689,"filename":"image_14082025_07_00_59_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/283520ee61ad3613eace1daf4cb767d1.jpg","text":"TemporaryFile(/tmp/multipartBody8681003943655424513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181023689,"filename":"image_14082025_07_00_19_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ce971e500f91c72e4a859421275b1fd.jpg","text":"TemporaryFile(/tmp/multipartBody9154235112154991687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181023689,"filename":"image_14082025_07_00_49_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c4fa8fd4de7129f7b3ef32262eedceca.jpg","text":"TemporaryFile(/tmp/multipartBody5422748110017953046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181023689,"filename":"image_14082025_07_00_09_10277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377033984","file1":"1377033970","file0":"1377033935","file4":"1377034080","file5":"1377034123","file3":"1377034024"},"map_files_photo_id_array":[{"photo_id":"1377034123","filename":"file5"},{"photo_id":"1377033984","filename":"file2"},{"photo_id":"1377034080","filename":"file4"},{"photo_id":"1377033970","filename":"file1"},{"photo_id":"1377033935","filename":"file0"},{"photo_id":"1377034024","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377033935":["hashtag1","hashtag2"]},{"1377033970":["hashtag1","hashtag2"]},{"1377034123":["hashtag1","hashtag2"]},{"1377034024":["hashtag1","hashtag2"]},{"1377034080":["hashtag1","hashtag2"]},{"1377033984":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377033935, 1377033970, 1377034123, 1377034024, 1377034080, 1377033984)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.401407957077026 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:17:03.132481 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/01/image_14082025_07_01_08_9202.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_19_10480.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_29_10326.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_38_9142.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_48_10296.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_59_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/01/image_14082025_07_01_08_9202.jpg /media/data/images/14082025/07/01/image_14082025_07_01_19_10480.jpg /media/data/images/14082025/07/01/image_14082025_07_01_29_10326.jpg /media/data/images/14082025/07/01/image_14082025_07_01_38_9142.jpg /media/data/images/14082025/07/01/image_14082025_07_01_48_10296.jpg /media/data/images/14082025/07/01/image_14082025_07_01_59_10296.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5905158519744873 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:17:22.060192 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/01/image_14082025_07_01_08_9202.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_19_10480.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_29_10326.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_38_9142.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_48_10296.jpg', '/media/data/images/14082025/07/01/image_14082025_07_01_59_10296.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/01/image_14082025_07_01_08_9202.jpg /media/data/images/14082025/07/01/image_14082025_07_01_19_10480.jpg /media/data/images/14082025/07/01/image_14082025_07_01_29_10326.jpg /media/data/images/14082025/07/01/image_14082025_07_01_38_9142.jpg /media/data/images/14082025/07/01/image_14082025_07_01_48_10296.jpg /media/data/images/14082025/07/01/image_14082025_07_01_59_10296.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377034712","1377034529","1377034567","1377034677","1377034605","1377034643"],"photo_ids_order":["1377034529","1377034567","1377034605","1377034643","1377034677","1377034712"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7187ffb518b60eb8e3d46b1118108a19.jpg","text":"TemporaryFile(/tmp/multipartBody7498781356927407218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181102990,"filename":"image_14082025_07_01_59_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a22b999179809cc94e9a5031079cbad.jpg","text":"TemporaryFile(/tmp/multipartBody6828576829828399610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181102990,"filename":"image_14082025_07_01_08_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4ecf5cf34969688be5956b976a64fbe.jpg","text":"TemporaryFile(/tmp/multipartBody3517028593277031908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181102990,"filename":"image_14082025_07_01_19_10480.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c021f2d066526804a76c416f358ec30.jpg","text":"TemporaryFile(/tmp/multipartBody107393270089853942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181102990,"filename":"image_14082025_07_01_48_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a9cb324302e25e0c6fc807a64b13977.jpg","text":"TemporaryFile(/tmp/multipartBody8293753277015844126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181102990,"filename":"image_14082025_07_01_29_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0f116e5ae2e6ff67d5e67b69d9ed174.jpg","text":"TemporaryFile(/tmp/multipartBody1234329586115648638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181102990,"filename":"image_14082025_07_01_38_9142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377034605","file1":"1377034567","file0":"1377034529","file4":"1377034677","file5":"1377034712","file3":"1377034643"},"map_files_photo_id_array":[{"photo_id":"1377034712","filename":"file5"},{"photo_id":"1377034605","filename":"file2"},{"photo_id":"1377034677","filename":"file4"},{"photo_id":"1377034567","filename":"file1"},{"photo_id":"1377034529","filename":"file0"},{"photo_id":"1377034643","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377034712":["hashtag1","hashtag2"]},{"1377034529":["hashtag1","hashtag2"]},{"1377034567":["hashtag1","hashtag2"]},{"1377034677":["hashtag1","hashtag2"]},{"1377034605":["hashtag1","hashtag2"]},{"1377034643":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377034712, 1377034529, 1377034567, 1377034677, 1377034605, 1377034643)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.506829261779785 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:18:22.184764 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/02/image_14082025_07_02_08_9175.jpg', '/media/data/images/14082025/07/02/image_14082025_07_02_18_10369.jpg', '/media/data/images/14082025/07/02/image_14082025_07_02_29_10491.jpg', '/media/data/images/14082025/07/02/image_14082025_07_02_38_9100.jpg', '/media/data/images/14082025/07/02/image_14082025_07_02_48_10455.jpg', '/media/data/images/14082025/07/02/image_14082025_07_02_59_10336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/02/image_14082025_07_02_08_9175.jpg /media/data/images/14082025/07/02/image_14082025_07_02_18_10369.jpg /media/data/images/14082025/07/02/image_14082025_07_02_29_10491.jpg /media/data/images/14082025/07/02/image_14082025_07_02_38_9100.jpg /media/data/images/14082025/07/02/image_14082025_07_02_48_10455.jpg /media/data/images/14082025/07/02/image_14082025_07_02_59_10336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377035092","1377035056","1377035020","1377035130","1377034985","1377034949"],"photo_ids_order":["1377034949","1377034985","1377035020","1377035056","1377035092","1377035130"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05cd4f78a1269a59100feccd33ec859c.jpg","text":"TemporaryFile(/tmp/multipartBody7998505752298804625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181163206,"filename":"image_14082025_07_02_48_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d30f48b52695b0d8fd461fb85a985315.jpg","text":"TemporaryFile(/tmp/multipartBody6058126874220005430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181163206,"filename":"image_14082025_07_02_38_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32a2caebb5e091eb5485284f56ff9cb0.jpg","text":"TemporaryFile(/tmp/multipartBody568136883857265752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181163206,"filename":"image_14082025_07_02_29_10491.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0bab4a3ceebbe2fe9bf3024030b82a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1891648828527565357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181163206,"filename":"image_14082025_07_02_59_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b84e46874e4bd73e12a13dcff39a590.jpg","text":"TemporaryFile(/tmp/multipartBody8931085785804733995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181163206,"filename":"image_14082025_07_02_18_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4af51dec1c64d167dc65a1312c671d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4741655837939547762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181163206,"filename":"image_14082025_07_02_08_9175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377035020","file1":"1377034985","file0":"1377034949","file4":"1377035092","file5":"1377035130","file3":"1377035056"},"map_files_photo_id_array":[{"photo_id":"1377035130","filename":"file5"},{"photo_id":"1377035020","filename":"file2"},{"photo_id":"1377035092","filename":"file4"},{"photo_id":"1377034985","filename":"file1"},{"photo_id":"1377034949","filename":"file0"},{"photo_id":"1377035056","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377035092":["hashtag1","hashtag2"]},{"1377035056":["hashtag1","hashtag2"]},{"1377035020":["hashtag1","hashtag2"]},{"1377035130":["hashtag1","hashtag2"]},{"1377034985":["hashtag1","hashtag2"]},{"1377034949":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377035092, 1377035056, 1377035020, 1377035130, 1377034985, 1377034949)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.382365226745605 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:19:22.275918 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/03/image_14082025_07_03_08_9208.jpg', '/media/data/images/14082025/07/03/image_14082025_07_03_18_10492.jpg', '/media/data/images/14082025/07/03/image_14082025_07_03_29_10459.jpg', '/media/data/images/14082025/07/03/image_14082025_07_03_38_9160.jpg', '/media/data/images/14082025/07/03/image_14082025_07_03_48_10444.jpg', '/media/data/images/14082025/07/03/image_14082025_07_03_59_10488.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/03/image_14082025_07_03_08_9208.jpg /media/data/images/14082025/07/03/image_14082025_07_03_18_10492.jpg /media/data/images/14082025/07/03/image_14082025_07_03_29_10459.jpg /media/data/images/14082025/07/03/image_14082025_07_03_38_9160.jpg /media/data/images/14082025/07/03/image_14082025_07_03_48_10444.jpg /media/data/images/14082025/07/03/image_14082025_07_03_59_10488.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377035839","1377035733","1377035558","1377035695","1377035627","1377035776"],"photo_ids_order":["1377035558","1377035627","1377035695","1377035733","1377035776","1377035839"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9edf28ea0beb1bfbf0e3b960075e555.jpg","text":"TemporaryFile(/tmp/multipartBody5832349293057512383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181223235,"filename":"image_14082025_07_03_59_10488.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32b5739a1aa34899cd5914ae2c80eb70.jpg","text":"TemporaryFile(/tmp/multipartBody7011105818453582376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181223235,"filename":"image_14082025_07_03_38_9160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c392b099fac431615366eaf5e128ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1796168555242227941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181223235,"filename":"image_14082025_07_03_08_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70dfa226b962702a7e78d7093da67bea.jpg","text":"TemporaryFile(/tmp/multipartBody6748870113417342694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181223235,"filename":"image_14082025_07_03_29_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53aa3e55fd3b86587320080e4e6d8ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5845340164798411231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181223235,"filename":"image_14082025_07_03_18_10492.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3caa76c0cdac0368ef70b86730fd7617.jpg","text":"TemporaryFile(/tmp/multipartBody3692096616476879679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181223235,"filename":"image_14082025_07_03_48_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377035695","file1":"1377035627","file0":"1377035558","file4":"1377035776","file5":"1377035839","file3":"1377035733"},"map_files_photo_id_array":[{"photo_id":"1377035839","filename":"file5"},{"photo_id":"1377035695","filename":"file2"},{"photo_id":"1377035776","filename":"file4"},{"photo_id":"1377035627","filename":"file1"},{"photo_id":"1377035558","filename":"file0"},{"photo_id":"1377035733","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377035839":["hashtag1","hashtag2"]},{"1377035733":["hashtag1","hashtag2"]},{"1377035558":["hashtag1","hashtag2"]},{"1377035695":["hashtag1","hashtag2"]},{"1377035627":["hashtag1","hashtag2"]},{"1377035776":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377035839, 1377035733, 1377035558, 1377035695, 1377035627, 1377035776)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.938958168029785 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:20:22.424934 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/04/image_14082025_07_04_08_9418.jpg', '/media/data/images/14082025/07/04/image_14082025_07_04_19_10418.jpg', '/media/data/images/14082025/07/04/image_14082025_07_04_28_9248.jpg', '/media/data/images/14082025/07/04/image_14082025_07_04_38_10396.jpg', '/media/data/images/14082025/07/04/image_14082025_07_04_49_10396.jpg', '/media/data/images/14082025/07/04/image_14082025_07_04_58_9146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/04/image_14082025_07_04_08_9418.jpg /media/data/images/14082025/07/04/image_14082025_07_04_19_10418.jpg /media/data/images/14082025/07/04/image_14082025_07_04_28_9248.jpg /media/data/images/14082025/07/04/image_14082025_07_04_38_10396.jpg /media/data/images/14082025/07/04/image_14082025_07_04_49_10396.jpg /media/data/images/14082025/07/04/image_14082025_07_04_58_9146.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377035998","1377035970","1377035990","1377035987","1377035992","1377035995"],"photo_ids_order":["1377035970","1377035987","1377035990","1377035992","1377035995","1377035998"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e583b6592fef5ef6ec0cf3378d35ae4.jpg","text":"TemporaryFile(/tmp/multipartBody1075928503193411898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181283405,"filename":"image_14082025_07_04_58_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c30fe7fca684865581eaa51d19cb1d5.jpg","text":"TemporaryFile(/tmp/multipartBody8772261221416973315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181283405,"filename":"image_14082025_07_04_08_9418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d63a9630cbe4f19a341438abfe29ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody4609892074702825409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181283405,"filename":"image_14082025_07_04_28_9248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80315edc46474cb7f7c29f8f66381810.jpg","text":"TemporaryFile(/tmp/multipartBody6405927836354239535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181283405,"filename":"image_14082025_07_04_19_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7e6026778ecb7f0034bf7b8a8e278c8.jpg","text":"TemporaryFile(/tmp/multipartBody5417096852336442321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181283405,"filename":"image_14082025_07_04_38_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/26ff4c5d72885b02a87a727820c460d2.jpg","text":"TemporaryFile(/tmp/multipartBody2760915981866506094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181283405,"filename":"image_14082025_07_04_49_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377035990","file1":"1377035987","file0":"1377035970","file4":"1377035995","file5":"1377035998","file3":"1377035992"},"map_files_photo_id_array":[{"photo_id":"1377035998","filename":"file5"},{"photo_id":"1377035990","filename":"file2"},{"photo_id":"1377035995","filename":"file4"},{"photo_id":"1377035987","filename":"file1"},{"photo_id":"1377035970","filename":"file0"},{"photo_id":"1377035992","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377035998":["hashtag1","hashtag2"]},{"1377035970":["hashtag1","hashtag2"]},{"1377035990":["hashtag1","hashtag2"]},{"1377035987":["hashtag1","hashtag2"]},{"1377035992":["hashtag1","hashtag2"]},{"1377035995":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377035998, 1377035970, 1377035990, 1377035987, 1377035992, 1377035995)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.65195941925049 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:21:22.525028 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/04/image_14082025_07_05_09_10840.jpg', '/media/data/images/14082025/07/05/image_14082025_07_05_18_9187.jpg', '/media/data/images/14082025/07/05/image_14082025_07_05_29_10492.jpg', '/media/data/images/14082025/07/05/image_14082025_07_05_39_10442.jpg', '/media/data/images/14082025/07/05/image_14082025_07_05_48_9189.jpg', '/media/data/images/14082025/07/05/image_14082025_07_05_59_10396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/04/image_14082025_07_05_09_10840.jpg /media/data/images/14082025/07/05/image_14082025_07_05_18_9187.jpg /media/data/images/14082025/07/05/image_14082025_07_05_29_10492.jpg /media/data/images/14082025/07/05/image_14082025_07_05_39_10442.jpg /media/data/images/14082025/07/05/image_14082025_07_05_48_9189.jpg /media/data/images/14082025/07/05/image_14082025_07_05_59_10396.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036198","1377036231","1377036263","1377036317","1377036166","1377036340"],"photo_ids_order":["1377036166","1377036198","1377036231","1377036263","1377036317","1377036340"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e39f491c1da9340fe8ad07ee4f87709c.jpg","text":"TemporaryFile(/tmp/multipartBody3989886436524477067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181343521,"filename":"image_14082025_07_05_18_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/769c3f5f5b99b552ba26429d1d163332.jpg","text":"TemporaryFile(/tmp/multipartBody6076189091891156518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181343521,"filename":"image_14082025_07_05_29_10492.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e2675e567c90c639d2cd2b187cc327fd.jpg","text":"TemporaryFile(/tmp/multipartBody3814631337926866835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181343521,"filename":"image_14082025_07_05_39_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/678af69173388f496e5c0fc73f989a0b.jpg","text":"TemporaryFile(/tmp/multipartBody4837109863005687683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181343521,"filename":"image_14082025_07_05_48_9189.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/424922efeb4b4bfe94412734c3556f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4464027342108371547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181343521,"filename":"image_14082025_07_05_09_10840.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/98792d5105ff80f7cec9b6924f4fbed0.jpg","text":"TemporaryFile(/tmp/multipartBody1115847336931211989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181343521,"filename":"image_14082025_07_05_59_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036231","file1":"1377036198","file0":"1377036166","file4":"1377036317","file5":"1377036340","file3":"1377036263"},"map_files_photo_id_array":[{"photo_id":"1377036340","filename":"file5"},{"photo_id":"1377036231","filename":"file2"},{"photo_id":"1377036317","filename":"file4"},{"photo_id":"1377036198","filename":"file1"},{"photo_id":"1377036166","filename":"file0"},{"photo_id":"1377036263","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036198":["hashtag1","hashtag2"]},{"1377036231":["hashtag1","hashtag2"]},{"1377036263":["hashtag1","hashtag2"]},{"1377036317":["hashtag1","hashtag2"]},{"1377036166":["hashtag1","hashtag2"]},{"1377036340":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036198, 1377036231, 1377036263, 1377036317, 1377036166, 1377036340)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.56017589569092 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:22:22.734369 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/06/image_14082025_07_06_08_9438.jpg', '/media/data/images/14082025/07/06/image_14082025_07_06_18_10454.jpg', '/media/data/images/14082025/07/06/image_14082025_07_06_29_10451.jpg', '/media/data/images/14082025/07/06/image_14082025_07_06_38_9176.jpg', '/media/data/images/14082025/07/06/image_14082025_07_06_49_10465.jpg', '/media/data/images/14082025/07/06/image_14082025_07_06_59_10482.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/06/image_14082025_07_06_08_9438.jpg /media/data/images/14082025/07/06/image_14082025_07_06_18_10454.jpg /media/data/images/14082025/07/06/image_14082025_07_06_29_10451.jpg /media/data/images/14082025/07/06/image_14082025_07_06_38_9176.jpg /media/data/images/14082025/07/06/image_14082025_07_06_49_10465.jpg /media/data/images/14082025/07/06/image_14082025_07_06_59_10482.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036442","1377036471","1377036452","1377036455","1377036449","1377036503"],"photo_ids_order":["1377036442","1377036449","1377036452","1377036455","1377036471","1377036503"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2415c5398cb19b982f8e98bd1c720839.jpg","text":"TemporaryFile(/tmp/multipartBody1196778976921644035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181403713,"filename":"image_14082025_07_06_08_9438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5cc0ce251e86de61bfd7a20728f37494.jpg","text":"TemporaryFile(/tmp/multipartBody9112014759084790465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181403713,"filename":"image_14082025_07_06_49_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54af982705b8bcdc1f37be6df7033366.jpg","text":"TemporaryFile(/tmp/multipartBody1431798037169848245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181403713,"filename":"image_14082025_07_06_29_10451.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4fe188cb21c287ae956c1a744aa91218.jpg","text":"TemporaryFile(/tmp/multipartBody1758409822865502618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181403713,"filename":"image_14082025_07_06_38_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/771a37b14967be44bbf5883976628f86.jpg","text":"TemporaryFile(/tmp/multipartBody5102328228287280248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181403713,"filename":"image_14082025_07_06_18_10454.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f087b80db6d2f747ff7aecda8091ef16.jpg","text":"TemporaryFile(/tmp/multipartBody3321839607763457288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181403713,"filename":"image_14082025_07_06_59_10482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036452","file1":"1377036449","file0":"1377036442","file4":"1377036471","file5":"1377036503","file3":"1377036455"},"map_files_photo_id_array":[{"photo_id":"1377036503","filename":"file5"},{"photo_id":"1377036452","filename":"file2"},{"photo_id":"1377036471","filename":"file4"},{"photo_id":"1377036449","filename":"file1"},{"photo_id":"1377036442","filename":"file0"},{"photo_id":"1377036455","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036442":["hashtag1","hashtag2"]},{"1377036471":["hashtag1","hashtag2"]},{"1377036452":["hashtag1","hashtag2"]},{"1377036455":["hashtag1","hashtag2"]},{"1377036449":["hashtag1","hashtag2"]},{"1377036503":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036442, 1377036471, 1377036452, 1377036455, 1377036449, 1377036503)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.544827699661255 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:23:22.749037 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/07/image_14082025_07_07_08_9070.jpg', '/media/data/images/14082025/07/07/image_14082025_07_07_18_10404.jpg', '/media/data/images/14082025/07/07/image_14082025_07_07_29_10414.jpg', '/media/data/images/14082025/07/07/image_14082025_07_07_38_9085.jpg', '/media/data/images/14082025/07/07/image_14082025_07_07_48_10505.jpg', '/media/data/images/14082025/07/07/image_14082025_07_07_58_9436.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/07/image_14082025_07_07_08_9070.jpg /media/data/images/14082025/07/07/image_14082025_07_07_18_10404.jpg /media/data/images/14082025/07/07/image_14082025_07_07_29_10414.jpg /media/data/images/14082025/07/07/image_14082025_07_07_38_9085.jpg /media/data/images/14082025/07/07/image_14082025_07_07_48_10505.jpg /media/data/images/14082025/07/07/image_14082025_07_07_58_9436.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036634","1377036636","1377036630","1377036624","1377036627","1377036632"],"photo_ids_order":["1377036624","1377036627","1377036630","1377036632","1377036634","1377036636"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82ebcd1a89e6e453934e67c6f0669026.jpg","text":"TemporaryFile(/tmp/multipartBody1351176563208604704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181463782,"filename":"image_14082025_07_07_48_10505.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d190f91f70998beff7e0989cf725d77f.jpg","text":"TemporaryFile(/tmp/multipartBody6514553809229829842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181463782,"filename":"image_14082025_07_07_58_9436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/977f25f5192cfaf898e6e6e8d4c2bbbb.jpg","text":"TemporaryFile(/tmp/multipartBody6133709909008732830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181463782,"filename":"image_14082025_07_07_29_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b5a73944f761ece8f9790584ac9ea27.jpg","text":"TemporaryFile(/tmp/multipartBody5596428754851738516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181463782,"filename":"image_14082025_07_07_08_9070.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87fe0daa9e909b717222a19b4f94b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1822425757611958621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181463782,"filename":"image_14082025_07_07_18_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1e78981ad2e813680e0b9a2ec4b69a7.jpg","text":"TemporaryFile(/tmp/multipartBody1116789685241513317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181463782,"filename":"image_14082025_07_07_38_9085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036630","file1":"1377036627","file0":"1377036624","file4":"1377036634","file5":"1377036636","file3":"1377036632"},"map_files_photo_id_array":[{"photo_id":"1377036636","filename":"file5"},{"photo_id":"1377036630","filename":"file2"},{"photo_id":"1377036634","filename":"file4"},{"photo_id":"1377036627","filename":"file1"},{"photo_id":"1377036624","filename":"file0"},{"photo_id":"1377036632","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036634":["hashtag1","hashtag2"]},{"1377036636":["hashtag1","hashtag2"]},{"1377036630":["hashtag1","hashtag2"]},{"1377036624":["hashtag1","hashtag2"]},{"1377036627":["hashtag1","hashtag2"]},{"1377036632":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036634, 1377036636, 1377036630, 1377036624, 1377036627, 1377036632)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.86613965034485 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:24:21.899491 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/07/image_14082025_07_08_09_10688.jpg', '/media/data/images/14082025/07/08/image_14082025_07_08_18_9292.jpg', '/media/data/images/14082025/07/08/image_14082025_07_08_28_10365.jpg', '/media/data/images/14082025/07/08/image_14082025_07_08_39_10398.jpg', '/media/data/images/14082025/07/08/image_14082025_07_08_49_10372.jpg', '/media/data/images/14082025/07/08/image_14082025_07_08_58_9287.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/07/image_14082025_07_08_09_10688.jpg /media/data/images/14082025/07/08/image_14082025_07_08_18_9292.jpg /media/data/images/14082025/07/08/image_14082025_07_08_28_10365.jpg /media/data/images/14082025/07/08/image_14082025_07_08_39_10398.jpg /media/data/images/14082025/07/08/image_14082025_07_08_49_10372.jpg /media/data/images/14082025/07/08/image_14082025_07_08_58_9287.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036660","1377036689","1377036656","1377036688","1377036682","1377036685"],"photo_ids_order":["1377036656","1377036660","1377036682","1377036685","1377036688","1377036689"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7571869df7172f33b469f83c0b96d069.jpg","text":"TemporaryFile(/tmp/multipartBody6065937283621719127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181522995,"filename":"image_14082025_07_08_18_9292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/991839ceb666b3df8557977e2474f1de.jpg","text":"TemporaryFile(/tmp/multipartBody1635361647568124585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181522995,"filename":"image_14082025_07_08_58_9287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66811c9056ead85fa06d983918625b35.jpg","text":"TemporaryFile(/tmp/multipartBody4995722215051928393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181522995,"filename":"image_14082025_07_08_09_10688.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9eed63369cef774385ef79075e48dc98.jpg","text":"TemporaryFile(/tmp/multipartBody801220243072600108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181522995,"filename":"image_14082025_07_08_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ed3b7c68aa86cb6cb404ab9a2b4a0e4.jpg","text":"TemporaryFile(/tmp/multipartBody4026550616494510236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181522995,"filename":"image_14082025_07_08_28_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d8b94e4cbeb25ee334ce604a33e51b5.jpg","text":"TemporaryFile(/tmp/multipartBody1960268564835350130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181522995,"filename":"image_14082025_07_08_39_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036682","file1":"1377036660","file0":"1377036656","file4":"1377036688","file5":"1377036689","file3":"1377036685"},"map_files_photo_id_array":[{"photo_id":"1377036689","filename":"file5"},{"photo_id":"1377036682","filename":"file2"},{"photo_id":"1377036688","filename":"file4"},{"photo_id":"1377036660","filename":"file1"},{"photo_id":"1377036656","filename":"file0"},{"photo_id":"1377036685","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036660":["hashtag1","hashtag2"]},{"1377036689":["hashtag1","hashtag2"]},{"1377036656":["hashtag1","hashtag2"]},{"1377036688":["hashtag1","hashtag2"]},{"1377036682":["hashtag1","hashtag2"]},{"1377036685":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036660, 1377036689, 1377036656, 1377036688, 1377036682, 1377036685)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.14758229255676 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:25:21.998637 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/09/image_14082025_07_09_09_10380.jpg', '/media/data/images/14082025/07/09/image_14082025_07_09_18_9144.jpg', '/media/data/images/14082025/07/09/image_14082025_07_09_28_10465.jpg', '/media/data/images/14082025/07/09/image_14082025_07_09_39_10339.jpg', '/media/data/images/14082025/07/09/image_14082025_07_09_49_10361.jpg', '/media/data/images/14082025/07/09/image_14082025_07_09_58_9115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/09/image_14082025_07_09_09_10380.jpg /media/data/images/14082025/07/09/image_14082025_07_09_18_9144.jpg /media/data/images/14082025/07/09/image_14082025_07_09_28_10465.jpg /media/data/images/14082025/07/09/image_14082025_07_09_39_10339.jpg /media/data/images/14082025/07/09/image_14082025_07_09_49_10361.jpg /media/data/images/14082025/07/09/image_14082025_07_09_58_9115.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036832","1377036805","1377036771","1377036738","1377036835","1377036844"],"photo_ids_order":["1377036738","1377036771","1377036805","1377036832","1377036835","1377036844"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d78d502b050162f4e8002ee025e0275.jpg","text":"TemporaryFile(/tmp/multipartBody5727389390598954860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181583054,"filename":"image_14082025_07_09_39_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2bd770c39d1608840b0d9110cb2281b.jpg","text":"TemporaryFile(/tmp/multipartBody3496213055114703965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181583054,"filename":"image_14082025_07_09_28_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc4140eb389aed74155bcee371796d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1524706020272573467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181583054,"filename":"image_14082025_07_09_18_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ff97c6517ed89add289d3036bdb3455.jpg","text":"TemporaryFile(/tmp/multipartBody7175683485864934213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181583054,"filename":"image_14082025_07_09_09_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13eb8a5afa272959994a50526258e886.jpg","text":"TemporaryFile(/tmp/multipartBody6962429360922573540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181583054,"filename":"image_14082025_07_09_49_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/08a559e8c4c2ce49f35500cebf0c3034.jpg","text":"TemporaryFile(/tmp/multipartBody2241158311625194401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181583054,"filename":"image_14082025_07_09_58_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036805","file1":"1377036771","file0":"1377036738","file4":"1377036835","file5":"1377036844","file3":"1377036832"},"map_files_photo_id_array":[{"photo_id":"1377036844","filename":"file5"},{"photo_id":"1377036805","filename":"file2"},{"photo_id":"1377036835","filename":"file4"},{"photo_id":"1377036771","filename":"file1"},{"photo_id":"1377036738","filename":"file0"},{"photo_id":"1377036832","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036832":["hashtag1","hashtag2"]},{"1377036805":["hashtag1","hashtag2"]},{"1377036771":["hashtag1","hashtag2"]},{"1377036738":["hashtag1","hashtag2"]},{"1377036835":["hashtag1","hashtag2"]},{"1377036844":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036832, 1377036805, 1377036771, 1377036738, 1377036835, 1377036844)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.97632598876953 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:26:22.087429 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/10/image_14082025_07_10_09_10503.jpg', '/media/data/images/14082025/07/10/image_14082025_07_10_19_10356.jpg', '/media/data/images/14082025/07/10/image_14082025_07_10_28_9089.jpg', '/media/data/images/14082025/07/10/image_14082025_07_10_39_10631.jpg', '/media/data/images/14082025/07/10/image_14082025_07_10_48_9265.jpg', '/media/data/images/14082025/07/10/image_14082025_07_10_58_10313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/10/image_14082025_07_10_09_10503.jpg /media/data/images/14082025/07/10/image_14082025_07_10_19_10356.jpg /media/data/images/14082025/07/10/image_14082025_07_10_28_9089.jpg /media/data/images/14082025/07/10/image_14082025_07_10_39_10631.jpg /media/data/images/14082025/07/10/image_14082025_07_10_48_9265.jpg /media/data/images/14082025/07/10/image_14082025_07_10_58_10313.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036894","1377036891","1377036879","1377036887","1377036881","1377036884"],"photo_ids_order":["1377036879","1377036881","1377036884","1377036887","1377036891","1377036894"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc5e4b310b60fe5e28af4d4f6a92fe89.jpg","text":"TemporaryFile(/tmp/multipartBody5534871187905163314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181643111,"filename":"image_14082025_07_10_58_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71e0548eeb85e61df3ccf365e0f8e5c9.jpg","text":"TemporaryFile(/tmp/multipartBody90643049285682242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181643111,"filename":"image_14082025_07_10_48_9265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf91450eed7ab7ebb9e07405261f1338.jpg","text":"TemporaryFile(/tmp/multipartBody5639657312592817381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181643111,"filename":"image_14082025_07_10_09_10503.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6276192a7cefd9e6bb1261523ab7a1f3.jpg","text":"TemporaryFile(/tmp/multipartBody5417898140916569145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181643111,"filename":"image_14082025_07_10_39_10631.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc88362c4888c1240c8e64a60ef1f29b.jpg","text":"TemporaryFile(/tmp/multipartBody3654684442701921067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181643111,"filename":"image_14082025_07_10_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2748386d34a621f78355a54b39416057.jpg","text":"TemporaryFile(/tmp/multipartBody8761534941421411780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181643111,"filename":"image_14082025_07_10_28_9089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036884","file1":"1377036881","file0":"1377036879","file4":"1377036891","file5":"1377036894","file3":"1377036887"},"map_files_photo_id_array":[{"photo_id":"1377036894","filename":"file5"},{"photo_id":"1377036884","filename":"file2"},{"photo_id":"1377036891","filename":"file4"},{"photo_id":"1377036881","filename":"file1"},{"photo_id":"1377036879","filename":"file0"},{"photo_id":"1377036887","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036894":["hashtag1","hashtag2"]},{"1377036891":["hashtag1","hashtag2"]},{"1377036879":["hashtag1","hashtag2"]},{"1377036887":["hashtag1","hashtag2"]},{"1377036881":["hashtag1","hashtag2"]},{"1377036884":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036894, 1377036891, 1377036879, 1377036887, 1377036881, 1377036884)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.0107798576355 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:27:22.231054 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/11/image_14082025_07_11_09_10473.jpg', '/media/data/images/14082025/07/11/image_14082025_07_11_18_9183.jpg', '/media/data/images/14082025/07/11/image_14082025_07_11_28_10323.jpg', '/media/data/images/14082025/07/11/image_14082025_07_11_39_10446.jpg', '/media/data/images/14082025/07/11/image_14082025_07_11_48_9279.jpg', '/media/data/images/14082025/07/11/image_14082025_07_11_58_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/11/image_14082025_07_11_09_10473.jpg /media/data/images/14082025/07/11/image_14082025_07_11_18_9183.jpg /media/data/images/14082025/07/11/image_14082025_07_11_28_10323.jpg /media/data/images/14082025/07/11/image_14082025_07_11_39_10446.jpg /media/data/images/14082025/07/11/image_14082025_07_11_48_9279.jpg /media/data/images/14082025/07/11/image_14082025_07_11_58_10361.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377036919","1377036945","1377036909","1377036944","1377036932","1377036929"],"photo_ids_order":["1377036909","1377036919","1377036929","1377036932","1377036944","1377036945"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76f42e1f83ad7528b4a1d62e0b744e5e.jpg","text":"TemporaryFile(/tmp/multipartBody184185579381415952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181703283,"filename":"image_14082025_07_11_18_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8fe06071321be552b86cc0fdb43e238f.jpg","text":"TemporaryFile(/tmp/multipartBody1043419044527311031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181703283,"filename":"image_14082025_07_11_58_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e2324eda63b402fa4233aae397e1ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7824028676011946998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181703283,"filename":"image_14082025_07_11_09_10473.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d87ba70ced7ae290437c2ec54ba20f58.jpg","text":"TemporaryFile(/tmp/multipartBody3084358533088825313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181703283,"filename":"image_14082025_07_11_48_9279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/445408b38270319e004a0f50b9a2f05a.jpg","text":"TemporaryFile(/tmp/multipartBody7574922063206756725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181703283,"filename":"image_14082025_07_11_39_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81ce634bce6f20819f57f2991c0ab575.jpg","text":"TemporaryFile(/tmp/multipartBody4565464886167364019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181703283,"filename":"image_14082025_07_11_28_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377036929","file1":"1377036919","file0":"1377036909","file4":"1377036944","file5":"1377036945","file3":"1377036932"},"map_files_photo_id_array":[{"photo_id":"1377036945","filename":"file5"},{"photo_id":"1377036929","filename":"file2"},{"photo_id":"1377036944","filename":"file4"},{"photo_id":"1377036919","filename":"file1"},{"photo_id":"1377036909","filename":"file0"},{"photo_id":"1377036932","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377036919":["hashtag1","hashtag2"]},{"1377036945":["hashtag1","hashtag2"]},{"1377036909":["hashtag1","hashtag2"]},{"1377036944":["hashtag1","hashtag2"]},{"1377036932":["hashtag1","hashtag2"]},{"1377036929":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377036919, 1377036945, 1377036909, 1377036944, 1377036932, 1377036929)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.50533437728882 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:28:22.306338 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/12/image_14082025_07_12_09_10608.jpg', '/media/data/images/14082025/07/12/image_14082025_07_12_18_9208.jpg', '/media/data/images/14082025/07/12/image_14082025_07_12_29_10404.jpg', '/media/data/images/14082025/07/12/image_14082025_07_12_39_10418.jpg', '/media/data/images/14082025/07/12/image_14082025_07_12_48_9155.jpg', '/media/data/images/14082025/07/12/image_14082025_07_12_59_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/12/image_14082025_07_12_09_10608.jpg /media/data/images/14082025/07/12/image_14082025_07_12_18_9208.jpg /media/data/images/14082025/07/12/image_14082025_07_12_29_10404.jpg /media/data/images/14082025/07/12/image_14082025_07_12_39_10418.jpg /media/data/images/14082025/07/12/image_14082025_07_12_48_9155.jpg /media/data/images/14082025/07/12/image_14082025_07_12_59_10419.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037071","1377037067","1377037061","1377037078","1377037075","1377037080"],"photo_ids_order":["1377037061","1377037067","1377037071","1377037075","1377037078","1377037080"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae71fc6e403ab8923f3349fd6e7a26c5.jpg","text":"TemporaryFile(/tmp/multipartBody2752592000299661474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181763276,"filename":"image_14082025_07_12_29_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e04651ef500bfaef16c02ba315c06b1.jpg","text":"TemporaryFile(/tmp/multipartBody8871045946125610878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181763276,"filename":"image_14082025_07_12_18_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3d76c4a08e15b11391246a6982f2ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4198726405250117394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181763276,"filename":"image_14082025_07_12_09_10608.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/320cb5e68b5e4d7b3e2ab4b7f7c87737.jpg","text":"TemporaryFile(/tmp/multipartBody3778273328418075293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181763276,"filename":"image_14082025_07_12_48_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b634320d2e373dd438af29a5cc595ccb.jpg","text":"TemporaryFile(/tmp/multipartBody363629339128728005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181763276,"filename":"image_14082025_07_12_39_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aef232bc3bd65e0a2c69202ec9944658.jpg","text":"TemporaryFile(/tmp/multipartBody3840153104217132099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181763276,"filename":"image_14082025_07_12_59_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037071","file1":"1377037067","file0":"1377037061","file4":"1377037078","file5":"1377037080","file3":"1377037075"},"map_files_photo_id_array":[{"photo_id":"1377037080","filename":"file5"},{"photo_id":"1377037071","filename":"file2"},{"photo_id":"1377037078","filename":"file4"},{"photo_id":"1377037067","filename":"file1"},{"photo_id":"1377037061","filename":"file0"},{"photo_id":"1377037075","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037071":["hashtag1","hashtag2"]},{"1377037067":["hashtag1","hashtag2"]},{"1377037061":["hashtag1","hashtag2"]},{"1377037078":["hashtag1","hashtag2"]},{"1377037075":["hashtag1","hashtag2"]},{"1377037080":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037071, 1377037067, 1377037061, 1377037078, 1377037075, 1377037080)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 45.52581286430359 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:29:22.468395 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/13/image_14082025_07_13_08_9367.jpg', '/media/data/images/14082025/07/13/image_14082025_07_13_18_10453.jpg', '/media/data/images/14082025/07/13/image_14082025_07_13_29_10411.jpg', '/media/data/images/14082025/07/13/image_14082025_07_13_38_9166.jpg', '/media/data/images/14082025/07/13/image_14082025_07_13_48_10501.jpg', '/media/data/images/14082025/07/13/image_14082025_07_13_59_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/13/image_14082025_07_13_08_9367.jpg /media/data/images/14082025/07/13/image_14082025_07_13_18_10453.jpg /media/data/images/14082025/07/13/image_14082025_07_13_29_10411.jpg /media/data/images/14082025/07/13/image_14082025_07_13_38_9166.jpg /media/data/images/14082025/07/13/image_14082025_07_13_48_10501.jpg /media/data/images/14082025/07/13/image_14082025_07_13_59_10398.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037104","1377037097","1377037121","1377037118","1377037109","1377037138"],"photo_ids_order":["1377037097","1377037104","1377037109","1377037118","1377037121","1377037138"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bad8b947bff1a1f721b102fea3985459.jpg","text":"TemporaryFile(/tmp/multipartBody199190100859141448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181823432,"filename":"image_14082025_07_13_18_10453.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8f8e4651880c35c3ed69803a48fdd08.jpg","text":"TemporaryFile(/tmp/multipartBody4682499437961714990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181823432,"filename":"image_14082025_07_13_08_9367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ab0969e922de4f15d76007fdd4623bb.jpg","text":"TemporaryFile(/tmp/multipartBody6081097011883052536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181823432,"filename":"image_14082025_07_13_48_10501.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2eabf5158d7013c42045d7e54230a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4299838743483048581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181823432,"filename":"image_14082025_07_13_38_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0232c38da0c323b20bf922e8bd249825.jpg","text":"TemporaryFile(/tmp/multipartBody6634429847564200741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181823432,"filename":"image_14082025_07_13_29_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b0fabfe5f10afff42bd175015860486.jpg","text":"TemporaryFile(/tmp/multipartBody8272668259049005564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181823432,"filename":"image_14082025_07_13_59_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037109","file1":"1377037104","file0":"1377037097","file4":"1377037121","file5":"1377037138","file3":"1377037118"},"map_files_photo_id_array":[{"photo_id":"1377037138","filename":"file5"},{"photo_id":"1377037109","filename":"file2"},{"photo_id":"1377037121","filename":"file4"},{"photo_id":"1377037104","filename":"file1"},{"photo_id":"1377037097","filename":"file0"},{"photo_id":"1377037118","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037104":["hashtag1","hashtag2"]},{"1377037097":["hashtag1","hashtag2"]},{"1377037121":["hashtag1","hashtag2"]},{"1377037118":["hashtag1","hashtag2"]},{"1377037109":["hashtag1","hashtag2"]},{"1377037138":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037104, 1377037097, 1377037121, 1377037118, 1377037109, 1377037138)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.48007798194885 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:30:22.602108 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/14/image_14082025_07_14_08_9276.jpg', '/media/data/images/14082025/07/14/image_14082025_07_14_19_10420.jpg', '/media/data/images/14082025/07/14/image_14082025_07_14_28_9271.jpg', '/media/data/images/14082025/07/14/image_14082025_07_14_38_10401.jpg', '/media/data/images/14082025/07/14/image_14082025_07_14_49_10458.jpg', '/media/data/images/14082025/07/14/image_14082025_07_14_58_9153.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/14/image_14082025_07_14_08_9276.jpg /media/data/images/14082025/07/14/image_14082025_07_14_19_10420.jpg /media/data/images/14082025/07/14/image_14082025_07_14_28_9271.jpg /media/data/images/14082025/07/14/image_14082025_07_14_38_10401.jpg /media/data/images/14082025/07/14/image_14082025_07_14_49_10458.jpg /media/data/images/14082025/07/14/image_14082025_07_14_58_9153.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037197","1377037182","1377037189","1377037186","1377037191","1377037194"],"photo_ids_order":["1377037182","1377037186","1377037189","1377037191","1377037194","1377037197"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c72dad49f57a8ae03111b653cfc351a7.jpg","text":"TemporaryFile(/tmp/multipartBody9082194476089624571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181883735,"filename":"image_14082025_07_14_58_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9444b0aeccc881fefeda2399070ecce.jpg","text":"TemporaryFile(/tmp/multipartBody7125195045052969933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181883735,"filename":"image_14082025_07_14_08_9276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d92771ec51be447a7490b27ab6a5350d.jpg","text":"TemporaryFile(/tmp/multipartBody3397588352249489901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181883735,"filename":"image_14082025_07_14_28_9271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebc346eb9093a8fe24b47703eba23011.jpg","text":"TemporaryFile(/tmp/multipartBody5311942830947171718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181883735,"filename":"image_14082025_07_14_19_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97659f650ea0a9b9a7c68a0edb7db753.jpg","text":"TemporaryFile(/tmp/multipartBody8421879949060886561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181883735,"filename":"image_14082025_07_14_38_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f0d51b9af70a82bd0902ca8fc2da693.jpg","text":"TemporaryFile(/tmp/multipartBody2902103508537915075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181883735,"filename":"image_14082025_07_14_49_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037189","file1":"1377037186","file0":"1377037182","file4":"1377037194","file5":"1377037197","file3":"1377037191"},"map_files_photo_id_array":[{"photo_id":"1377037197","filename":"file5"},{"photo_id":"1377037189","filename":"file2"},{"photo_id":"1377037194","filename":"file4"},{"photo_id":"1377037186","filename":"file1"},{"photo_id":"1377037182","filename":"file0"},{"photo_id":"1377037191","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037197":["hashtag1","hashtag2"]},{"1377037182":["hashtag1","hashtag2"]},{"1377037189":["hashtag1","hashtag2"]},{"1377037186":["hashtag1","hashtag2"]},{"1377037191":["hashtag1","hashtag2"]},{"1377037194":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037197, 1377037182, 1377037189, 1377037186, 1377037191, 1377037194)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.124377965927124 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:31:22.898268 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/14/image_14082025_07_15_08_10636.jpg', '/media/data/images/14082025/07/15/image_14082025_07_15_19_10394.jpg', '/media/data/images/14082025/07/15/image_14082025_07_15_28_9178.jpg', '/media/data/images/14082025/07/15/image_14082025_07_15_38_10396.jpg', '/media/data/images/14082025/07/15/image_14082025_07_15_49_10411.jpg', '/media/data/images/14082025/07/15/image_14082025_07_15_58_9076.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/14/image_14082025_07_15_08_10636.jpg /media/data/images/14082025/07/15/image_14082025_07_15_19_10394.jpg /media/data/images/14082025/07/15/image_14082025_07_15_28_9178.jpg /media/data/images/14082025/07/15/image_14082025_07_15_38_10396.jpg /media/data/images/14082025/07/15/image_14082025_07_15_49_10411.jpg /media/data/images/14082025/07/15/image_14082025_07_15_58_9076.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037221","1377037247","1377037241","1377037258","1377037225","1377037255"],"photo_ids_order":["1377037221","1377037225","1377037241","1377037247","1377037255","1377037258"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3c962ab601123b639602a19f2054709.jpg","text":"TemporaryFile(/tmp/multipartBody683127378151996606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181943865,"filename":"image_14082025_07_15_08_10636.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fece6f35f3d7e806ae5743c552826fe0.jpg","text":"TemporaryFile(/tmp/multipartBody1591482815515121758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181943865,"filename":"image_14082025_07_15_38_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fea2a887734788ff8687ec72b972561.jpg","text":"TemporaryFile(/tmp/multipartBody8578755336884782686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181943865,"filename":"image_14082025_07_15_28_9178.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38b970c16d606a7082d1db7a65294a84.jpg","text":"TemporaryFile(/tmp/multipartBody3261352433630863185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181943865,"filename":"image_14082025_07_15_58_9076.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/910d72bea5741341367fb3d4aacca207.jpg","text":"TemporaryFile(/tmp/multipartBody7983577035171814670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181943865,"filename":"image_14082025_07_15_19_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c26c766c902b4b6d3a5fb88a963d8f78.jpg","text":"TemporaryFile(/tmp/multipartBody7511321424168721174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755181943865,"filename":"image_14082025_07_15_49_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037241","file1":"1377037225","file0":"1377037221","file4":"1377037255","file5":"1377037258","file3":"1377037247"},"map_files_photo_id_array":[{"photo_id":"1377037258","filename":"file5"},{"photo_id":"1377037241","filename":"file2"},{"photo_id":"1377037255","filename":"file4"},{"photo_id":"1377037225","filename":"file1"},{"photo_id":"1377037221","filename":"file0"},{"photo_id":"1377037247","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037221":["hashtag1","hashtag2"]},{"1377037247":["hashtag1","hashtag2"]},{"1377037241":["hashtag1","hashtag2"]},{"1377037258":["hashtag1","hashtag2"]},{"1377037225":["hashtag1","hashtag2"]},{"1377037255":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037221, 1377037247, 1377037241, 1377037258, 1377037225, 1377037255)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.431304693222046 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:32:21.788765 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/15/image_14082025_07_16_09_10615.jpg', '/media/data/images/14082025/07/16/image_14082025_07_16_19_10366.jpg', '/media/data/images/14082025/07/16/image_14082025_07_16_28_9068.jpg', '/media/data/images/14082025/07/16/image_14082025_07_16_38_10406.jpg', '/media/data/images/14082025/07/16/image_14082025_07_16_49_10444.jpg', '/media/data/images/14082025/07/17/image_14082025_07_17_08_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/15/image_14082025_07_16_09_10615.jpg /media/data/images/14082025/07/16/image_14082025_07_16_19_10366.jpg /media/data/images/14082025/07/16/image_14082025_07_16_28_9068.jpg /media/data/images/14082025/07/16/image_14082025_07_16_38_10406.jpg /media/data/images/14082025/07/16/image_14082025_07_16_49_10444.jpg /media/data/images/14082025/07/17/image_14082025_07_17_08_10357.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037395","1377037350","1377037347","1377037358","1377037352","1377037354"],"photo_ids_order":["1377037347","1377037350","1377037352","1377037354","1377037358","1377037395"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ed5071ae4a4702a051074494e0f26eb.jpg","text":"TemporaryFile(/tmp/multipartBody8417299892717079178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182002850,"filename":"image_14082025_07_17_08_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e93bafad3e0c452b101b6ab130c213e7.jpg","text":"TemporaryFile(/tmp/multipartBody8849964810124467290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182002850,"filename":"image_14082025_07_16_19_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed5151fa9b8d34dcda0d0080a356a675.jpg","text":"TemporaryFile(/tmp/multipartBody437977543905529554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182002850,"filename":"image_14082025_07_16_09_10615.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c8fbfa9f911b78174574a7320e05473.jpg","text":"TemporaryFile(/tmp/multipartBody6888771215785200251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182002850,"filename":"image_14082025_07_16_49_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/023f4f6daa0f494d34bd8e459ac2f9df.jpg","text":"TemporaryFile(/tmp/multipartBody4950260667209087861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182002850,"filename":"image_14082025_07_16_28_9068.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e9027b02d23a393d978b147a97f77ce.jpg","text":"TemporaryFile(/tmp/multipartBody8304320341821096359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182002850,"filename":"image_14082025_07_16_38_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037352","file1":"1377037350","file0":"1377037347","file4":"1377037358","file5":"1377037395","file3":"1377037354"},"map_files_photo_id_array":[{"photo_id":"1377037395","filename":"file5"},{"photo_id":"1377037352","filename":"file2"},{"photo_id":"1377037358","filename":"file4"},{"photo_id":"1377037350","filename":"file1"},{"photo_id":"1377037347","filename":"file0"},{"photo_id":"1377037354","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037395":["hashtag1","hashtag2"]},{"1377037350":["hashtag1","hashtag2"]},{"1377037347":["hashtag1","hashtag2"]},{"1377037358":["hashtag1","hashtag2"]},{"1377037352":["hashtag1","hashtag2"]},{"1377037354":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037395, 1377037350, 1377037347, 1377037358, 1377037352, 1377037354)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.49942922592163 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:33:21.948985 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/17/image_14082025_07_17_19_10374.jpg', '/media/data/images/14082025/07/17/image_14082025_07_17_28_9075.jpg', '/media/data/images/14082025/07/17/image_14082025_07_17_38_10297.jpg', '/media/data/images/14082025/07/17/image_14082025_07_17_48_10295.jpg', '/media/data/images/14082025/07/17/image_14082025_07_17_59_10367.jpg', '/media/data/images/14082025/07/18/image_14082025_07_18_08_9241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/17/image_14082025_07_17_19_10374.jpg /media/data/images/14082025/07/17/image_14082025_07_17_28_9075.jpg /media/data/images/14082025/07/17/image_14082025_07_17_38_10297.jpg /media/data/images/14082025/07/17/image_14082025_07_17_48_10295.jpg /media/data/images/14082025/07/17/image_14082025_07_17_59_10367.jpg /media/data/images/14082025/07/18/image_14082025_07_18_08_9241.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037593","1377037587","1377037608","1377037598","1377037585","1377037582"],"photo_ids_order":["1377037582","1377037585","1377037587","1377037593","1377037598","1377037608"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20c86a17e684d14cd90500db8289f72a.jpg","text":"TemporaryFile(/tmp/multipartBody8595754696356556540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182063023,"filename":"image_14082025_07_17_48_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32d017b52b30f91ecd5ac9b45e0ae9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5075452363864367049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182063023,"filename":"image_14082025_07_17_38_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78ff48cd888bd66cb489548fa0cbfdd1.jpg","text":"TemporaryFile(/tmp/multipartBody8931896594653960620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182063023,"filename":"image_14082025_07_18_08_9241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95e4ae5ee75f00b592e172f7692d909f.jpg","text":"TemporaryFile(/tmp/multipartBody8632715422378454553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182063023,"filename":"image_14082025_07_17_59_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8123cbb053514f0921ea64361977b73.jpg","text":"TemporaryFile(/tmp/multipartBody1503444231382379167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182063023,"filename":"image_14082025_07_17_28_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abfd2076e311f599b76f66c8f64a11fc.jpg","text":"TemporaryFile(/tmp/multipartBody473441532509574880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182063023,"filename":"image_14082025_07_17_19_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037587","file1":"1377037585","file0":"1377037582","file4":"1377037598","file5":"1377037608","file3":"1377037593"},"map_files_photo_id_array":[{"photo_id":"1377037608","filename":"file5"},{"photo_id":"1377037587","filename":"file2"},{"photo_id":"1377037598","filename":"file4"},{"photo_id":"1377037585","filename":"file1"},{"photo_id":"1377037582","filename":"file0"},{"photo_id":"1377037593","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037593":["hashtag1","hashtag2"]},{"1377037587":["hashtag1","hashtag2"]},{"1377037608":["hashtag1","hashtag2"]},{"1377037598":["hashtag1","hashtag2"]},{"1377037585":["hashtag1","hashtag2"]},{"1377037582":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037593, 1377037587, 1377037608, 1377037598, 1377037585, 1377037582)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.78225493431091 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:34:22.023829 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/18/image_14082025_07_18_19_10465.jpg', '/media/data/images/14082025/07/18/image_14082025_07_18_29_10355.jpg', '/media/data/images/14082025/07/18/image_14082025_07_18_38_9069.jpg', '/media/data/images/14082025/07/18/image_14082025_07_18_48_10307.jpg', '/media/data/images/14082025/07/19/image_14082025_07_19_09_10268.jpg', '/media/data/images/14082025/07/19/image_14082025_07_19_18_9270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/18/image_14082025_07_18_19_10465.jpg /media/data/images/14082025/07/18/image_14082025_07_18_29_10355.jpg /media/data/images/14082025/07/18/image_14082025_07_18_38_9069.jpg /media/data/images/14082025/07/18/image_14082025_07_18_48_10307.jpg /media/data/images/14082025/07/19/image_14082025_07_19_09_10268.jpg /media/data/images/14082025/07/19/image_14082025_07_19_18_9270.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037686","1377037685","1377037625","1377037678","1377037681","1377037683"],"photo_ids_order":["1377037625","1377037678","1377037681","1377037683","1377037685","1377037686"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d2e469efe51b064ff28c244c01a8155.jpg","text":"TemporaryFile(/tmp/multipartBody4192886214765319971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182123122,"filename":"image_14082025_07_19_18_9270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8cbe64e4784c1d760483e308880ed74.jpg","text":"TemporaryFile(/tmp/multipartBody1724972561615546505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182123122,"filename":"image_14082025_07_19_09_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6f469c8c9f5f6346de8072a73f2b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody8160837364215851144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182123122,"filename":"image_14082025_07_18_19_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14619f1de5444dd07a08bcd8e97af2f3.jpg","text":"TemporaryFile(/tmp/multipartBody3738800713901056301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182123122,"filename":"image_14082025_07_18_29_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/698807a3a12881610487244b2c325c34.jpg","text":"TemporaryFile(/tmp/multipartBody7939157945200738519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182123122,"filename":"image_14082025_07_18_38_9069.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3cd29a54a8597cc9fe67acd0bab6990.jpg","text":"TemporaryFile(/tmp/multipartBody4257400844032290086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182123122,"filename":"image_14082025_07_18_48_10307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037681","file1":"1377037678","file0":"1377037625","file4":"1377037685","file5":"1377037686","file3":"1377037683"},"map_files_photo_id_array":[{"photo_id":"1377037686","filename":"file5"},{"photo_id":"1377037681","filename":"file2"},{"photo_id":"1377037685","filename":"file4"},{"photo_id":"1377037678","filename":"file1"},{"photo_id":"1377037625","filename":"file0"},{"photo_id":"1377037683","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037686":["hashtag1","hashtag2"]},{"1377037685":["hashtag1","hashtag2"]},{"1377037625":["hashtag1","hashtag2"]},{"1377037678":["hashtag1","hashtag2"]},{"1377037681":["hashtag1","hashtag2"]},{"1377037683":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037686, 1377037685, 1377037625, 1377037678, 1377037681, 1377037683)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.983158349990845 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:35:22.178264 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/19/image_14082025_07_19_28_10319.jpg', '/media/data/images/14082025/07/19/image_14082025_07_19_39_10307.jpg', '/media/data/images/14082025/07/19/image_14082025_07_19_48_9209.jpg', '/media/data/images/14082025/07/19/image_14082025_07_19_58_10314.jpg', '/media/data/images/14082025/07/20/image_14082025_07_20_09_10546.jpg', '/media/data/images/14082025/07/20/image_14082025_07_20_18_9079.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/19/image_14082025_07_19_28_10319.jpg /media/data/images/14082025/07/19/image_14082025_07_19_39_10307.jpg /media/data/images/14082025/07/19/image_14082025_07_19_48_9209.jpg /media/data/images/14082025/07/19/image_14082025_07_19_58_10314.jpg /media/data/images/14082025/07/20/image_14082025_07_20_09_10546.jpg /media/data/images/14082025/07/20/image_14082025_07_20_18_9079.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037692","1377037707","1377037706","1377037696","1377037699","1377037703"],"photo_ids_order":["1377037692","1377037696","1377037699","1377037703","1377037706","1377037707"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53b5c2315439c63f247b71454b1231c2.jpg","text":"TemporaryFile(/tmp/multipartBody1083060318503526796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182183268,"filename":"image_14082025_07_19_28_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6736cde4c7c8a4a9be56aa5dbcb5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4516214731149532239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182183268,"filename":"image_14082025_07_20_18_9079.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa7c07e40f57c580c298b422b8fd8054.jpg","text":"TemporaryFile(/tmp/multipartBody1115377210199633036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182183268,"filename":"image_14082025_07_20_09_10546.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d8224bab9fc759d3f1edf81ca926a90.jpg","text":"TemporaryFile(/tmp/multipartBody1263173681087320718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182183268,"filename":"image_14082025_07_19_39_10307.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a38f37c3b6be9f8d4681bd654d6d1417.jpg","text":"TemporaryFile(/tmp/multipartBody6181495280927010023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182183268,"filename":"image_14082025_07_19_48_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2742597ed485e93d70ca7dd3865aabf.jpg","text":"TemporaryFile(/tmp/multipartBody3023635477116701308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182183268,"filename":"image_14082025_07_19_58_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037699","file1":"1377037696","file0":"1377037692","file4":"1377037706","file5":"1377037707","file3":"1377037703"},"map_files_photo_id_array":[{"photo_id":"1377037707","filename":"file5"},{"photo_id":"1377037699","filename":"file2"},{"photo_id":"1377037706","filename":"file4"},{"photo_id":"1377037696","filename":"file1"},{"photo_id":"1377037692","filename":"file0"},{"photo_id":"1377037703","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037692":["hashtag1","hashtag2"]},{"1377037707":["hashtag1","hashtag2"]},{"1377037706":["hashtag1","hashtag2"]},{"1377037696":["hashtag1","hashtag2"]},{"1377037699":["hashtag1","hashtag2"]},{"1377037703":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037692, 1377037707, 1377037706, 1377037696, 1377037699, 1377037703)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.354708671569824 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:36:22.297460 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/20/image_14082025_07_20_28_10303.jpg', '/media/data/images/14082025/07/20/image_14082025_07_20_38_10283.jpg', '/media/data/images/14082025/07/20/image_14082025_07_20_58_9190.jpg', '/media/data/images/14082025/07/20/image_14082025_07_21_09_10731.jpg', '/media/data/images/14082025/07/21/image_14082025_07_21_18_9184.jpg', '/media/data/images/14082025/07/21/image_14082025_07_21_28_10285.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/20/image_14082025_07_20_28_10303.jpg /media/data/images/14082025/07/20/image_14082025_07_20_38_10283.jpg /media/data/images/14082025/07/20/image_14082025_07_20_58_9190.jpg /media/data/images/14082025/07/20/image_14082025_07_21_09_10731.jpg /media/data/images/14082025/07/21/image_14082025_07_21_18_9184.jpg /media/data/images/14082025/07/21/image_14082025_07_21_28_10285.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037734","1377037728","1377037730","1377037724","1377037733","1377037720"],"photo_ids_order":["1377037720","1377037724","1377037728","1377037730","1377037733","1377037734"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb9991ab29efc9936711439e847915f3.jpg","text":"TemporaryFile(/tmp/multipartBody5738883220816573510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182243322,"filename":"image_14082025_07_21_28_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f389e3f301054c459441fe675fef0d21.jpg","text":"TemporaryFile(/tmp/multipartBody7017132998979448395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182243322,"filename":"image_14082025_07_20_58_9190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb09672be3fe6d818d293197a44179e8.jpg","text":"TemporaryFile(/tmp/multipartBody6468255535032071839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182243322,"filename":"image_14082025_07_21_09_10731.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c288ef010230f051462318555c1ac457.jpg","text":"TemporaryFile(/tmp/multipartBody247349432218495367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182243322,"filename":"image_14082025_07_20_38_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/698473df0437f13b3c5ab0f1078d7fab.jpg","text":"TemporaryFile(/tmp/multipartBody1561528919324983162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182243322,"filename":"image_14082025_07_21_18_9184.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46e3b891fd481ca02f0dc34a4103bc09.jpg","text":"TemporaryFile(/tmp/multipartBody8975010675074375669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182243322,"filename":"image_14082025_07_20_28_10303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037728","file1":"1377037724","file0":"1377037720","file4":"1377037733","file5":"1377037734","file3":"1377037730"},"map_files_photo_id_array":[{"photo_id":"1377037734","filename":"file5"},{"photo_id":"1377037728","filename":"file2"},{"photo_id":"1377037733","filename":"file4"},{"photo_id":"1377037724","filename":"file1"},{"photo_id":"1377037720","filename":"file0"},{"photo_id":"1377037730","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037734":["hashtag1","hashtag2"]},{"1377037728":["hashtag1","hashtag2"]},{"1377037730":["hashtag1","hashtag2"]},{"1377037724":["hashtag1","hashtag2"]},{"1377037733":["hashtag1","hashtag2"]},{"1377037720":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037734, 1377037728, 1377037730, 1377037724, 1377037733, 1377037720)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.423073291778564 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:37:22.363846 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/21/image_14082025_07_21_39_10376.jpg', '/media/data/images/14082025/07/21/image_14082025_07_21_49_10263.jpg', '/media/data/images/14082025/07/21/image_14082025_07_21_58_9049.jpg', '/media/data/images/14082025/07/21/image_14082025_07_22_09_10829.jpg', '/media/data/images/14082025/07/22/image_14082025_07_22_19_10340.jpg', '/media/data/images/14082025/07/22/image_14082025_07_22_28_9067.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/21/image_14082025_07_21_39_10376.jpg /media/data/images/14082025/07/21/image_14082025_07_21_49_10263.jpg /media/data/images/14082025/07/21/image_14082025_07_21_58_9049.jpg /media/data/images/14082025/07/21/image_14082025_07_22_09_10829.jpg /media/data/images/14082025/07/22/image_14082025_07_22_19_10340.jpg /media/data/images/14082025/07/22/image_14082025_07_22_28_9067.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037812","1377037809","1377037790","1377037784","1377037816","1377037819"],"photo_ids_order":["1377037784","1377037790","1377037809","1377037812","1377037816","1377037819"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bfb654ed7b8c091f2b4f4969ff46114.jpg","text":"TemporaryFile(/tmp/multipartBody2386476149043978436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182303426,"filename":"image_14082025_07_22_09_10829.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0612fb2b24bd0dbf78bf001c5016459.jpg","text":"TemporaryFile(/tmp/multipartBody3670743550760770995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182303426,"filename":"image_14082025_07_21_58_9049.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/166887ca2032b744829356e8359abc1c.jpg","text":"TemporaryFile(/tmp/multipartBody6405654911761174790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182303426,"filename":"image_14082025_07_21_49_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f3f636db07dc64942dc8c079c945be1.jpg","text":"TemporaryFile(/tmp/multipartBody1202828970634473625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182303426,"filename":"image_14082025_07_21_39_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3cc9d015272df3ad06a0c384c26c77ed.jpg","text":"TemporaryFile(/tmp/multipartBody2661118807307871833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182303426,"filename":"image_14082025_07_22_19_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b74af518ac010ea3f07dc07ec755a5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1822103756082088240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182303426,"filename":"image_14082025_07_22_28_9067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037809","file1":"1377037790","file0":"1377037784","file4":"1377037816","file5":"1377037819","file3":"1377037812"},"map_files_photo_id_array":[{"photo_id":"1377037819","filename":"file5"},{"photo_id":"1377037809","filename":"file2"},{"photo_id":"1377037816","filename":"file4"},{"photo_id":"1377037790","filename":"file1"},{"photo_id":"1377037784","filename":"file0"},{"photo_id":"1377037812","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037812":["hashtag1","hashtag2"]},{"1377037809":["hashtag1","hashtag2"]},{"1377037790":["hashtag1","hashtag2"]},{"1377037784":["hashtag1","hashtag2"]},{"1377037816":["hashtag1","hashtag2"]},{"1377037819":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037812, 1377037809, 1377037790, 1377037784, 1377037816, 1377037819)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.75321340560913 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:38:22.486581 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/22/image_14082025_07_22_38_10300.jpg', '/media/data/images/14082025/07/22/image_14082025_07_22_49_10334.jpg', '/media/data/images/14082025/07/22/image_14082025_07_22_59_10306.jpg', '/media/data/images/14082025/07/23/image_14082025_07_23_08_9104.jpg', '/media/data/images/14082025/07/23/image_14082025_07_23_18_10375.jpg', '/media/data/images/14082025/07/23/image_14082025_07_23_29_10419.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/22/image_14082025_07_22_38_10300.jpg /media/data/images/14082025/07/22/image_14082025_07_22_49_10334.jpg /media/data/images/14082025/07/22/image_14082025_07_22_59_10306.jpg /media/data/images/14082025/07/23/image_14082025_07_23_08_9104.jpg /media/data/images/14082025/07/23/image_14082025_07_23_18_10375.jpg /media/data/images/14082025/07/23/image_14082025_07_23_29_10419.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037857","1377037853","1377037850","1377037847","1377037840","1377037860"],"photo_ids_order":["1377037840","1377037847","1377037850","1377037853","1377037857","1377037860"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb3442e9fd18157fb7e8bf136fdb4b1b.jpg","text":"TemporaryFile(/tmp/multipartBody7068855951852846968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182363529,"filename":"image_14082025_07_23_18_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d5fd6a974179c4358b4497b065eea0d.jpg","text":"TemporaryFile(/tmp/multipartBody232946186082201967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182363529,"filename":"image_14082025_07_23_08_9104.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e89fdaac0be86eb980b7fc050ac7692f.jpg","text":"TemporaryFile(/tmp/multipartBody8955997451405067922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182363529,"filename":"image_14082025_07_22_59_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dbbb40cc3abb18f5031a0d93cb816c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4578170612704090117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182363529,"filename":"image_14082025_07_22_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c79a87c5826df6680c792af0eac9066d.jpg","text":"TemporaryFile(/tmp/multipartBody7994205336291957484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182363529,"filename":"image_14082025_07_22_38_10300.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c68a91cf6a026c6bad08756debf543e.jpg","text":"TemporaryFile(/tmp/multipartBody5232435879063400927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182363529,"filename":"image_14082025_07_23_29_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037850","file1":"1377037847","file0":"1377037840","file4":"1377037857","file5":"1377037860","file3":"1377037853"},"map_files_photo_id_array":[{"photo_id":"1377037860","filename":"file5"},{"photo_id":"1377037850","filename":"file2"},{"photo_id":"1377037857","filename":"file4"},{"photo_id":"1377037847","filename":"file1"},{"photo_id":"1377037840","filename":"file0"},{"photo_id":"1377037853","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037857":["hashtag1","hashtag2"]},{"1377037853":["hashtag1","hashtag2"]},{"1377037850":["hashtag1","hashtag2"]},{"1377037847":["hashtag1","hashtag2"]},{"1377037840":["hashtag1","hashtag2"]},{"1377037860":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037857, 1377037853, 1377037850, 1377037847, 1377037840, 1377037860)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.35241651535034 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:39:22.593484 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/23/image_14082025_07_23_38_9078.jpg', '/media/data/images/14082025/07/23/image_14082025_07_23_48_10436.jpg', '/media/data/images/14082025/07/23/image_14082025_07_23_59_10462.jpg', '/media/data/images/14082025/07/24/image_14082025_07_24_08_9275.jpg', '/media/data/images/14082025/07/24/image_14082025_07_24_19_10400.jpg', '/media/data/images/14082025/07/24/image_14082025_07_24_29_10435.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/23/image_14082025_07_23_38_9078.jpg /media/data/images/14082025/07/23/image_14082025_07_23_48_10436.jpg /media/data/images/14082025/07/23/image_14082025_07_23_59_10462.jpg /media/data/images/14082025/07/24/image_14082025_07_24_08_9275.jpg /media/data/images/14082025/07/24/image_14082025_07_24_19_10400.jpg /media/data/images/14082025/07/24/image_14082025_07_24_29_10435.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377037941","1377037934","1377037928","1377037931","1377037939","1377037924"],"photo_ids_order":["1377037924","1377037928","1377037931","1377037934","1377037939","1377037941"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/233a40f537d010548917032e4709bf24.jpg","text":"TemporaryFile(/tmp/multipartBody213870970713445892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182423623,"filename":"image_14082025_07_24_29_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79e8309785132dbd8b2ee38e0c704a77.jpg","text":"TemporaryFile(/tmp/multipartBody3547756716951328409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182423623,"filename":"image_14082025_07_24_08_9275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5dfea68f3a61bf9ad00fbd3e27ef995a.jpg","text":"TemporaryFile(/tmp/multipartBody8224277270756395492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182423623,"filename":"image_14082025_07_23_48_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2568f05c6cc1d905a574ce6ff42e6bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6741290109129041708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182423623,"filename":"image_14082025_07_23_59_10462.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4770a29048d542d5bc5a69f5042ac1a4.jpg","text":"TemporaryFile(/tmp/multipartBody626758673315273674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182423623,"filename":"image_14082025_07_24_19_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f191d7b840c76a9f20bc83679f56b560.jpg","text":"TemporaryFile(/tmp/multipartBody3317253555376582527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182423623,"filename":"image_14082025_07_23_38_9078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377037931","file1":"1377037928","file0":"1377037924","file4":"1377037939","file5":"1377037941","file3":"1377037934"},"map_files_photo_id_array":[{"photo_id":"1377037941","filename":"file5"},{"photo_id":"1377037931","filename":"file2"},{"photo_id":"1377037939","filename":"file4"},{"photo_id":"1377037928","filename":"file1"},{"photo_id":"1377037924","filename":"file0"},{"photo_id":"1377037934","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377037941":["hashtag1","hashtag2"]},{"1377037934":["hashtag1","hashtag2"]},{"1377037928":["hashtag1","hashtag2"]},{"1377037931":["hashtag1","hashtag2"]},{"1377037939":["hashtag1","hashtag2"]},{"1377037924":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377037941, 1377037934, 1377037928, 1377037931, 1377037939, 1377037924)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.613863468170166 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:40:22.682659 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/24/image_14082025_07_24_38_9265.jpg', '/media/data/images/14082025/07/24/image_14082025_07_24_49_10446.jpg', '/media/data/images/14082025/07/24/image_14082025_07_24_58_9211.jpg', '/media/data/images/14082025/07/25/image_14082025_07_25_19_10403.jpg', '/media/data/images/14082025/07/25/image_14082025_07_25_39_10458.jpg', '/media/data/images/14082025/07/25/image_14082025_07_25_49_10441.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/24/image_14082025_07_24_38_9265.jpg /media/data/images/14082025/07/24/image_14082025_07_24_49_10446.jpg /media/data/images/14082025/07/24/image_14082025_07_24_58_9211.jpg /media/data/images/14082025/07/25/image_14082025_07_25_19_10403.jpg /media/data/images/14082025/07/25/image_14082025_07_25_39_10458.jpg /media/data/images/14082025/07/25/image_14082025_07_25_49_10441.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038051","1377038048","1377038039","1377038044","1377038035","1377038029"],"photo_ids_order":["1377038029","1377038035","1377038039","1377038044","1377038048","1377038051"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1fc8b75c752fe58ea231b543fb87a179.jpg","text":"TemporaryFile(/tmp/multipartBody44253371160837401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182483666,"filename":"image_14082025_07_25_49_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb0ce63098730698ecf7fcdb2436f997.jpg","text":"TemporaryFile(/tmp/multipartBody5233177621560572196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182483666,"filename":"image_14082025_07_25_39_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1d083c4ce310c0685ea5a4b247ddc20.jpg","text":"TemporaryFile(/tmp/multipartBody1821054873612797614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182483666,"filename":"image_14082025_07_24_58_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/894a2343151037939f6b941aae5cef71.jpg","text":"TemporaryFile(/tmp/multipartBody6425280646073983546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182483666,"filename":"image_14082025_07_25_19_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/772c31fbaa535d33034617b7bf215e31.jpg","text":"TemporaryFile(/tmp/multipartBody1883204612093039360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182483666,"filename":"image_14082025_07_24_49_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e74d5dd2be99d7b189dd362feb84534.jpg","text":"TemporaryFile(/tmp/multipartBody6527854561151662570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182483666,"filename":"image_14082025_07_24_38_9265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038039","file1":"1377038035","file0":"1377038029","file4":"1377038048","file5":"1377038051","file3":"1377038044"},"map_files_photo_id_array":[{"photo_id":"1377038051","filename":"file5"},{"photo_id":"1377038039","filename":"file2"},{"photo_id":"1377038048","filename":"file4"},{"photo_id":"1377038035","filename":"file1"},{"photo_id":"1377038029","filename":"file0"},{"photo_id":"1377038044","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038051":["hashtag1","hashtag2"]},{"1377038048":["hashtag1","hashtag2"]},{"1377038039":["hashtag1","hashtag2"]},{"1377038044":["hashtag1","hashtag2"]},{"1377038035":["hashtag1","hashtag2"]},{"1377038029":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038051, 1377038048, 1377038039, 1377038044, 1377038035, 1377038029)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.81133055686951 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:41:21.816300 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/25/image_14082025_07_25_58_9243.jpg', '/media/data/images/14082025/07/26/image_14082025_07_26_09_10511.jpg', '/media/data/images/14082025/07/26/image_14082025_07_26_18_9150.jpg', '/media/data/images/14082025/07/26/image_14082025_07_26_39_10399.jpg', '/media/data/images/14082025/07/26/image_14082025_07_26_48_9209.jpg', '/media/data/images/14082025/07/26/image_14082025_07_26_58_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/25/image_14082025_07_25_58_9243.jpg /media/data/images/14082025/07/26/image_14082025_07_26_09_10511.jpg /media/data/images/14082025/07/26/image_14082025_07_26_18_9150.jpg /media/data/images/14082025/07/26/image_14082025_07_26_39_10399.jpg /media/data/images/14082025/07/26/image_14082025_07_26_48_9209.jpg /media/data/images/14082025/07/26/image_14082025_07_26_58_10387.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038103","1377038106","1377038096","1377038099","1377038105","1377038101"],"photo_ids_order":["1377038096","1377038099","1377038101","1377038103","1377038105","1377038106"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/757c6506f7dae2c5b088071fa423555e.jpg","text":"TemporaryFile(/tmp/multipartBody700072797284748661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182542800,"filename":"image_14082025_07_26_39_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/baedb7604cdb9d4c5eac2e1a44d127dd.jpg","text":"TemporaryFile(/tmp/multipartBody6921690184293025955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182542800,"filename":"image_14082025_07_26_58_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17538a08cd6ab342ae408e1b01690364.jpg","text":"TemporaryFile(/tmp/multipartBody1060675542754269295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182542800,"filename":"image_14082025_07_25_58_9243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ad3898fd3bf4d025b48be1c980e2f99a.jpg","text":"TemporaryFile(/tmp/multipartBody4604260158162922348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182542800,"filename":"image_14082025_07_26_09_10511.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa08d9ed38ab2aaf12eac9aff537c02b.jpg","text":"TemporaryFile(/tmp/multipartBody3978569196522835265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182542800,"filename":"image_14082025_07_26_48_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eff3e8b126af895cb9b343ffb424d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody1894422395080268404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182542800,"filename":"image_14082025_07_26_18_9150.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038101","file1":"1377038099","file0":"1377038096","file4":"1377038105","file5":"1377038106","file3":"1377038103"},"map_files_photo_id_array":[{"photo_id":"1377038106","filename":"file5"},{"photo_id":"1377038101","filename":"file2"},{"photo_id":"1377038105","filename":"file4"},{"photo_id":"1377038099","filename":"file1"},{"photo_id":"1377038096","filename":"file0"},{"photo_id":"1377038103","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038103":["hashtag1","hashtag2"]},{"1377038106":["hashtag1","hashtag2"]},{"1377038096":["hashtag1","hashtag2"]},{"1377038099":["hashtag1","hashtag2"]},{"1377038105":["hashtag1","hashtag2"]},{"1377038101":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038103, 1377038106, 1377038096, 1377038099, 1377038105, 1377038101)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.90803265571594 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:42:21.937791 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/27/image_14082025_07_27_09_10335.jpg', '/media/data/images/14082025/07/27/image_14082025_07_27_19_10390.jpg', '/media/data/images/14082025/07/27/image_14082025_07_27_28_9224.jpg', '/media/data/images/14082025/07/27/image_14082025_07_27_39_10466.jpg', '/media/data/images/14082025/07/27/image_14082025_07_27_48_9149.jpg', '/media/data/images/14082025/07/27/image_14082025_07_27_59_10442.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/27/image_14082025_07_27_09_10335.jpg /media/data/images/14082025/07/27/image_14082025_07_27_19_10390.jpg /media/data/images/14082025/07/27/image_14082025_07_27_28_9224.jpg /media/data/images/14082025/07/27/image_14082025_07_27_39_10466.jpg /media/data/images/14082025/07/27/image_14082025_07_27_48_9149.jpg /media/data/images/14082025/07/27/image_14082025_07_27_59_10442.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038123","1377038117","1377038125","1377038110","1377038113","1377038121"],"photo_ids_order":["1377038110","1377038113","1377038117","1377038121","1377038123","1377038125"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b80b4dc88434bcd05de47ddeb913a70.jpg","text":"TemporaryFile(/tmp/multipartBody4967583392534748919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182602919,"filename":"image_14082025_07_27_48_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc121d29c150c6c40e38313ebf1b18c7.jpg","text":"TemporaryFile(/tmp/multipartBody1809151124497040485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182602919,"filename":"image_14082025_07_27_28_9224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d626e0597c182c5da27b2b02bc90bef.jpg","text":"TemporaryFile(/tmp/multipartBody4106446144948412316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182602919,"filename":"image_14082025_07_27_59_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d9de0d95118fa4aec8ac56f304c24e9.jpg","text":"TemporaryFile(/tmp/multipartBody2805095491106487963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182602919,"filename":"image_14082025_07_27_09_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb078835bf1fab625dda2a05097f2fec.jpg","text":"TemporaryFile(/tmp/multipartBody3372530110954798249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182602919,"filename":"image_14082025_07_27_19_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/507381cb37db8333a3a909f8763723c5.jpg","text":"TemporaryFile(/tmp/multipartBody9222340196937197823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182602919,"filename":"image_14082025_07_27_39_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038117","file1":"1377038113","file0":"1377038110","file4":"1377038123","file5":"1377038125","file3":"1377038121"},"map_files_photo_id_array":[{"photo_id":"1377038125","filename":"file5"},{"photo_id":"1377038117","filename":"file2"},{"photo_id":"1377038123","filename":"file4"},{"photo_id":"1377038113","filename":"file1"},{"photo_id":"1377038110","filename":"file0"},{"photo_id":"1377038121","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038123":["hashtag1","hashtag2"]},{"1377038117":["hashtag1","hashtag2"]},{"1377038125":["hashtag1","hashtag2"]},{"1377038110":["hashtag1","hashtag2"]},{"1377038113":["hashtag1","hashtag2"]},{"1377038121":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038123, 1377038117, 1377038125, 1377038110, 1377038113, 1377038121)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.349579095840454 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:43:21.973838 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/28/image_14082025_07_28_08_10091.jpg', '/media/data/images/14082025/07/28/image_14082025_07_28_19_10373.jpg', '/media/data/images/14082025/07/28/image_14082025_07_28_28_9352.jpg', '/media/data/images/14082025/07/28/image_14082025_07_28_38_10347.jpg', '/media/data/images/14082025/07/28/image_14082025_07_28_49_10259.jpg', '/media/data/images/14082025/07/28/image_14082025_07_28_58_9333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/28/image_14082025_07_28_08_10091.jpg /media/data/images/14082025/07/28/image_14082025_07_28_19_10373.jpg /media/data/images/14082025/07/28/image_14082025_07_28_28_9352.jpg /media/data/images/14082025/07/28/image_14082025_07_28_38_10347.jpg /media/data/images/14082025/07/28/image_14082025_07_28_49_10259.jpg /media/data/images/14082025/07/28/image_14082025_07_28_58_9333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038150","1377038153","1377038141","1377038152","1377038146","1377038136"],"photo_ids_order":["1377038136","1377038141","1377038146","1377038150","1377038152","1377038153"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/120fb3a2ee3030f22bf4aabc775433f4.jpg","text":"TemporaryFile(/tmp/multipartBody3582753222926585104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182662950,"filename":"image_14082025_07_28_38_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea6d1ca6d32e04589507489ca9566fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8479025988721283901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182662950,"filename":"image_14082025_07_28_58_9333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/341fbd6e8ac83fbbae4da98f6378aeb0.jpg","text":"TemporaryFile(/tmp/multipartBody8390321879159071351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182662950,"filename":"image_14082025_07_28_19_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed2c4f85af02ca9e8c8564c9d47baaee.jpg","text":"TemporaryFile(/tmp/multipartBody1810913608733760858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182662950,"filename":"image_14082025_07_28_49_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/06422111aef5c58eda9beb290a9ec76e.jpg","text":"TemporaryFile(/tmp/multipartBody8266008616876472838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182662950,"filename":"image_14082025_07_28_28_9352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46ef09962128b4f2367f2ebce1b3fca7.jpg","text":"TemporaryFile(/tmp/multipartBody5623357361503976663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182662950,"filename":"image_14082025_07_28_08_10091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038146","file1":"1377038141","file0":"1377038136","file4":"1377038152","file5":"1377038153","file3":"1377038150"},"map_files_photo_id_array":[{"photo_id":"1377038153","filename":"file5"},{"photo_id":"1377038146","filename":"file2"},{"photo_id":"1377038152","filename":"file4"},{"photo_id":"1377038141","filename":"file1"},{"photo_id":"1377038136","filename":"file0"},{"photo_id":"1377038150","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038150":["hashtag1","hashtag2"]},{"1377038153":["hashtag1","hashtag2"]},{"1377038141":["hashtag1","hashtag2"]},{"1377038152":["hashtag1","hashtag2"]},{"1377038146":["hashtag1","hashtag2"]},{"1377038136":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038150, 1377038153, 1377038141, 1377038152, 1377038146, 1377038136)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07676863670349 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:44:22.108918 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/29/image_14082025_07_29_09_10774.jpg', '/media/data/images/14082025/07/29/image_14082025_07_29_18_9105.jpg', '/media/data/images/14082025/07/29/image_14082025_07_29_28_10273.jpg', '/media/data/images/14082025/07/29/image_14082025_07_29_38_10272.jpg', '/media/data/images/14082025/07/29/image_14082025_07_29_49_10432.jpg', '/media/data/images/14082025/07/29/image_14082025_07_29_58_9060.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/29/image_14082025_07_29_09_10774.jpg /media/data/images/14082025/07/29/image_14082025_07_29_18_9105.jpg /media/data/images/14082025/07/29/image_14082025_07_29_28_10273.jpg /media/data/images/14082025/07/29/image_14082025_07_29_38_10272.jpg /media/data/images/14082025/07/29/image_14082025_07_29_49_10432.jpg /media/data/images/14082025/07/29/image_14082025_07_29_58_9060.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038180","1377038183","1377038170","1377038190","1377038187","1377038175"],"photo_ids_order":["1377038170","1377038175","1377038180","1377038183","1377038187","1377038190"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3380285ea065d9b72c4f23c70d4bdbd6.jpg","text":"TemporaryFile(/tmp/multipartBody4463684552865024907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182723128,"filename":"image_14082025_07_29_28_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e1025f6670f3a17b9afd52eda12dfaa1.jpg","text":"TemporaryFile(/tmp/multipartBody7706605924541565868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182723128,"filename":"image_14082025_07_29_38_10272.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8afe8cd58aad41a816ec5c7711c5f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8298922692615299232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182723128,"filename":"image_14082025_07_29_09_10774.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1d064fd9ef036c40492f394abb6f21b.jpg","text":"TemporaryFile(/tmp/multipartBody2270597953186803515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182723128,"filename":"image_14082025_07_29_58_9060.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a7dc8dd1cf491680ea04f1ae9ff9f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8552829222628147164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182723128,"filename":"image_14082025_07_29_49_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6191566048e4f231bb69dce9dbeb35ac.jpg","text":"TemporaryFile(/tmp/multipartBody1048474986871029057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182723128,"filename":"image_14082025_07_29_18_9105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038180","file1":"1377038175","file0":"1377038170","file4":"1377038187","file5":"1377038190","file3":"1377038183"},"map_files_photo_id_array":[{"photo_id":"1377038190","filename":"file5"},{"photo_id":"1377038180","filename":"file2"},{"photo_id":"1377038187","filename":"file4"},{"photo_id":"1377038175","filename":"file1"},{"photo_id":"1377038170","filename":"file0"},{"photo_id":"1377038183","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038180":["hashtag1","hashtag2"]},{"1377038183":["hashtag1","hashtag2"]},{"1377038170":["hashtag1","hashtag2"]},{"1377038190":["hashtag1","hashtag2"]},{"1377038187":["hashtag1","hashtag2"]},{"1377038175":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038180, 1377038183, 1377038170, 1377038190, 1377038187, 1377038175)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.18950080871582 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:45:22.244045 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/29/image_14082025_07_30_09_10700.jpg', '/media/data/images/14082025/07/30/image_14082025_07_30_19_10295.jpg', '/media/data/images/14082025/07/30/image_14082025_07_30_28_9131.jpg', '/media/data/images/14082025/07/30/image_14082025_07_30_38_10268.jpg', '/media/data/images/14082025/07/30/image_14082025_07_30_49_10430.jpg', '/media/data/images/14082025/07/30/image_14082025_07_30_58_9355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/29/image_14082025_07_30_09_10700.jpg /media/data/images/14082025/07/30/image_14082025_07_30_19_10295.jpg /media/data/images/14082025/07/30/image_14082025_07_30_28_9131.jpg /media/data/images/14082025/07/30/image_14082025_07_30_38_10268.jpg /media/data/images/14082025/07/30/image_14082025_07_30_49_10430.jpg /media/data/images/14082025/07/30/image_14082025_07_30_58_9355.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038205","1377038208","1377038213","1377038201","1377038210","1377038212"],"photo_ids_order":["1377038201","1377038205","1377038208","1377038210","1377038212","1377038213"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df62243d22bfc47ed361d21c55506c71.jpg","text":"TemporaryFile(/tmp/multipartBody8462256694833747947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182783293,"filename":"image_14082025_07_30_19_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f988aaaeb73c8f513018488a225d78a3.jpg","text":"TemporaryFile(/tmp/multipartBody4652398487458372249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182783293,"filename":"image_14082025_07_30_28_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c22a32d95d6aab0eed7b3912e8a13253.jpg","text":"TemporaryFile(/tmp/multipartBody9046191876496885245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182783293,"filename":"image_14082025_07_30_58_9355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b0c7705ecd5d2dd57706e2dd72839b3.jpg","text":"TemporaryFile(/tmp/multipartBody417967148885122640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182783293,"filename":"image_14082025_07_30_09_10700.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf116e03cbffa05be56a6404cab8ee4c.jpg","text":"TemporaryFile(/tmp/multipartBody5784087572726017000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182783293,"filename":"image_14082025_07_30_38_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e653be12a3e01a3acd26eff3b914bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6920709395115835441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182783293,"filename":"image_14082025_07_30_49_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038208","file1":"1377038205","file0":"1377038201","file4":"1377038212","file5":"1377038213","file3":"1377038210"},"map_files_photo_id_array":[{"photo_id":"1377038213","filename":"file5"},{"photo_id":"1377038208","filename":"file2"},{"photo_id":"1377038212","filename":"file4"},{"photo_id":"1377038205","filename":"file1"},{"photo_id":"1377038201","filename":"file0"},{"photo_id":"1377038210","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038205":["hashtag1","hashtag2"]},{"1377038208":["hashtag1","hashtag2"]},{"1377038213":["hashtag1","hashtag2"]},{"1377038201":["hashtag1","hashtag2"]},{"1377038210":["hashtag1","hashtag2"]},{"1377038212":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038205, 1377038208, 1377038213, 1377038201, 1377038210, 1377038212)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.50485324859619 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:46:22.339846 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/31/image_14082025_07_31_38_9297.jpg', '/media/data/images/14082025/07/31/image_14082025_07_31_49_10273.jpg', '/media/data/images/14082025/07/31/image_14082025_07_31_59_10344.jpg', '/media/data/images/14082025/07/32/image_14082025_07_32_08_9380.jpg', '/media/data/images/14082025/07/32/image_14082025_07_32_19_10348.jpg', '/media/data/images/14082025/07/32/image_14082025_07_32_28_9243.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/31/image_14082025_07_31_38_9297.jpg /media/data/images/14082025/07/31/image_14082025_07_31_49_10273.jpg /media/data/images/14082025/07/31/image_14082025_07_31_59_10344.jpg /media/data/images/14082025/07/32/image_14082025_07_32_08_9380.jpg /media/data/images/14082025/07/32/image_14082025_07_32_19_10348.jpg /media/data/images/14082025/07/32/image_14082025_07_32_28_9243.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038232","1377038243","1377038234","1377038228","1377038236","1377038239"],"photo_ids_order":["1377038228","1377038232","1377038234","1377038236","1377038239","1377038243"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94d98e8bdacc1a1b66cbc9d11b12e084.jpg","text":"TemporaryFile(/tmp/multipartBody5385030494401901901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182843358,"filename":"image_14082025_07_31_49_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/55caf71e1dcb74fc4315fc9d27d1645d.jpg","text":"TemporaryFile(/tmp/multipartBody6426913353855319385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182843358,"filename":"image_14082025_07_32_28_9243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/085fee2db0eac6e3695a010972d13ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8031568549604230413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182843358,"filename":"image_14082025_07_31_59_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94c7755dfac3f911cc8191fde1e06671.jpg","text":"TemporaryFile(/tmp/multipartBody4823611040210689470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182843358,"filename":"image_14082025_07_31_38_9297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fefba52c04faf6b1592a06519ebc2a91.jpg","text":"TemporaryFile(/tmp/multipartBody6779208977231432151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182843358,"filename":"image_14082025_07_32_08_9380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ddc933d9e8130bb3578454542ccc2af.jpg","text":"TemporaryFile(/tmp/multipartBody5510380076927434024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182843358,"filename":"image_14082025_07_32_19_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038234","file1":"1377038232","file0":"1377038228","file4":"1377038239","file5":"1377038243","file3":"1377038236"},"map_files_photo_id_array":[{"photo_id":"1377038243","filename":"file5"},{"photo_id":"1377038234","filename":"file2"},{"photo_id":"1377038239","filename":"file4"},{"photo_id":"1377038232","filename":"file1"},{"photo_id":"1377038228","filename":"file0"},{"photo_id":"1377038236","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038232":["hashtag1","hashtag2"]},{"1377038243":["hashtag1","hashtag2"]},{"1377038234":["hashtag1","hashtag2"]},{"1377038228":["hashtag1","hashtag2"]},{"1377038236":["hashtag1","hashtag2"]},{"1377038239":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038232, 1377038243, 1377038234, 1377038228, 1377038236, 1377038239)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.28105974197388 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:47:22.448337 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/32/image_14082025_07_32_38_10447.jpg', '/media/data/images/14082025/07/32/image_14082025_07_32_49_10368.jpg', '/media/data/images/14082025/07/32/image_14082025_07_32_58_9257.jpg', '/media/data/images/14082025/07/32/image_14082025_07_33_09_10506.jpg', '/media/data/images/14082025/07/33/image_14082025_07_33_19_10355.jpg', '/media/data/images/14082025/07/33/image_14082025_07_33_28_9045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/32/image_14082025_07_32_38_10447.jpg /media/data/images/14082025/07/32/image_14082025_07_32_49_10368.jpg /media/data/images/14082025/07/32/image_14082025_07_32_58_9257.jpg /media/data/images/14082025/07/32/image_14082025_07_33_09_10506.jpg /media/data/images/14082025/07/33/image_14082025_07_33_19_10355.jpg /media/data/images/14082025/07/33/image_14082025_07_33_28_9045.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038260","1377038263","1377038266","1377038251","1377038265","1377038256"],"photo_ids_order":["1377038251","1377038256","1377038260","1377038263","1377038265","1377038266"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5bf77c68e3bcd140292cb19d36d2e350.jpg","text":"TemporaryFile(/tmp/multipartBody7434381780745249768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182903477,"filename":"image_14082025_07_32_58_9257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f77c8eba5be962a877e4f6dac582ec4.jpg","text":"TemporaryFile(/tmp/multipartBody56732746552075920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182903477,"filename":"image_14082025_07_33_09_10506.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed691e36a18766a758e75f84f4ed494d.jpg","text":"TemporaryFile(/tmp/multipartBody4422029577404298040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182903477,"filename":"image_14082025_07_33_28_9045.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bcd66e7c89147246b8db448453c84c88.jpg","text":"TemporaryFile(/tmp/multipartBody1769372791591406663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182903477,"filename":"image_14082025_07_32_38_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d79507d791cb6c4f25dd060204b1c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody5317395494065591468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182903477,"filename":"image_14082025_07_33_19_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a97046a46ecd0d542cb6439b766efb0.jpg","text":"TemporaryFile(/tmp/multipartBody7023542525768458217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182903477,"filename":"image_14082025_07_32_49_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038260","file1":"1377038256","file0":"1377038251","file4":"1377038265","file5":"1377038266","file3":"1377038263"},"map_files_photo_id_array":[{"photo_id":"1377038266","filename":"file5"},{"photo_id":"1377038260","filename":"file2"},{"photo_id":"1377038265","filename":"file4"},{"photo_id":"1377038256","filename":"file1"},{"photo_id":"1377038251","filename":"file0"},{"photo_id":"1377038263","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038260":["hashtag1","hashtag2"]},{"1377038263":["hashtag1","hashtag2"]},{"1377038266":["hashtag1","hashtag2"]},{"1377038251":["hashtag1","hashtag2"]},{"1377038265":["hashtag1","hashtag2"]},{"1377038256":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038260, 1377038263, 1377038266, 1377038251, 1377038265, 1377038256)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.455549001693726 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:48:22.636244 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/33/image_14082025_07_33_38_10456.jpg', '/media/data/images/14082025/07/33/image_14082025_07_33_49_10377.jpg', '/media/data/images/14082025/07/33/image_14082025_07_33_58_9128.jpg', '/media/data/images/14082025/07/33/image_14082025_07_34_09_10760.jpg', '/media/data/images/14082025/07/34/image_14082025_07_34_19_10396.jpg', '/media/data/images/14082025/07/34/image_14082025_07_34_28_9391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/33/image_14082025_07_33_38_10456.jpg /media/data/images/14082025/07/33/image_14082025_07_33_49_10377.jpg /media/data/images/14082025/07/33/image_14082025_07_33_58_9128.jpg /media/data/images/14082025/07/33/image_14082025_07_34_09_10760.jpg /media/data/images/14082025/07/34/image_14082025_07_34_19_10396.jpg /media/data/images/14082025/07/34/image_14082025_07_34_28_9391.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038371","1377038303","1377038281","1377038338","1377038286","1377038289"],"photo_ids_order":["1377038281","1377038286","1377038289","1377038303","1377038338","1377038371"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee888f03554d86474c7bd0654c2401a7.jpg","text":"TemporaryFile(/tmp/multipartBody4715555300096007695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182963599,"filename":"image_14082025_07_34_28_9391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0fd4022a4afdafcf4cfce496927ceb4.jpg","text":"TemporaryFile(/tmp/multipartBody8834501747106808780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182963599,"filename":"image_14082025_07_34_09_10760.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0fc0a66d6f789f01981dfde0ed4db21a.jpg","text":"TemporaryFile(/tmp/multipartBody4486204763166317051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182963599,"filename":"image_14082025_07_33_38_10456.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e120624f13717562f3ac177882187b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1307647922632934441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182963599,"filename":"image_14082025_07_34_19_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/394b2108ecc6169b56cb71602605fad9.jpg","text":"TemporaryFile(/tmp/multipartBody1603600256263412619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182963599,"filename":"image_14082025_07_33_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de790b0b182adbf0beba07f1b9c07d13.jpg","text":"TemporaryFile(/tmp/multipartBody5034829225852821891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755182963599,"filename":"image_14082025_07_33_58_9128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038289","file1":"1377038286","file0":"1377038281","file4":"1377038338","file5":"1377038371","file3":"1377038303"},"map_files_photo_id_array":[{"photo_id":"1377038371","filename":"file5"},{"photo_id":"1377038289","filename":"file2"},{"photo_id":"1377038338","filename":"file4"},{"photo_id":"1377038286","filename":"file1"},{"photo_id":"1377038281","filename":"file0"},{"photo_id":"1377038303","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038371":["hashtag1","hashtag2"]},{"1377038303":["hashtag1","hashtag2"]},{"1377038281":["hashtag1","hashtag2"]},{"1377038338":["hashtag1","hashtag2"]},{"1377038286":["hashtag1","hashtag2"]},{"1377038289":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038371, 1377038303, 1377038281, 1377038338, 1377038286, 1377038289)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.82817053794861 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:49:22.700107 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/34/image_14082025_07_34_39_10620.jpg', '/media/data/images/14082025/07/34/image_14082025_07_34_48_9123.jpg', '/media/data/images/14082025/07/34/image_14082025_07_34_59_10462.jpg', '/media/data/images/14082025/07/35/image_14082025_07_35_09_10357.jpg', '/media/data/images/14082025/07/35/image_14082025_07_35_18_9130.jpg', '/media/data/images/14082025/07/35/image_14082025_07_35_28_10360.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/34/image_14082025_07_34_39_10620.jpg /media/data/images/14082025/07/34/image_14082025_07_34_48_9123.jpg /media/data/images/14082025/07/34/image_14082025_07_34_59_10462.jpg /media/data/images/14082025/07/35/image_14082025_07_35_09_10357.jpg /media/data/images/14082025/07/35/image_14082025_07_35_18_9130.jpg /media/data/images/14082025/07/35/image_14082025_07_35_28_10360.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038505","1377038481","1377038499","1377038487","1377038460","1377038454"],"photo_ids_order":["1377038454","1377038460","1377038481","1377038487","1377038499","1377038505"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f88af34369a53b5a146e433d575a547e.jpg","text":"TemporaryFile(/tmp/multipartBody6084252035114167048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183023665,"filename":"image_14082025_07_35_28_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/584c63e589959687167c825944040769.jpg","text":"TemporaryFile(/tmp/multipartBody1582774900812659211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183023665,"filename":"image_14082025_07_34_59_10462.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/274d4b6c396c1ee95c6fcbc2a509ecc9.jpg","text":"TemporaryFile(/tmp/multipartBody201794532603077937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183023665,"filename":"image_14082025_07_35_18_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b751a3efe3f7d362c0810721a4ee2272.jpg","text":"TemporaryFile(/tmp/multipartBody4761704832013371800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183023665,"filename":"image_14082025_07_35_09_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca17e19aaf17fc7a06cf6736b8d45f91.jpg","text":"TemporaryFile(/tmp/multipartBody6512978070747039415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183023665,"filename":"image_14082025_07_34_48_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/41138a1b98a71e5e6fb28f3628d6fba0.jpg","text":"TemporaryFile(/tmp/multipartBody500514145360557958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183023665,"filename":"image_14082025_07_34_39_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038481","file1":"1377038460","file0":"1377038454","file4":"1377038499","file5":"1377038505","file3":"1377038487"},"map_files_photo_id_array":[{"photo_id":"1377038505","filename":"file5"},{"photo_id":"1377038481","filename":"file2"},{"photo_id":"1377038499","filename":"file4"},{"photo_id":"1377038460","filename":"file1"},{"photo_id":"1377038454","filename":"file0"},{"photo_id":"1377038487","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038505":["hashtag1","hashtag2"]},{"1377038481":["hashtag1","hashtag2"]},{"1377038499":["hashtag1","hashtag2"]},{"1377038487":["hashtag1","hashtag2"]},{"1377038460":["hashtag1","hashtag2"]},{"1377038454":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038505, 1377038481, 1377038499, 1377038487, 1377038460, 1377038454)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.185502767562866 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:50:21.794260 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/35/image_14082025_07_35_39_10346.jpg', '/media/data/images/14082025/07/35/image_14082025_07_35_48_9179.jpg', '/media/data/images/14082025/07/35/image_14082025_07_35_58_10366.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_09_10527.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_18_9134.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_28_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/35/image_14082025_07_35_39_10346.jpg /media/data/images/14082025/07/35/image_14082025_07_35_48_9179.jpg /media/data/images/14082025/07/35/image_14082025_07_35_58_10366.jpg /media/data/images/14082025/07/36/image_14082025_07_36_09_10527.jpg /media/data/images/14082025/07/36/image_14082025_07_36_18_9134.jpg /media/data/images/14082025/07/36/image_14082025_07_36_28_10370.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038601","1377038579","1377038594","1377038600","1377038602","1377038598"],"photo_ids_order":["1377038579","1377038594","1377038598","1377038600","1377038601","1377038602"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f318aa3582bd0f80235c5cab507d5a66.jpg","text":"TemporaryFile(/tmp/multipartBody1462941845553157785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183082770,"filename":"image_14082025_07_36_18_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a8d81068b71238670bc473f8b8d6498e.jpg","text":"TemporaryFile(/tmp/multipartBody5280338575167394986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183082770,"filename":"image_14082025_07_35_39_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f8e61d22d424d4c37f6ef331f84adcf.jpg","text":"TemporaryFile(/tmp/multipartBody8919447083594537468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183082770,"filename":"image_14082025_07_35_48_9179.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1eed63662e646e77cab0cbcfe01780e3.jpg","text":"TemporaryFile(/tmp/multipartBody3859285246118059644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183082770,"filename":"image_14082025_07_36_09_10527.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd3a397ea5cb4485042101a6a468b368.jpg","text":"TemporaryFile(/tmp/multipartBody8639193243628950990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183082770,"filename":"image_14082025_07_36_28_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/317320d26020f2af03f85c2b219842b2.jpg","text":"TemporaryFile(/tmp/multipartBody3172594362797319552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183082770,"filename":"image_14082025_07_35_58_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038598","file1":"1377038594","file0":"1377038579","file4":"1377038601","file5":"1377038602","file3":"1377038600"},"map_files_photo_id_array":[{"photo_id":"1377038602","filename":"file5"},{"photo_id":"1377038598","filename":"file2"},{"photo_id":"1377038601","filename":"file4"},{"photo_id":"1377038594","filename":"file1"},{"photo_id":"1377038579","filename":"file0"},{"photo_id":"1377038600","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038601":["hashtag1","hashtag2"]},{"1377038579":["hashtag1","hashtag2"]},{"1377038594":["hashtag1","hashtag2"]},{"1377038600":["hashtag1","hashtag2"]},{"1377038602":["hashtag1","hashtag2"]},{"1377038598":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038601, 1377038579, 1377038594, 1377038600, 1377038602, 1377038598)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.51960039138794 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:51:21.909371 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/36/image_14082025_07_36_39_10423.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_48_9206.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_58_10367.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_09_10393.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_18_9192.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_28_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/36/image_14082025_07_36_39_10423.jpg /media/data/images/14082025/07/36/image_14082025_07_36_48_9206.jpg /media/data/images/14082025/07/36/image_14082025_07_36_58_10367.jpg /media/data/images/14082025/07/37/image_14082025_07_37_09_10393.jpg /media/data/images/14082025/07/37/image_14082025_07_37_18_9192.jpg /media/data/images/14082025/07/37/image_14082025_07_37_28_10472.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5306541919708252 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:51:41.898460 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/36/image_14082025_07_36_39_10423.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_48_9206.jpg', '/media/data/images/14082025/07/36/image_14082025_07_36_58_10367.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_09_10393.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_18_9192.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_28_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/36/image_14082025_07_36_39_10423.jpg /media/data/images/14082025/07/36/image_14082025_07_36_48_9206.jpg /media/data/images/14082025/07/36/image_14082025_07_36_58_10367.jpg /media/data/images/14082025/07/37/image_14082025_07_37_09_10393.jpg /media/data/images/14082025/07/37/image_14082025_07_37_18_9192.jpg /media/data/images/14082025/07/37/image_14082025_07_37_28_10472.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038666","1377038720","1377038663","1377038705","1377038707","1377038667"],"photo_ids_order":["1377038663","1377038666","1377038667","1377038705","1377038707","1377038720"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d329642fd050d096509f6a5ec600b3a.jpg","text":"TemporaryFile(/tmp/multipartBody1218136817533305180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183162797,"filename":"image_14082025_07_36_48_9206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3db8098c4f378f3afd135fc1207c3328.jpg","text":"TemporaryFile(/tmp/multipartBody7456169190347253031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183162797,"filename":"image_14082025_07_37_28_10472.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/455da6fc1c504026bd4cb5789c1faac1.jpg","text":"TemporaryFile(/tmp/multipartBody6644603495187565154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183162797,"filename":"image_14082025_07_36_39_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b96d73f06c79ab554c928d44aae5b69.jpg","text":"TemporaryFile(/tmp/multipartBody8189945259133457138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183162797,"filename":"image_14082025_07_37_09_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5372d08ba1b060b4ec66311398525f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4916237541702850362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183162797,"filename":"image_14082025_07_37_18_9192.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/483baf322fa90cc164ce33718db81e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5769904803758519189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183162797,"filename":"image_14082025_07_36_58_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038667","file1":"1377038666","file0":"1377038663","file4":"1377038707","file5":"1377038720","file3":"1377038705"},"map_files_photo_id_array":[{"photo_id":"1377038720","filename":"file5"},{"photo_id":"1377038667","filename":"file2"},{"photo_id":"1377038707","filename":"file4"},{"photo_id":"1377038666","filename":"file1"},{"photo_id":"1377038663","filename":"file0"},{"photo_id":"1377038705","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038666":["hashtag1","hashtag2"]},{"1377038720":["hashtag1","hashtag2"]},{"1377038663":["hashtag1","hashtag2"]},{"1377038705":["hashtag1","hashtag2"]},{"1377038707":["hashtag1","hashtag2"]},{"1377038667":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038666, 1377038720, 1377038663, 1377038705, 1377038707, 1377038667)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.01232719421387 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:52:42.007139 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/37/image_14082025_07_37_39_10373.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_48_9203.jpg', '/media/data/images/14082025/07/37/image_14082025_07_37_58_10364.jpg', '/media/data/images/14082025/07/38/image_14082025_07_38_09_10670.jpg', '/media/data/images/14082025/07/38/image_14082025_07_38_18_9131.jpg', '/media/data/images/14082025/07/38/image_14082025_07_38_29_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/37/image_14082025_07_37_39_10373.jpg /media/data/images/14082025/07/37/image_14082025_07_37_48_9203.jpg /media/data/images/14082025/07/37/image_14082025_07_37_58_10364.jpg /media/data/images/14082025/07/38/image_14082025_07_38_09_10670.jpg /media/data/images/14082025/07/38/image_14082025_07_38_18_9131.jpg /media/data/images/14082025/07/38/image_14082025_07_38_29_10363.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038759","1377038755","1377038749","1377038742","1377038745","1377038739"],"photo_ids_order":["1377038739","1377038742","1377038745","1377038749","1377038755","1377038759"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd490941be496f408a215cbb8bd87f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8528255930338849348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183222981,"filename":"image_14082025_07_38_29_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5c9da3a1ab6857ac8449a3a2af9b565.jpg","text":"TemporaryFile(/tmp/multipartBody6654003874077134921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183222981,"filename":"image_14082025_07_38_18_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/55c867394e0efab32e2cbbbc9b562074.jpg","text":"TemporaryFile(/tmp/multipartBody6901304651527545678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183222981,"filename":"image_14082025_07_38_09_10670.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8f47d3259de661bfaed031b49c2b22c.jpg","text":"TemporaryFile(/tmp/multipartBody7354750419896798416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183222981,"filename":"image_14082025_07_37_48_9203.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df9266d8096f7123ded08b86a8814234.jpg","text":"TemporaryFile(/tmp/multipartBody6590707302759525181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183222981,"filename":"image_14082025_07_37_58_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5315449f132ba93e55157fe102b04c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6782798444131221035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183222981,"filename":"image_14082025_07_37_39_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038745","file1":"1377038742","file0":"1377038739","file4":"1377038755","file5":"1377038759","file3":"1377038749"},"map_files_photo_id_array":[{"photo_id":"1377038759","filename":"file5"},{"photo_id":"1377038745","filename":"file2"},{"photo_id":"1377038755","filename":"file4"},{"photo_id":"1377038742","filename":"file1"},{"photo_id":"1377038739","filename":"file0"},{"photo_id":"1377038749","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038759":["hashtag1","hashtag2"]},{"1377038755":["hashtag1","hashtag2"]},{"1377038749":["hashtag1","hashtag2"]},{"1377038742":["hashtag1","hashtag2"]},{"1377038745":["hashtag1","hashtag2"]},{"1377038739":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038759, 1377038755, 1377038749, 1377038742, 1377038745, 1377038739)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.41150236129761 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:53:42.131019 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/38/image_14082025_07_38_39_10373.jpg', '/media/data/images/14082025/07/38/image_14082025_07_38_48_9151.jpg', '/media/data/images/14082025/07/38/image_14082025_07_38_58_10371.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_09_10451.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_18_9164.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_29_10443.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/38/image_14082025_07_38_39_10373.jpg /media/data/images/14082025/07/38/image_14082025_07_38_48_9151.jpg /media/data/images/14082025/07/38/image_14082025_07_38_58_10371.jpg /media/data/images/14082025/07/39/image_14082025_07_39_09_10451.jpg /media/data/images/14082025/07/39/image_14082025_07_39_18_9164.jpg /media/data/images/14082025/07/39/image_14082025_07_39_29_10443.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377038852","1377038941","1377038854","1377038848","1377038934","1377038850"],"photo_ids_order":["1377038848","1377038850","1377038852","1377038854","1377038934","1377038941"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07467e869b3009386c68785c96a1a00c.jpg","text":"TemporaryFile(/tmp/multipartBody5332199920893988914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183283137,"filename":"image_14082025_07_38_58_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/924c79387742bd37fa8931be2547347b.jpg","text":"TemporaryFile(/tmp/multipartBody3616384486899603472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183283137,"filename":"image_14082025_07_39_29_10443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d57447e90496b5414a0e30698b520309.jpg","text":"TemporaryFile(/tmp/multipartBody3765032020918930843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183283137,"filename":"image_14082025_07_39_09_10451.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1535ca24925413315b822d21beec1e72.jpg","text":"TemporaryFile(/tmp/multipartBody2590286802941190096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183283137,"filename":"image_14082025_07_38_39_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/851926f04e12f3bf3056974836dc136a.jpg","text":"TemporaryFile(/tmp/multipartBody6154347632171138034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183283137,"filename":"image_14082025_07_39_18_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8c594eb7a39822144e12788d33f26d6.jpg","text":"TemporaryFile(/tmp/multipartBody2803035722684620390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183283137,"filename":"image_14082025_07_38_48_9151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377038852","file1":"1377038850","file0":"1377038848","file4":"1377038934","file5":"1377038941","file3":"1377038854"},"map_files_photo_id_array":[{"photo_id":"1377038941","filename":"file5"},{"photo_id":"1377038852","filename":"file2"},{"photo_id":"1377038934","filename":"file4"},{"photo_id":"1377038850","filename":"file1"},{"photo_id":"1377038848","filename":"file0"},{"photo_id":"1377038854","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377038852":["hashtag1","hashtag2"]},{"1377038941":["hashtag1","hashtag2"]},{"1377038854":["hashtag1","hashtag2"]},{"1377038848":["hashtag1","hashtag2"]},{"1377038934":["hashtag1","hashtag2"]},{"1377038850":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377038852, 1377038941, 1377038854, 1377038848, 1377038934, 1377038850)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.71954536437988 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:54:42.235013 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/39/image_14082025_07_39_39_10529.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_48_9212.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_59_10485.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_08_9269.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_18_10398.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_29_10275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/39/image_14082025_07_39_39_10529.jpg /media/data/images/14082025/07/39/image_14082025_07_39_48_9212.jpg /media/data/images/14082025/07/39/image_14082025_07_39_59_10485.jpg /media/data/images/14082025/07/40/image_14082025_07_40_08_9269.jpg /media/data/images/14082025/07/40/image_14082025_07_40_18_10398.jpg /media/data/images/14082025/07/40/image_14082025_07_40_29_10275.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5844407081604004 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:55:03.158538 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/39/image_14082025_07_39_39_10529.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_48_9212.jpg', '/media/data/images/14082025/07/39/image_14082025_07_39_59_10485.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_08_9269.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_18_10398.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_29_10275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/39/image_14082025_07_39_39_10529.jpg /media/data/images/14082025/07/39/image_14082025_07_39_48_9212.jpg /media/data/images/14082025/07/39/image_14082025_07_39_59_10485.jpg /media/data/images/14082025/07/40/image_14082025_07_40_08_9269.jpg /media/data/images/14082025/07/40/image_14082025_07_40_18_10398.jpg /media/data/images/14082025/07/40/image_14082025_07_40_29_10275.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377039032","1377039035","1377039014","1377039025","1377039028","1377039021"],"photo_ids_order":["1377039014","1377039021","1377039025","1377039028","1377039032","1377039035"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c80190a75f67e1d5384a31d0b477c53.jpg","text":"TemporaryFile(/tmp/multipartBody6153637021821096037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183364976,"filename":"image_14082025_07_40_18_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c34769cd919e7cafc8eaa2d1da77f075.jpg","text":"TemporaryFile(/tmp/multipartBody4347157697430099906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183364976,"filename":"image_14082025_07_40_29_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a19ee4d3a0fa6d3c893ddfb24dc533a1.jpg","text":"TemporaryFile(/tmp/multipartBody704903885813827293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183364976,"filename":"image_14082025_07_39_39_10529.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5bab8b7412362a2a9f1595595d9e7af.jpg","text":"TemporaryFile(/tmp/multipartBody1520445608820528129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183364976,"filename":"image_14082025_07_39_59_10485.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/295a099c50d606448d9bdf664271e9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1967595486212665549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183364976,"filename":"image_14082025_07_40_08_9269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7b41abe8dd23881719a0b73382b24cfe.jpg","text":"TemporaryFile(/tmp/multipartBody2257982233863561517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183364976,"filename":"image_14082025_07_39_48_9212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377039025","file1":"1377039021","file0":"1377039014","file4":"1377039032","file5":"1377039035","file3":"1377039028"},"map_files_photo_id_array":[{"photo_id":"1377039035","filename":"file5"},{"photo_id":"1377039025","filename":"file2"},{"photo_id":"1377039032","filename":"file4"},{"photo_id":"1377039021","filename":"file1"},{"photo_id":"1377039014","filename":"file0"},{"photo_id":"1377039028","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377039032":["hashtag1","hashtag2"]},{"1377039035":["hashtag1","hashtag2"]},{"1377039014":["hashtag1","hashtag2"]},{"1377039025":["hashtag1","hashtag2"]},{"1377039028":["hashtag1","hashtag2"]},{"1377039021":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377039032, 1377039035, 1377039014, 1377039025, 1377039028, 1377039021)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.416133880615234 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:56:03.136782 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/40/image_14082025_07_40_38_9271.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_48_10266.jpg', '/media/data/images/14082025/07/40/image_14082025_07_40_58_10289.jpg', '/media/data/images/14082025/07/41/image_14082025_07_41_09_10334.jpg', '/media/data/images/14082025/07/41/image_14082025_07_41_18_9049.jpg', '/media/data/images/14082025/07/41/image_14082025_07_41_29_10309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/40/image_14082025_07_40_38_9271.jpg /media/data/images/14082025/07/40/image_14082025_07_40_48_10266.jpg /media/data/images/14082025/07/40/image_14082025_07_40_58_10289.jpg /media/data/images/14082025/07/41/image_14082025_07_41_09_10334.jpg /media/data/images/14082025/07/41/image_14082025_07_41_18_9049.jpg /media/data/images/14082025/07/41/image_14082025_07_41_29_10309.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377039056","1377039047","1377039063","1377039051","1377039060","1377039042"],"photo_ids_order":["1377039042","1377039047","1377039051","1377039056","1377039060","1377039063"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a0517e834fb7587875d661ead293e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4583964590330958224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183424201,"filename":"image_14082025_07_41_09_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33861c6c5a5f7dedb97a710b2f17bb54.jpg","text":"TemporaryFile(/tmp/multipartBody836794246223705408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183424201,"filename":"image_14082025_07_40_48_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c60d437f8727055b78fe00c89c9d4672.jpg","text":"TemporaryFile(/tmp/multipartBody7518559795154961352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183424201,"filename":"image_14082025_07_41_29_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96764dd54ebdc4e7cc480ffad8d5e50e.jpg","text":"TemporaryFile(/tmp/multipartBody76454247239456112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183424201,"filename":"image_14082025_07_40_58_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0dd92c08a10394880731532c64fe0fca.jpg","text":"TemporaryFile(/tmp/multipartBody5995086661111376671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183424201,"filename":"image_14082025_07_41_18_9049.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c12a2458543d9454cb7199c74b4d229.jpg","text":"TemporaryFile(/tmp/multipartBody6642974290454032372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183424201,"filename":"image_14082025_07_40_38_9271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377039051","file1":"1377039047","file0":"1377039042","file4":"1377039060","file5":"1377039063","file3":"1377039056"},"map_files_photo_id_array":[{"photo_id":"1377039063","filename":"file5"},{"photo_id":"1377039051","filename":"file2"},{"photo_id":"1377039060","filename":"file4"},{"photo_id":"1377039047","filename":"file1"},{"photo_id":"1377039042","filename":"file0"},{"photo_id":"1377039056","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377039056":["hashtag1","hashtag2"]},{"1377039047":["hashtag1","hashtag2"]},{"1377039063":["hashtag1","hashtag2"]},{"1377039051":["hashtag1","hashtag2"]},{"1377039060":["hashtag1","hashtag2"]},{"1377039042":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377039056, 1377039047, 1377039063, 1377039051, 1377039060, 1377039042)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.0178325176239 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:57:03.377834 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/41/image_14082025_07_41_39_10799.jpg', '/media/data/images/14082025/07/41/image_14082025_07_41_48_9051.jpg', '/media/data/images/14082025/07/41/image_14082025_07_41_58_10279.jpg', '/media/data/images/14082025/07/42/image_14082025_07_42_09_10227.jpg', '/media/data/images/14082025/07/42/image_14082025_07_42_19_10366.jpg', '/media/data/images/14082025/07/42/image_14082025_07_42_28_9164.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/41/image_14082025_07_41_39_10799.jpg /media/data/images/14082025/07/41/image_14082025_07_41_48_9051.jpg /media/data/images/14082025/07/41/image_14082025_07_41_58_10279.jpg /media/data/images/14082025/07/42/image_14082025_07_42_09_10227.jpg /media/data/images/14082025/07/42/image_14082025_07_42_19_10366.jpg /media/data/images/14082025/07/42/image_14082025_07_42_28_9164.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377039086","1377039071","1377039097","1377039091","1377039100","1377039093"],"photo_ids_order":["1377039071","1377039086","1377039091","1377039093","1377039097","1377039100"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e127a8dca0710ef6f1e1a5ebe70b81b.jpg","text":"TemporaryFile(/tmp/multipartBody8528796874102126305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183484455,"filename":"image_14082025_07_41_48_9051.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/469a72486229ce12faa3ac6655205747.jpg","text":"TemporaryFile(/tmp/multipartBody3265168649588372845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183484455,"filename":"image_14082025_07_41_39_10799.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d27c714cffe164e610b6f07983350450.jpg","text":"TemporaryFile(/tmp/multipartBody6060004873914651654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183484455,"filename":"image_14082025_07_42_19_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73364fd58dcf4248c2faaa0899856c43.jpg","text":"TemporaryFile(/tmp/multipartBody3890939619276635194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183484455,"filename":"image_14082025_07_41_58_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7822136aa6ab17a663a1d8454ff4f41.jpg","text":"TemporaryFile(/tmp/multipartBody4931556262631560242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183484455,"filename":"image_14082025_07_42_28_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22fb52b1d09ad655d488f57f1e1d4949.jpg","text":"TemporaryFile(/tmp/multipartBody5022402393713548674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183484455,"filename":"image_14082025_07_42_09_10227.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377039091","file1":"1377039086","file0":"1377039071","file4":"1377039097","file5":"1377039100","file3":"1377039093"},"map_files_photo_id_array":[{"photo_id":"1377039100","filename":"file5"},{"photo_id":"1377039091","filename":"file2"},{"photo_id":"1377039097","filename":"file4"},{"photo_id":"1377039086","filename":"file1"},{"photo_id":"1377039071","filename":"file0"},{"photo_id":"1377039093","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377039086":["hashtag1","hashtag2"]},{"1377039071":["hashtag1","hashtag2"]},{"1377039097":["hashtag1","hashtag2"]},{"1377039091":["hashtag1","hashtag2"]},{"1377039100":["hashtag1","hashtag2"]},{"1377039093":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377039086, 1377039071, 1377039097, 1377039091, 1377039100, 1377039093)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.861337661743164 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 16:59:03.159178 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/42/image_14082025_07_42_59_10620.jpg', '/media/data/images/14082025/07/43/image_14082025_07_43_08_9352.jpg', '/media/data/images/14082025/07/43/image_14082025_07_43_18_10276.jpg', '/media/data/images/14082025/07/43/image_14082025_07_43_29_10382.jpg', '/media/data/images/14082025/07/43/image_14082025_07_43_39_10307.jpg', '/media/data/images/14082025/07/43/image_14082025_07_43_48_9039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/42/image_14082025_07_42_59_10620.jpg /media/data/images/14082025/07/43/image_14082025_07_43_08_9352.jpg /media/data/images/14082025/07/43/image_14082025_07_43_18_10276.jpg /media/data/images/14082025/07/43/image_14082025_07_43_29_10382.jpg /media/data/images/14082025/07/43/image_14082025_07_43_39_10307.jpg /media/data/images/14082025/07/43/image_14082025_07_43_48_9039.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377039430","1377039421","1377039396","1377039441","1377039405","1377039414"],"photo_ids_order":["1377039396","1377039405","1377039414","1377039421","1377039430","1377039441"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2930d77d452552370235fd06513ec811.jpg","text":"TemporaryFile(/tmp/multipartBody2266365520308850169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183604246,"filename":"image_14082025_07_43_39_10307.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25a4c036fb28008235d4d26e30a83fe1.jpg","text":"TemporaryFile(/tmp/multipartBody257063588710511878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183604246,"filename":"image_14082025_07_43_29_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e63d24ceedafe53eb2e86e0bf683db5a.jpg","text":"TemporaryFile(/tmp/multipartBody7007910531798093624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183604246,"filename":"image_14082025_07_42_59_10620.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8657d53fee9b0daec53d6f683a08c63a.jpg","text":"TemporaryFile(/tmp/multipartBody8073195767174300317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183604246,"filename":"image_14082025_07_43_48_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0704f8a1bdc9b29f509c56bf6b9eab34.jpg","text":"TemporaryFile(/tmp/multipartBody8248685700005728216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183604246,"filename":"image_14082025_07_43_08_9352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ef552699881fec43643efa90fd4d7fe.jpg","text":"TemporaryFile(/tmp/multipartBody3552388606413567019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183604246,"filename":"image_14082025_07_43_18_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377039414","file1":"1377039405","file0":"1377039396","file4":"1377039430","file5":"1377039441","file3":"1377039421"},"map_files_photo_id_array":[{"photo_id":"1377039441","filename":"file5"},{"photo_id":"1377039414","filename":"file2"},{"photo_id":"1377039430","filename":"file4"},{"photo_id":"1377039405","filename":"file1"},{"photo_id":"1377039396","filename":"file0"},{"photo_id":"1377039421","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377039430":["hashtag1","hashtag2"]},{"1377039421":["hashtag1","hashtag2"]},{"1377039396":["hashtag1","hashtag2"]},{"1377039441":["hashtag1","hashtag2"]},{"1377039405":["hashtag1","hashtag2"]},{"1377039414":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377039430, 1377039421, 1377039396, 1377039441, 1377039405, 1377039414)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.14537692070007 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:00:03.259555 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/43/image_14082025_07_43_58_10345.jpg', '/media/data/images/14082025/07/44/image_14082025_07_44_09_10447.jpg', '/media/data/images/14082025/07/44/image_14082025_07_44_18_9131.jpg', '/media/data/images/14082025/07/44/image_14082025_07_44_49_10420.jpg', '/media/data/images/14082025/07/44/image_14082025_07_44_58_9164.jpg', '/media/data/images/14082025/07/45/image_14082025_07_45_09_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/43/image_14082025_07_43_58_10345.jpg /media/data/images/14082025/07/44/image_14082025_07_44_09_10447.jpg /media/data/images/14082025/07/44/image_14082025_07_44_18_9131.jpg /media/data/images/14082025/07/44/image_14082025_07_44_49_10420.jpg /media/data/images/14082025/07/44/image_14082025_07_44_58_9164.jpg /media/data/images/14082025/07/45/image_14082025_07_45_09_10412.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377039653","1377039722","1377039759","1377039687","1377039618","1377039794"],"photo_ids_order":["1377039618","1377039653","1377039687","1377039722","1377039759","1377039794"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d81f595c137d7bcfbbcc347beaf9328f.jpg","text":"TemporaryFile(/tmp/multipartBody8608615562621541500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183664224,"filename":"image_14082025_07_44_09_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/731a99491d86bc426248aeeb4c05c255.jpg","text":"TemporaryFile(/tmp/multipartBody3374452571573816802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183664224,"filename":"image_14082025_07_44_49_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5272199d1c3ceeb5d878bf9bd58b56b9.jpg","text":"TemporaryFile(/tmp/multipartBody4881085093713508436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183664224,"filename":"image_14082025_07_44_58_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/007ae297afe3594f5d024eefb0ec812c.jpg","text":"TemporaryFile(/tmp/multipartBody8929257197107473778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183664224,"filename":"image_14082025_07_44_18_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58f5a376243d44bfa7097fa36ca82de1.jpg","text":"TemporaryFile(/tmp/multipartBody5665514727546693570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183664224,"filename":"image_14082025_07_43_58_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2f8584407981ea8f35c13df0ae331cf.jpg","text":"TemporaryFile(/tmp/multipartBody4463598113856737440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183664224,"filename":"image_14082025_07_45_09_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377039687","file1":"1377039653","file0":"1377039618","file4":"1377039759","file5":"1377039794","file3":"1377039722"},"map_files_photo_id_array":[{"photo_id":"1377039794","filename":"file5"},{"photo_id":"1377039687","filename":"file2"},{"photo_id":"1377039759","filename":"file4"},{"photo_id":"1377039653","filename":"file1"},{"photo_id":"1377039618","filename":"file0"},{"photo_id":"1377039722","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377039653":["hashtag1","hashtag2"]},{"1377039722":["hashtag1","hashtag2"]},{"1377039759":["hashtag1","hashtag2"]},{"1377039687":["hashtag1","hashtag2"]},{"1377039618":["hashtag1","hashtag2"]},{"1377039794":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377039653, 1377039722, 1377039759, 1377039687, 1377039618, 1377039794)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.64261484146118 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:01:03.597577 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/45/image_14082025_07_45_19_10375.jpg', '/media/data/images/14082025/07/45/image_14082025_07_45_28_9206.jpg', '/media/data/images/14082025/07/45/image_14082025_07_45_39_10364.jpg', '/media/data/images/14082025/07/45/image_14082025_07_45_49_10355.jpg', '/media/data/images/14082025/07/45/image_14082025_07_45_58_9187.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_09_10553.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/45/image_14082025_07_45_19_10375.jpg /media/data/images/14082025/07/45/image_14082025_07_45_28_9206.jpg /media/data/images/14082025/07/45/image_14082025_07_45_39_10364.jpg /media/data/images/14082025/07/45/image_14082025_07_45_49_10355.jpg /media/data/images/14082025/07/45/image_14082025_07_45_58_9187.jpg /media/data/images/14082025/07/46/image_14082025_07_46_09_10553.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377040175","1377040037","1377040106","1377040141","1377040003","1377040071"],"photo_ids_order":["1377040003","1377040037","1377040071","1377040106","1377040141","1377040175"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b063f527798d8ba549b6f4af400fd38a.jpg","text":"TemporaryFile(/tmp/multipartBody2245799058355975899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183724590,"filename":"image_14082025_07_46_09_10553.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7840fe27c317f1086b95e70a631cc92.jpg","text":"TemporaryFile(/tmp/multipartBody7861102802657922074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183724590,"filename":"image_14082025_07_45_28_9206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ff274ba42165ae71e1f66e856575937.jpg","text":"TemporaryFile(/tmp/multipartBody1009663589572438110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183724590,"filename":"image_14082025_07_45_49_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6dad8fb070c4be3a89b43b46d0b7abc2.jpg","text":"TemporaryFile(/tmp/multipartBody3847639965119768669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183724590,"filename":"image_14082025_07_45_58_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a700484240001966f6587df656b0370.jpg","text":"TemporaryFile(/tmp/multipartBody3954218994740256084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183724590,"filename":"image_14082025_07_45_19_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/291c8b250efb14e695857b37d6072645.jpg","text":"TemporaryFile(/tmp/multipartBody4470255825106022226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183724590,"filename":"image_14082025_07_45_39_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377040071","file1":"1377040037","file0":"1377040003","file4":"1377040141","file5":"1377040175","file3":"1377040106"},"map_files_photo_id_array":[{"photo_id":"1377040175","filename":"file5"},{"photo_id":"1377040071","filename":"file2"},{"photo_id":"1377040141","filename":"file4"},{"photo_id":"1377040037","filename":"file1"},{"photo_id":"1377040003","filename":"file0"},{"photo_id":"1377040106","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377040175":["hashtag1","hashtag2"]},{"1377040037":["hashtag1","hashtag2"]},{"1377040106":["hashtag1","hashtag2"]},{"1377040141":["hashtag1","hashtag2"]},{"1377040003":["hashtag1","hashtag2"]},{"1377040071":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377040175, 1377040037, 1377040106, 1377040141, 1377040003, 1377040071)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.717214822769165 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:02:03.422878 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/46/image_14082025_07_46_19_10401.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_28_9127.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_39_10418.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_49_10396.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_58_9116.jpg', '/media/data/images/14082025/07/47/image_14082025_07_47_09_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/46/image_14082025_07_46_19_10401.jpg /media/data/images/14082025/07/46/image_14082025_07_46_28_9127.jpg /media/data/images/14082025/07/46/image_14082025_07_46_39_10418.jpg /media/data/images/14082025/07/46/image_14082025_07_46_49_10396.jpg /media/data/images/14082025/07/46/image_14082025_07_46_58_9116.jpg /media/data/images/14082025/07/47/image_14082025_07_47_09_10440.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5548524856567383 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:02:22.704860 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/46/image_14082025_07_46_19_10401.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_28_9127.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_39_10418.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_49_10396.jpg', '/media/data/images/14082025/07/46/image_14082025_07_46_58_9116.jpg', '/media/data/images/14082025/07/47/image_14082025_07_47_09_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/46/image_14082025_07_46_19_10401.jpg /media/data/images/14082025/07/46/image_14082025_07_46_28_9127.jpg /media/data/images/14082025/07/46/image_14082025_07_46_39_10418.jpg /media/data/images/14082025/07/46/image_14082025_07_46_49_10396.jpg /media/data/images/14082025/07/46/image_14082025_07_46_58_9116.jpg /media/data/images/14082025/07/47/image_14082025_07_47_09_10440.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377040475","1377040469","1377040477","1377040465","1377040473","1377040476"],"photo_ids_order":["1377040465","1377040469","1377040473","1377040475","1377040476","1377040477"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00c0e917bb23fb946098a65268f1cc7a.jpg","text":"TemporaryFile(/tmp/multipartBody1776724195608674392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183803620,"filename":"image_14082025_07_46_49_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95cca4dc7364b615e1731c7dc8421389.jpg","text":"TemporaryFile(/tmp/multipartBody4293584884652333687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183803620,"filename":"image_14082025_07_46_28_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5853ad885532fca6ec617b48f06a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody5077140657669834425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183803620,"filename":"image_14082025_07_47_09_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8eb9825f5d41f94f5aae01abce0a44cf.jpg","text":"TemporaryFile(/tmp/multipartBody4920039928926005335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183803620,"filename":"image_14082025_07_46_19_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/decc3417017bf4334063a3784e585aee.jpg","text":"TemporaryFile(/tmp/multipartBody9125715729290297556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183803620,"filename":"image_14082025_07_46_39_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bc918bd7011e523bf9c937e8fec60c4.jpg","text":"TemporaryFile(/tmp/multipartBody7892471139065910138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183803620,"filename":"image_14082025_07_46_58_9116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377040473","file1":"1377040469","file0":"1377040465","file4":"1377040476","file5":"1377040477","file3":"1377040475"},"map_files_photo_id_array":[{"photo_id":"1377040477","filename":"file5"},{"photo_id":"1377040473","filename":"file2"},{"photo_id":"1377040476","filename":"file4"},{"photo_id":"1377040469","filename":"file1"},{"photo_id":"1377040465","filename":"file0"},{"photo_id":"1377040475","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377040475":["hashtag1","hashtag2"]},{"1377040469":["hashtag1","hashtag2"]},{"1377040477":["hashtag1","hashtag2"]},{"1377040465":["hashtag1","hashtag2"]},{"1377040473":["hashtag1","hashtag2"]},{"1377040476":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377040475, 1377040469, 1377040477, 1377040465, 1377040473, 1377040476)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.62666654586792 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:03:21.839649 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/47/image_14082025_07_47_19_10354.jpg', '/media/data/images/14082025/07/47/image_14082025_07_47_28_9152.jpg', '/media/data/images/14082025/07/47/image_14082025_07_47_39_10500.jpg', '/media/data/images/14082025/07/47/image_14082025_07_47_49_10348.jpg', '/media/data/images/14082025/07/47/image_14082025_07_47_58_9121.jpg', '/media/data/images/14082025/07/48/image_14082025_07_48_09_10586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/47/image_14082025_07_47_19_10354.jpg /media/data/images/14082025/07/47/image_14082025_07_47_28_9152.jpg /media/data/images/14082025/07/47/image_14082025_07_47_39_10500.jpg /media/data/images/14082025/07/47/image_14082025_07_47_49_10348.jpg /media/data/images/14082025/07/47/image_14082025_07_47_58_9121.jpg /media/data/images/14082025/07/48/image_14082025_07_48_09_10586.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377040853","1377040949","1377040984","1377040802","1377040893","1377041099"],"photo_ids_order":["1377040802","1377040853","1377040893","1377040949","1377040984","1377041099"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/656ec7dfd2fb2e70636b4a3b12383823.jpg","text":"TemporaryFile(/tmp/multipartBody844458624613523908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183862827,"filename":"image_14082025_07_47_28_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bbf8762fa08714a3e14d037a3490a18.jpg","text":"TemporaryFile(/tmp/multipartBody2566864566042878563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183862827,"filename":"image_14082025_07_47_49_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97fa0d309e99206b0902a11e2690a84e.jpg","text":"TemporaryFile(/tmp/multipartBody2507222586917540112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183862827,"filename":"image_14082025_07_47_58_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c039633337a6790eab8e184ec0bea772.jpg","text":"TemporaryFile(/tmp/multipartBody6643137635293190952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183862827,"filename":"image_14082025_07_47_19_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0aa8325f4dc6ec97cbfb28b8afd192a4.jpg","text":"TemporaryFile(/tmp/multipartBody915822777631886346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183862827,"filename":"image_14082025_07_47_39_10500.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/817867d254523f4af6462294d18a0227.jpg","text":"TemporaryFile(/tmp/multipartBody8353922870473537471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183862827,"filename":"image_14082025_07_48_09_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377040893","file1":"1377040853","file0":"1377040802","file4":"1377040984","file5":"1377041099","file3":"1377040949"},"map_files_photo_id_array":[{"photo_id":"1377041099","filename":"file5"},{"photo_id":"1377040893","filename":"file2"},{"photo_id":"1377040984","filename":"file4"},{"photo_id":"1377040853","filename":"file1"},{"photo_id":"1377040802","filename":"file0"},{"photo_id":"1377040949","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377040853":["hashtag1","hashtag2"]},{"1377040949":["hashtag1","hashtag2"]},{"1377040984":["hashtag1","hashtag2"]},{"1377040802":["hashtag1","hashtag2"]},{"1377040893":["hashtag1","hashtag2"]},{"1377041099":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377040853, 1377040949, 1377040984, 1377040802, 1377040893, 1377041099)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.77341270446777 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:04:21.984948 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/48/image_14082025_07_48_18_9359.jpg', '/media/data/images/14082025/07/48/image_14082025_07_48_28_10326.jpg', '/media/data/images/14082025/07/48/image_14082025_07_48_39_10336.jpg', '/media/data/images/14082025/07/48/image_14082025_07_48_49_10261.jpg', '/media/data/images/14082025/07/48/image_14082025_07_48_58_9035.jpg', '/media/data/images/14082025/07/48/image_14082025_07_49_09_10876.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/48/image_14082025_07_48_18_9359.jpg /media/data/images/14082025/07/48/image_14082025_07_48_28_10326.jpg /media/data/images/14082025/07/48/image_14082025_07_48_39_10336.jpg /media/data/images/14082025/07/48/image_14082025_07_48_49_10261.jpg /media/data/images/14082025/07/48/image_14082025_07_48_58_9035.jpg /media/data/images/14082025/07/48/image_14082025_07_49_09_10876.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377041342","1377041519","1377041485","1377041417","1377041449","1377041382"],"photo_ids_order":["1377041342","1377041382","1377041417","1377041449","1377041485","1377041519"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86dad69c9b51429c8364460417eb22ac.jpg","text":"TemporaryFile(/tmp/multipartBody5260396116331218825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183923057,"filename":"image_14082025_07_48_18_9359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/814d4ef7f437f2430572b58f94e5f9d7.jpg","text":"TemporaryFile(/tmp/multipartBody2498247405775461831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183923057,"filename":"image_14082025_07_49_09_10876.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c3717a3e4e155dd34c065aac07e1379.jpg","text":"TemporaryFile(/tmp/multipartBody4443845214716965952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183923057,"filename":"image_14082025_07_48_58_9035.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec229799d3d68cd3295fb0496a608463.jpg","text":"TemporaryFile(/tmp/multipartBody1732007012339525446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183923057,"filename":"image_14082025_07_48_39_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/115aad21bbed5808b21d0959fb19d791.jpg","text":"TemporaryFile(/tmp/multipartBody6082762469834733550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183923057,"filename":"image_14082025_07_48_49_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/897737490bc79af81800d97878b2384e.jpg","text":"TemporaryFile(/tmp/multipartBody8678470064683006708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183923057,"filename":"image_14082025_07_48_28_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377041417","file1":"1377041382","file0":"1377041342","file4":"1377041485","file5":"1377041519","file3":"1377041449"},"map_files_photo_id_array":[{"photo_id":"1377041519","filename":"file5"},{"photo_id":"1377041417","filename":"file2"},{"photo_id":"1377041485","filename":"file4"},{"photo_id":"1377041382","filename":"file1"},{"photo_id":"1377041342","filename":"file0"},{"photo_id":"1377041449","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377041342":["hashtag1","hashtag2"]},{"1377041519":["hashtag1","hashtag2"]},{"1377041485":["hashtag1","hashtag2"]},{"1377041417":["hashtag1","hashtag2"]},{"1377041449":["hashtag1","hashtag2"]},{"1377041382":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377041342, 1377041519, 1377041485, 1377041417, 1377041449, 1377041382)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.49344611167908 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:05:22.677104 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/49/image_14082025_07_49_19_10259.jpg', '/media/data/images/14082025/07/49/image_14082025_07_49_28_9067.jpg', '/media/data/images/14082025/07/49/image_14082025_07_49_39_10445.jpg', '/media/data/images/14082025/07/49/image_14082025_07_49_49_10410.jpg', '/media/data/images/14082025/07/49/image_14082025_07_49_58_9112.jpg', '/media/data/images/14082025/07/49/image_14082025_07_50_09_10552.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/49/image_14082025_07_49_19_10259.jpg /media/data/images/14082025/07/49/image_14082025_07_49_28_9067.jpg /media/data/images/14082025/07/49/image_14082025_07_49_39_10445.jpg /media/data/images/14082025/07/49/image_14082025_07_49_49_10410.jpg /media/data/images/14082025/07/49/image_14082025_07_49_58_9112.jpg /media/data/images/14082025/07/49/image_14082025_07_50_09_10552.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377042227","1377042160","1377041887","1377041959","1377042090","1377042026"],"photo_ids_order":["1377041887","1377041959","1377042026","1377042090","1377042160","1377042227"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e2989c2ba21e0e59642f35e471c7b28.jpg","text":"TemporaryFile(/tmp/multipartBody3372811109667354522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183983719,"filename":"image_14082025_07_50_09_10552.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/286796cd3bb0d2b0495653b5e0412731.jpg","text":"TemporaryFile(/tmp/multipartBody5015258561589209297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183983719,"filename":"image_14082025_07_49_58_9112.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9523e74a7907c3b0a6c5855230500d43.jpg","text":"TemporaryFile(/tmp/multipartBody391910965233946531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183983719,"filename":"image_14082025_07_49_19_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50982cca1a979fd341ea5a0dc964ab22.jpg","text":"TemporaryFile(/tmp/multipartBody5935330883651151553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183983719,"filename":"image_14082025_07_49_28_9067.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b66971794c57ef63f70ba9034e50c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody6195172322156300781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183983719,"filename":"image_14082025_07_49_49_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/976b5f13f514ea8a00bd9641f01921d9.jpg","text":"TemporaryFile(/tmp/multipartBody3032828214583478231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755183983719,"filename":"image_14082025_07_49_39_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377042026","file1":"1377041959","file0":"1377041887","file4":"1377042160","file5":"1377042227","file3":"1377042090"},"map_files_photo_id_array":[{"photo_id":"1377042227","filename":"file5"},{"photo_id":"1377042026","filename":"file2"},{"photo_id":"1377042160","filename":"file4"},{"photo_id":"1377041959","filename":"file1"},{"photo_id":"1377041887","filename":"file0"},{"photo_id":"1377042090","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377042227":["hashtag1","hashtag2"]},{"1377042160":["hashtag1","hashtag2"]},{"1377041887":["hashtag1","hashtag2"]},{"1377041959":["hashtag1","hashtag2"]},{"1377042090":["hashtag1","hashtag2"]},{"1377042026":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377042227, 1377042160, 1377041887, 1377041959, 1377042090, 1377042026)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.56402349472046 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:06:21.760892 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/50/image_14082025_07_50_19_10276.jpg', '/media/data/images/14082025/07/50/image_14082025_07_50_28_9031.jpg', '/media/data/images/14082025/07/50/image_14082025_07_50_38_10254.jpg', '/media/data/images/14082025/07/50/image_14082025_07_50_48_10260.jpg', '/media/data/images/14082025/07/50/image_14082025_07_50_59_10256.jpg', '/media/data/images/14082025/07/51/image_14082025_07_51_08_9279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/50/image_14082025_07_50_19_10276.jpg /media/data/images/14082025/07/50/image_14082025_07_50_28_9031.jpg /media/data/images/14082025/07/50/image_14082025_07_50_38_10254.jpg /media/data/images/14082025/07/50/image_14082025_07_50_48_10260.jpg /media/data/images/14082025/07/50/image_14082025_07_50_59_10256.jpg /media/data/images/14082025/07/51/image_14082025_07_51_08_9279.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377042586","1377042721","1377042690","1377042622","1377042657","1377042755"],"photo_ids_order":["1377042586","1377042622","1377042657","1377042690","1377042721","1377042755"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee3a6d454b260d4e0bca43eabd818939.jpg","text":"TemporaryFile(/tmp/multipartBody3898314152442332218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184042831,"filename":"image_14082025_07_50_19_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a69f9518b726a13a78e625671409cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody8371723841997873041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184042831,"filename":"image_14082025_07_50_59_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72f663a007f54d097fd2ab59cb3f68f9.jpg","text":"TemporaryFile(/tmp/multipartBody6260177756233642337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184042831,"filename":"image_14082025_07_50_48_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50445c9c471da0f66838a55f1c15ea36.jpg","text":"TemporaryFile(/tmp/multipartBody4271627556844071493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184042831,"filename":"image_14082025_07_50_28_9031.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a0ca3b96d246f2bdb0d1e13d8d50e586.jpg","text":"TemporaryFile(/tmp/multipartBody1662892618791953494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184042831,"filename":"image_14082025_07_50_38_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd5401919b0e24195fa54bf80e2f27c2.jpg","text":"TemporaryFile(/tmp/multipartBody7496928781775968308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184042831,"filename":"image_14082025_07_51_08_9279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377042657","file1":"1377042622","file0":"1377042586","file4":"1377042721","file5":"1377042755","file3":"1377042690"},"map_files_photo_id_array":[{"photo_id":"1377042755","filename":"file5"},{"photo_id":"1377042657","filename":"file2"},{"photo_id":"1377042721","filename":"file4"},{"photo_id":"1377042622","filename":"file1"},{"photo_id":"1377042586","filename":"file0"},{"photo_id":"1377042690","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377042586":["hashtag1","hashtag2"]},{"1377042721":["hashtag1","hashtag2"]},{"1377042690":["hashtag1","hashtag2"]},{"1377042622":["hashtag1","hashtag2"]},{"1377042657":["hashtag1","hashtag2"]},{"1377042755":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377042586, 1377042721, 1377042690, 1377042622, 1377042657, 1377042755)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.65750026702881 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:07:21.878370 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/51/image_14082025_07_51_18_10259.jpg', '/media/data/images/14082025/07/51/image_14082025_07_51_29_10265.jpg', '/media/data/images/14082025/07/51/image_14082025_07_51_39_10345.jpg', '/media/data/images/14082025/07/51/image_14082025_07_51_48_9098.jpg', '/media/data/images/14082025/07/51/image_14082025_07_51_58_10268.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_08_10237.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/51/image_14082025_07_51_18_10259.jpg /media/data/images/14082025/07/51/image_14082025_07_51_29_10265.jpg /media/data/images/14082025/07/51/image_14082025_07_51_39_10345.jpg /media/data/images/14082025/07/51/image_14082025_07_51_48_9098.jpg /media/data/images/14082025/07/51/image_14082025_07_51_58_10268.jpg /media/data/images/14082025/07/52/image_14082025_07_52_08_10237.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377043144","1377042997","1377043036","1377042955","1377043068","1377043100"],"photo_ids_order":["1377042955","1377042997","1377043036","1377043068","1377043100","1377043144"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf7a0e15c1a314e9b229bed4be0ba12d.jpg","text":"TemporaryFile(/tmp/multipartBody6602158790622591216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184102944,"filename":"image_14082025_07_52_08_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f200376311cd959add5f55be512d1e59.jpg","text":"TemporaryFile(/tmp/multipartBody3382445914263222403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184102944,"filename":"image_14082025_07_51_29_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ce661943313a605966996dadcc2f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1433945220451699212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184102944,"filename":"image_14082025_07_51_39_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e6f783324befa5a886e6f2ea18ace62.jpg","text":"TemporaryFile(/tmp/multipartBody5736884211126185665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184102944,"filename":"image_14082025_07_51_18_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bcaae437702673f4d8015bd28afdeae2.jpg","text":"TemporaryFile(/tmp/multipartBody8408870631409887262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184102944,"filename":"image_14082025_07_51_48_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6cfe53a4c7b8bbe42e5964390837971a.jpg","text":"TemporaryFile(/tmp/multipartBody1020000814399181595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184102944,"filename":"image_14082025_07_51_58_10268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377043036","file1":"1377042997","file0":"1377042955","file4":"1377043100","file5":"1377043144","file3":"1377043068"},"map_files_photo_id_array":[{"photo_id":"1377043144","filename":"file5"},{"photo_id":"1377043036","filename":"file2"},{"photo_id":"1377043100","filename":"file4"},{"photo_id":"1377042997","filename":"file1"},{"photo_id":"1377042955","filename":"file0"},{"photo_id":"1377043068","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377043144":["hashtag1","hashtag2"]},{"1377042997":["hashtag1","hashtag2"]},{"1377043036":["hashtag1","hashtag2"]},{"1377042955":["hashtag1","hashtag2"]},{"1377043068":["hashtag1","hashtag2"]},{"1377043100":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377043144, 1377042997, 1377043036, 1377042955, 1377043068, 1377043100)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.912026166915894 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:08:21.978306 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/52/image_14082025_07_52_19_10304.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_28_9194.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_38_10282.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_49_10344.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_58_9285.jpg', '/media/data/images/14082025/07/52/image_14082025_07_53_08_10583.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/52/image_14082025_07_52_19_10304.jpg /media/data/images/14082025/07/52/image_14082025_07_52_28_9194.jpg /media/data/images/14082025/07/52/image_14082025_07_52_38_10282.jpg /media/data/images/14082025/07/52/image_14082025_07_52_49_10344.jpg /media/data/images/14082025/07/52/image_14082025_07_52_58_9285.jpg /media/data/images/14082025/07/52/image_14082025_07_53_08_10583.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.58396315574646 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:08:41.969608 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/52/image_14082025_07_52_19_10304.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_28_9194.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_38_10282.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_49_10344.jpg', '/media/data/images/14082025/07/52/image_14082025_07_52_58_9285.jpg', '/media/data/images/14082025/07/52/image_14082025_07_53_08_10583.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/52/image_14082025_07_52_19_10304.jpg /media/data/images/14082025/07/52/image_14082025_07_52_28_9194.jpg /media/data/images/14082025/07/52/image_14082025_07_52_38_10282.jpg /media/data/images/14082025/07/52/image_14082025_07_52_49_10344.jpg /media/data/images/14082025/07/52/image_14082025_07_52_58_9285.jpg /media/data/images/14082025/07/52/image_14082025_07_53_08_10583.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377043582","1377043725","1377043500","1377043539","1377043643","1377043690"],"photo_ids_order":["1377043500","1377043539","1377043582","1377043643","1377043690","1377043725"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/200b9755fb9142655e7c3a54b113265d.jpg","text":"TemporaryFile(/tmp/multipartBody1327795963333639513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184182906,"filename":"image_14082025_07_52_38_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ccfbc48f24e6ba0fa05d827e95ecbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5531624393147958573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184182906,"filename":"image_14082025_07_53_08_10583.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/855f8db8866c476294e4b79e23fc4255.jpg","text":"TemporaryFile(/tmp/multipartBody3853780640403866391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184182906,"filename":"image_14082025_07_52_19_10304.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24399865a983a78dba16217917870128.jpg","text":"TemporaryFile(/tmp/multipartBody977865952893956573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184182906,"filename":"image_14082025_07_52_28_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f969a29751cb17dd22c52c447b15a7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8167146996709519742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184182906,"filename":"image_14082025_07_52_49_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac43eae391fe17472e6cd18e87be14b3.jpg","text":"TemporaryFile(/tmp/multipartBody7996926436275112373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184182906,"filename":"image_14082025_07_52_58_9285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377043582","file1":"1377043539","file0":"1377043500","file4":"1377043690","file5":"1377043725","file3":"1377043643"},"map_files_photo_id_array":[{"photo_id":"1377043725","filename":"file5"},{"photo_id":"1377043582","filename":"file2"},{"photo_id":"1377043690","filename":"file4"},{"photo_id":"1377043539","filename":"file1"},{"photo_id":"1377043500","filename":"file0"},{"photo_id":"1377043643","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377043582":["hashtag1","hashtag2"]},{"1377043725":["hashtag1","hashtag2"]},{"1377043500":["hashtag1","hashtag2"]},{"1377043539":["hashtag1","hashtag2"]},{"1377043643":["hashtag1","hashtag2"]},{"1377043690":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377043582, 1377043725, 1377043500, 1377043539, 1377043643, 1377043690)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.824403285980225 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:09:42.094991 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/53/image_14082025_07_53_19_10397.jpg', '/media/data/images/14082025/07/53/image_14082025_07_53_28_9082.jpg', '/media/data/images/14082025/07/53/image_14082025_07_53_38_10264.jpg', '/media/data/images/14082025/07/53/image_14082025_07_53_49_10398.jpg', '/media/data/images/14082025/07/53/image_14082025_07_53_59_10260.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_08_9393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/53/image_14082025_07_53_19_10397.jpg /media/data/images/14082025/07/53/image_14082025_07_53_28_9082.jpg /media/data/images/14082025/07/53/image_14082025_07_53_38_10264.jpg /media/data/images/14082025/07/53/image_14082025_07_53_49_10398.jpg /media/data/images/14082025/07/53/image_14082025_07_53_59_10260.jpg /media/data/images/14082025/07/54/image_14082025_07_54_08_9393.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377044538","1377044375","1377044297","1377044225","1377044603","1377044455"],"photo_ids_order":["1377044225","1377044297","1377044375","1377044455","1377044538","1377044603"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/541f47d9c801a99705c8d0c5d877a10d.jpg","text":"TemporaryFile(/tmp/multipartBody57631480881604729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184243172,"filename":"image_14082025_07_53_59_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17adb5a0fe3dba3fffc346786da89a71.jpg","text":"TemporaryFile(/tmp/multipartBody215319656326452245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184243172,"filename":"image_14082025_07_53_38_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e58c6e424a33018cdb4bb33d72a77ea.jpg","text":"TemporaryFile(/tmp/multipartBody185387488383492417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184243172,"filename":"image_14082025_07_53_28_9082.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b459d53373a9acc31bdbeef55704431.jpg","text":"TemporaryFile(/tmp/multipartBody8358997984564552424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184243172,"filename":"image_14082025_07_53_19_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab0f61610888284266b729acbf38804f.jpg","text":"TemporaryFile(/tmp/multipartBody1205527292584903799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184243172,"filename":"image_14082025_07_54_08_9393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/330ca0369a480913ba2f74b3ee414ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4680811092289718540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184243172,"filename":"image_14082025_07_53_49_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377044375","file1":"1377044297","file0":"1377044225","file4":"1377044538","file5":"1377044603","file3":"1377044455"},"map_files_photo_id_array":[{"photo_id":"1377044603","filename":"file5"},{"photo_id":"1377044375","filename":"file2"},{"photo_id":"1377044538","filename":"file4"},{"photo_id":"1377044297","filename":"file1"},{"photo_id":"1377044225","filename":"file0"},{"photo_id":"1377044455","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377044538":["hashtag1","hashtag2"]},{"1377044375":["hashtag1","hashtag2"]},{"1377044297":["hashtag1","hashtag2"]},{"1377044225":["hashtag1","hashtag2"]},{"1377044603":["hashtag1","hashtag2"]},{"1377044455":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377044538, 1377044375, 1377044297, 1377044225, 1377044603, 1377044455)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.11684226989746 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:10:42.177968 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/54/image_14082025_07_54_19_10340.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_29_10268.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_38_9135.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_48_10277.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_59_10262.jpg', '/media/data/images/14082025/07/55/image_14082025_07_55_09_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/54/image_14082025_07_54_19_10340.jpg /media/data/images/14082025/07/54/image_14082025_07_54_29_10268.jpg /media/data/images/14082025/07/54/image_14082025_07_54_38_9135.jpg /media/data/images/14082025/07/54/image_14082025_07_54_48_10277.jpg /media/data/images/14082025/07/54/image_14082025_07_54_59_10262.jpg /media/data/images/14082025/07/55/image_14082025_07_55_09_10334.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5876173973083496 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:11:03.242750 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/54/image_14082025_07_54_19_10340.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_29_10268.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_38_9135.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_48_10277.jpg', '/media/data/images/14082025/07/54/image_14082025_07_54_59_10262.jpg', '/media/data/images/14082025/07/55/image_14082025_07_55_09_10334.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/54/image_14082025_07_54_19_10340.jpg /media/data/images/14082025/07/54/image_14082025_07_54_29_10268.jpg /media/data/images/14082025/07/54/image_14082025_07_54_38_9135.jpg /media/data/images/14082025/07/54/image_14082025_07_54_48_10277.jpg /media/data/images/14082025/07/54/image_14082025_07_54_59_10262.jpg /media/data/images/14082025/07/55/image_14082025_07_55_09_10334.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377045405","1377045509","1377045298","1377045577","1377045544","1377045217"],"photo_ids_order":["1377045217","1377045298","1377045405","1377045509","1377045544","1377045577"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5349f485db6b13aa8898238b8458f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4799527991353037850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184324235,"filename":"image_14082025_07_54_38_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74906e2a76b8dd11bf35a2830ae6db34.jpg","text":"TemporaryFile(/tmp/multipartBody1619878556467659268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184324235,"filename":"image_14082025_07_54_48_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dbe166a1c681b75e77c58335ca0395a6.jpg","text":"TemporaryFile(/tmp/multipartBody7423920909465580671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184324235,"filename":"image_14082025_07_54_29_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/972146b2e155639c919b9f4a70461288.jpg","text":"TemporaryFile(/tmp/multipartBody8622219114198396506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184324235,"filename":"image_14082025_07_55_09_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90615bacb2ba714a59ef1e5a65c762a0.jpg","text":"TemporaryFile(/tmp/multipartBody4669220450932818787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184324235,"filename":"image_14082025_07_54_59_10262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c8f0680b5cdab66b56d07743cd61b96.jpg","text":"TemporaryFile(/tmp/multipartBody4237711682212308337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184324235,"filename":"image_14082025_07_54_19_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377045405","file1":"1377045298","file0":"1377045217","file4":"1377045544","file5":"1377045577","file3":"1377045509"},"map_files_photo_id_array":[{"photo_id":"1377045577","filename":"file5"},{"photo_id":"1377045405","filename":"file2"},{"photo_id":"1377045544","filename":"file4"},{"photo_id":"1377045298","filename":"file1"},{"photo_id":"1377045217","filename":"file0"},{"photo_id":"1377045509","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377045405":["hashtag1","hashtag2"]},{"1377045509":["hashtag1","hashtag2"]},{"1377045298":["hashtag1","hashtag2"]},{"1377045577":["hashtag1","hashtag2"]},{"1377045544":["hashtag1","hashtag2"]},{"1377045217":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377045405, 1377045509, 1377045298, 1377045577, 1377045544, 1377045217)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 49.26008987426758 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:12:03.014429 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/55/image_14082025_07_55_18_9032.jpg', '/media/data/images/14082025/07/55/image_14082025_07_55_28_10322.jpg', '/media/data/images/14082025/07/55/image_14082025_07_55_49_10470.jpg', '/media/data/images/14082025/07/55/image_14082025_07_55_58_9091.jpg', '/media/data/images/14082025/07/56/image_14082025_07_56_09_10545.jpg', '/media/data/images/14082025/07/56/image_14082025_07_56_19_10394.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/55/image_14082025_07_55_18_9032.jpg /media/data/images/14082025/07/55/image_14082025_07_55_28_10322.jpg /media/data/images/14082025/07/55/image_14082025_07_55_49_10470.jpg /media/data/images/14082025/07/55/image_14082025_07_55_58_9091.jpg /media/data/images/14082025/07/56/image_14082025_07_56_09_10545.jpg /media/data/images/14082025/07/56/image_14082025_07_56_19_10394.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377045930","1377045761","1377045842","1377045932","1377045928","1377045802"],"photo_ids_order":["1377045761","1377045802","1377045842","1377045928","1377045930","1377045932"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed9f36698c3fe00faa830e038b8c94a7.jpg","text":"TemporaryFile(/tmp/multipartBody2344451051629380189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184384063,"filename":"image_14082025_07_56_09_10545.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7b0c7e507748f0c366c31cde597883a0.jpg","text":"TemporaryFile(/tmp/multipartBody6102375982956964361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184384063,"filename":"image_14082025_07_55_18_9032.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5951907a1bd5384b9cbcf34206d7d1d6.jpg","text":"TemporaryFile(/tmp/multipartBody8382796834563975398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184384063,"filename":"image_14082025_07_55_49_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb1452d253a0f726a3761ec78885bf02.jpg","text":"TemporaryFile(/tmp/multipartBody2357049354770680319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184384063,"filename":"image_14082025_07_56_19_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d9f19e03e2ab0f7cccae47aecd3753a.jpg","text":"TemporaryFile(/tmp/multipartBody4083243105470611002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184384063,"filename":"image_14082025_07_55_58_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cbd9bbb5951fe5a53c0412d86a20e0de.jpg","text":"TemporaryFile(/tmp/multipartBody6044247867823011483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184384063,"filename":"image_14082025_07_55_28_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377045842","file1":"1377045802","file0":"1377045761","file4":"1377045930","file5":"1377045932","file3":"1377045928"},"map_files_photo_id_array":[{"photo_id":"1377045932","filename":"file5"},{"photo_id":"1377045842","filename":"file2"},{"photo_id":"1377045930","filename":"file4"},{"photo_id":"1377045802","filename":"file1"},{"photo_id":"1377045761","filename":"file0"},{"photo_id":"1377045928","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377045930":["hashtag1","hashtag2"]},{"1377045761":["hashtag1","hashtag2"]},{"1377045842":["hashtag1","hashtag2"]},{"1377045932":["hashtag1","hashtag2"]},{"1377045928":["hashtag1","hashtag2"]},{"1377045802":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377045930, 1377045761, 1377045842, 1377045932, 1377045928, 1377045802)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 55.57274913787842 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:13:03.363807 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/56/image_14082025_07_56_28_9134.jpg', '/media/data/images/14082025/07/56/image_14082025_07_56_39_10399.jpg', '/media/data/images/14082025/07/56/image_14082025_07_56_49_10450.jpg', '/media/data/images/14082025/07/56/image_14082025_07_56_58_9247.jpg', '/media/data/images/14082025/07/57/image_14082025_07_57_09_10530.jpg', '/media/data/images/14082025/07/57/image_14082025_07_57_18_9196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/56/image_14082025_07_56_28_9134.jpg /media/data/images/14082025/07/56/image_14082025_07_56_39_10399.jpg /media/data/images/14082025/07/56/image_14082025_07_56_49_10450.jpg /media/data/images/14082025/07/56/image_14082025_07_56_58_9247.jpg /media/data/images/14082025/07/57/image_14082025_07_57_09_10530.jpg /media/data/images/14082025/07/57/image_14082025_07_57_18_9196.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377045951","1377046049","1377045983","1377046018","1377045940","1377046080"],"photo_ids_order":["1377045940","1377045951","1377045983","1377046018","1377046049","1377046080"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdf3db955785b95e748111153bdcf61f.jpg","text":"TemporaryFile(/tmp/multipartBody6434090256737321194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184448934,"filename":"image_14082025_07_56_39_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b4151497538ccd3e002c06d6715c48b.jpg","text":"TemporaryFile(/tmp/multipartBody577165901241098643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184448934,"filename":"image_14082025_07_57_09_10530.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9337f914eaeb22be8af5d422871bee2.jpg","text":"TemporaryFile(/tmp/multipartBody3642316824570697445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184448934,"filename":"image_14082025_07_56_49_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a79d911d74c17b4b3e7d6526b47519c.jpg","text":"TemporaryFile(/tmp/multipartBody7388363429493813127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184448934,"filename":"image_14082025_07_56_58_9247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e3d9b50674db1e6b06a1767a6be52b4.jpg","text":"TemporaryFile(/tmp/multipartBody7300322528008960317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184448934,"filename":"image_14082025_07_56_28_9134.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90d2b4dbb12dedaccfd9a9386e84f7ee.jpg","text":"TemporaryFile(/tmp/multipartBody7007227587795702625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184448934,"filename":"image_14082025_07_57_18_9196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377045983","file1":"1377045951","file0":"1377045940","file4":"1377046049","file5":"1377046080","file3":"1377046018"},"map_files_photo_id_array":[{"photo_id":"1377046080","filename":"file5"},{"photo_id":"1377045983","filename":"file2"},{"photo_id":"1377046049","filename":"file4"},{"photo_id":"1377045951","filename":"file1"},{"photo_id":"1377045940","filename":"file0"},{"photo_id":"1377046018","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377045951":["hashtag1","hashtag2"]},{"1377046049":["hashtag1","hashtag2"]},{"1377045983":["hashtag1","hashtag2"]},{"1377046018":["hashtag1","hashtag2"]},{"1377045940":["hashtag1","hashtag2"]},{"1377046080":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377045951, 1377046049, 1377045983, 1377046018, 1377045940, 1377046080)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.99784970283508 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:14:03.433493 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/57/image_14082025_07_57_28_10353.jpg', '/media/data/images/14082025/07/57/image_14082025_07_57_39_10367.jpg', '/media/data/images/14082025/07/57/image_14082025_07_57_48_9397.jpg', '/media/data/images/14082025/07/57/image_14082025_07_57_59_10409.jpg', '/media/data/images/14082025/07/58/image_14082025_07_58_08_9420.jpg', '/media/data/images/14082025/07/58/image_14082025_07_58_18_10378.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/57/image_14082025_07_57_28_10353.jpg /media/data/images/14082025/07/57/image_14082025_07_57_39_10367.jpg /media/data/images/14082025/07/57/image_14082025_07_57_48_9397.jpg /media/data/images/14082025/07/57/image_14082025_07_57_59_10409.jpg /media/data/images/14082025/07/58/image_14082025_07_58_08_9420.jpg /media/data/images/14082025/07/58/image_14082025_07_58_18_10378.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046172","1377046247","1377046232","1377046205","1377046282","1377046230"],"photo_ids_order":["1377046172","1377046205","1377046230","1377046232","1377046247","1377046282"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dde69e105d4bb4657676da09b712d82d.jpg","text":"TemporaryFile(/tmp/multipartBody8598417422140117590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184504438,"filename":"image_14082025_07_57_28_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b9721635ea4e49f024a94a52427bdb6.jpg","text":"TemporaryFile(/tmp/multipartBody2062821941756493560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184504438,"filename":"image_14082025_07_58_08_9420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c75188bc1b93456affe09f339dd7a27.jpg","text":"TemporaryFile(/tmp/multipartBody1015954328703829767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184504438,"filename":"image_14082025_07_57_59_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b83add950c916edff77fc183ec0e215b.jpg","text":"TemporaryFile(/tmp/multipartBody539694940062142059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184504438,"filename":"image_14082025_07_57_39_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90558685016e936fdfc50e4fab860ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1590905883510211702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184504438,"filename":"image_14082025_07_58_18_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e86de2e48d7fa6aa1accea9c1d53048.jpg","text":"TemporaryFile(/tmp/multipartBody7468021730641978515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184504438,"filename":"image_14082025_07_57_48_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046230","file1":"1377046205","file0":"1377046172","file4":"1377046247","file5":"1377046282","file3":"1377046232"},"map_files_photo_id_array":[{"photo_id":"1377046282","filename":"file5"},{"photo_id":"1377046230","filename":"file2"},{"photo_id":"1377046247","filename":"file4"},{"photo_id":"1377046205","filename":"file1"},{"photo_id":"1377046172","filename":"file0"},{"photo_id":"1377046232","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046172":["hashtag1","hashtag2"]},{"1377046247":["hashtag1","hashtag2"]},{"1377046232":["hashtag1","hashtag2"]},{"1377046205":["hashtag1","hashtag2"]},{"1377046282":["hashtag1","hashtag2"]},{"1377046230":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046172, 1377046247, 1377046232, 1377046205, 1377046282, 1377046230)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.077247858047485 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:15:02.729323 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/58/image_14082025_07_58_29_10477.jpg', '/media/data/images/14082025/07/58/image_14082025_07_58_38_9121.jpg', '/media/data/images/14082025/07/58/image_14082025_07_58_48_10412.jpg', '/media/data/images/14082025/07/58/image_14082025_07_58_59_10467.jpg', '/media/data/images/14082025/07/59/image_14082025_07_59_08_9176.jpg', '/media/data/images/14082025/07/59/image_14082025_07_59_18_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/58/image_14082025_07_58_29_10477.jpg /media/data/images/14082025/07/58/image_14082025_07_58_38_9121.jpg /media/data/images/14082025/07/58/image_14082025_07_58_48_10412.jpg /media/data/images/14082025/07/58/image_14082025_07_58_59_10467.jpg /media/data/images/14082025/07/59/image_14082025_07_59_08_9176.jpg /media/data/images/14082025/07/59/image_14082025_07_59_18_10355.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046326","1377046328","1377046330","1377046318","1377046320","1377046323"],"photo_ids_order":["1377046318","1377046320","1377046323","1377046326","1377046328","1377046330"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb162f800caa288b77f04472784e44d1.jpg","text":"TemporaryFile(/tmp/multipartBody3245679861460791317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184563741,"filename":"image_14082025_07_58_59_10467.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9cca5384107b252ce11af13e7d8fb03.jpg","text":"TemporaryFile(/tmp/multipartBody5697670877382245397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184563741,"filename":"image_14082025_07_59_08_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2980ff08fa1e75c4a6728b2790f477fe.jpg","text":"TemporaryFile(/tmp/multipartBody498424965217664347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184563741,"filename":"image_14082025_07_59_18_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/938b763dcead2d4395b07bfbd88dd72a.jpg","text":"TemporaryFile(/tmp/multipartBody4633778700257465267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184563741,"filename":"image_14082025_07_58_29_10477.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1caa125f8274f10cd5fd3e34264df567.jpg","text":"TemporaryFile(/tmp/multipartBody7672430745599252555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184563741,"filename":"image_14082025_07_58_38_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9805ec533294dad436880c3e7c3e5660.jpg","text":"TemporaryFile(/tmp/multipartBody644118732684152548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184563741,"filename":"image_14082025_07_58_48_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046323","file1":"1377046320","file0":"1377046318","file4":"1377046328","file5":"1377046330","file3":"1377046326"},"map_files_photo_id_array":[{"photo_id":"1377046330","filename":"file5"},{"photo_id":"1377046323","filename":"file2"},{"photo_id":"1377046328","filename":"file4"},{"photo_id":"1377046320","filename":"file1"},{"photo_id":"1377046318","filename":"file0"},{"photo_id":"1377046326","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046326":["hashtag1","hashtag2"]},{"1377046328":["hashtag1","hashtag2"]},{"1377046330":["hashtag1","hashtag2"]},{"1377046318":["hashtag1","hashtag2"]},{"1377046320":["hashtag1","hashtag2"]},{"1377046323":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046326, 1377046328, 1377046330, 1377046318, 1377046320, 1377046323)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.808632373809814 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:16:02.717149 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/07/59/image_14082025_07_59_29_10404.jpg', '/media/data/images/14082025/07/59/image_14082025_07_59_38_9130.jpg', '/media/data/images/14082025/07/59/image_14082025_07_59_48_10419.jpg', '/media/data/images/14082025/07/59/image_14082025_07_59_59_10446.jpg', '/media/data/images/14082025/08/00/image_14082025_08_00_08_9349.jpg', '/media/data/images/14082025/08/00/image_14082025_08_00_19_10561.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/07/59/image_14082025_07_59_29_10404.jpg /media/data/images/14082025/07/59/image_14082025_07_59_38_9130.jpg /media/data/images/14082025/07/59/image_14082025_07_59_48_10419.jpg /media/data/images/14082025/07/59/image_14082025_07_59_59_10446.jpg /media/data/images/14082025/08/00/image_14082025_08_00_08_9349.jpg /media/data/images/14082025/08/00/image_14082025_08_00_19_10561.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046382","1377046354","1377046342","1377046377","1377046386","1377046374"],"photo_ids_order":["1377046342","1377046354","1377046374","1377046377","1377046382","1377046386"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/02b8fbafd794bcc231a094f6c5443d62.jpg","text":"TemporaryFile(/tmp/multipartBody4885536712510747049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184623705,"filename":"image_14082025_08_00_08_9349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/149cb3d2cabc72076884cd21e61fe959.jpg","text":"TemporaryFile(/tmp/multipartBody3728542266501028291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184623705,"filename":"image_14082025_07_59_38_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/970bf7469759380582b1376fe34e872a.jpg","text":"TemporaryFile(/tmp/multipartBody8336768832752971010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184623705,"filename":"image_14082025_07_59_29_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2adf4d4b0c737a7c6f9baa84006a7a41.jpg","text":"TemporaryFile(/tmp/multipartBody2376256777231180838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184623705,"filename":"image_14082025_07_59_59_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b697b0fde7c1960279a0b5923bfb7184.jpg","text":"TemporaryFile(/tmp/multipartBody6997400275343176759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184623705,"filename":"image_14082025_08_00_19_10561.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4ffe212e5ecf7b6f7a69087cf2db903.jpg","text":"TemporaryFile(/tmp/multipartBody5108576986944471400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184623705,"filename":"image_14082025_07_59_48_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046374","file1":"1377046354","file0":"1377046342","file4":"1377046382","file5":"1377046386","file3":"1377046377"},"map_files_photo_id_array":[{"photo_id":"1377046386","filename":"file5"},{"photo_id":"1377046374","filename":"file2"},{"photo_id":"1377046382","filename":"file4"},{"photo_id":"1377046354","filename":"file1"},{"photo_id":"1377046342","filename":"file0"},{"photo_id":"1377046377","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046382":["hashtag1","hashtag2"]},{"1377046354":["hashtag1","hashtag2"]},{"1377046342":["hashtag1","hashtag2"]},{"1377046377":["hashtag1","hashtag2"]},{"1377046386":["hashtag1","hashtag2"]},{"1377046374":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046382, 1377046354, 1377046342, 1377046377, 1377046386, 1377046374)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.528146266937256 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:17:02.944807 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/00/image_14082025_08_00_29_10400.jpg', '/media/data/images/14082025/08/00/image_14082025_08_00_38_9151.jpg', '/media/data/images/14082025/08/00/image_14082025_08_00_49_10452.jpg', '/media/data/images/14082025/08/00/image_14082025_08_00_59_10386.jpg', '/media/data/images/14082025/08/01/image_14082025_08_01_09_9521.jpg', '/media/data/images/14082025/08/01/image_14082025_08_01_19_10459.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/00/image_14082025_08_00_29_10400.jpg /media/data/images/14082025/08/00/image_14082025_08_00_38_9151.jpg /media/data/images/14082025/08/00/image_14082025_08_00_49_10452.jpg /media/data/images/14082025/08/00/image_14082025_08_00_59_10386.jpg /media/data/images/14082025/08/01/image_14082025_08_01_09_9521.jpg /media/data/images/14082025/08/01/image_14082025_08_01_19_10459.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046412","1377046409","1377046400","1377046405","1377046398","1377046402"],"photo_ids_order":["1377046398","1377046400","1377046402","1377046405","1377046409","1377046412"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d89f5dd03714e90eaf7bab0796826a04.jpg","text":"TemporaryFile(/tmp/multipartBody2566925420864889652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184683966,"filename":"image_14082025_08_01_19_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7457ccef82d61d42bcc749a0bdbdd57f.jpg","text":"TemporaryFile(/tmp/multipartBody50651326058632859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184683966,"filename":"image_14082025_08_01_09_9521.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/116be7e00e035907968b578b49bebd13.jpg","text":"TemporaryFile(/tmp/multipartBody1272462622857777506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184683966,"filename":"image_14082025_08_00_38_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/398eca3ad7d10c328f185dbb73cc69d4.jpg","text":"TemporaryFile(/tmp/multipartBody9132708303332403295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184683966,"filename":"image_14082025_08_00_59_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b936da686c53bea8d74b086d7a50422a.jpg","text":"TemporaryFile(/tmp/multipartBody4685402054728292572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184683966,"filename":"image_14082025_08_00_29_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/939a14d95f0df1457e55164f17ab4733.jpg","text":"TemporaryFile(/tmp/multipartBody9080574523099440472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184683966,"filename":"image_14082025_08_00_49_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046402","file1":"1377046400","file0":"1377046398","file4":"1377046409","file5":"1377046412","file3":"1377046405"},"map_files_photo_id_array":[{"photo_id":"1377046412","filename":"file5"},{"photo_id":"1377046402","filename":"file2"},{"photo_id":"1377046409","filename":"file4"},{"photo_id":"1377046400","filename":"file1"},{"photo_id":"1377046398","filename":"file0"},{"photo_id":"1377046405","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046412":["hashtag1","hashtag2"]},{"1377046409":["hashtag1","hashtag2"]},{"1377046400":["hashtag1","hashtag2"]},{"1377046405":["hashtag1","hashtag2"]},{"1377046398":["hashtag1","hashtag2"]},{"1377046402":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046412, 1377046409, 1377046400, 1377046405, 1377046398, 1377046402)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.849968671798706 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:18:02.932789 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/01/image_14082025_08_01_28_9204.jpg', '/media/data/images/14082025/08/01/image_14082025_08_01_39_10490.jpg', '/media/data/images/14082025/08/01/image_14082025_08_01_48_9191.jpg', '/media/data/images/14082025/08/01/image_14082025_08_01_58_10389.jpg', '/media/data/images/14082025/08/02/image_14082025_08_02_09_10503.jpg', '/media/data/images/14082025/08/02/image_14082025_08_02_18_9140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/01/image_14082025_08_01_28_9204.jpg /media/data/images/14082025/08/01/image_14082025_08_01_39_10490.jpg /media/data/images/14082025/08/01/image_14082025_08_01_48_9191.jpg /media/data/images/14082025/08/01/image_14082025_08_01_58_10389.jpg /media/data/images/14082025/08/02/image_14082025_08_02_09_10503.jpg /media/data/images/14082025/08/02/image_14082025_08_02_18_9140.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046445","1377046433","1377046441","1377046435","1377046428","1377046437"],"photo_ids_order":["1377046428","1377046433","1377046435","1377046437","1377046441","1377046445"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d8cbc228fea0b8887db9d9ab15ffab7.jpg","text":"TemporaryFile(/tmp/multipartBody3550177430763967917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184743908,"filename":"image_14082025_08_02_18_9140.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46fe92eb0d6e973f49f204b6e87e2c17.jpg","text":"TemporaryFile(/tmp/multipartBody48454945949478271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184743908,"filename":"image_14082025_08_01_39_10490.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79d83811697550f95a1593c82cfb1234.jpg","text":"TemporaryFile(/tmp/multipartBody5340526838123956457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184743908,"filename":"image_14082025_08_02_09_10503.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab0a91a22572981a2ba2e37ac3dbda05.jpg","text":"TemporaryFile(/tmp/multipartBody6496552687425666821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184743908,"filename":"image_14082025_08_01_48_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf8990af7c4b31dabb8e4d233705a68d.jpg","text":"TemporaryFile(/tmp/multipartBody4869682263677380333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184743908,"filename":"image_14082025_08_01_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a620928e5cc9fab24dab637f4b60c21.jpg","text":"TemporaryFile(/tmp/multipartBody934840224545261751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184743908,"filename":"image_14082025_08_01_58_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046435","file1":"1377046433","file0":"1377046428","file4":"1377046441","file5":"1377046445","file3":"1377046437"},"map_files_photo_id_array":[{"photo_id":"1377046445","filename":"file5"},{"photo_id":"1377046435","filename":"file2"},{"photo_id":"1377046441","filename":"file4"},{"photo_id":"1377046433","filename":"file1"},{"photo_id":"1377046428","filename":"file0"},{"photo_id":"1377046437","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046445":["hashtag1","hashtag2"]},{"1377046433":["hashtag1","hashtag2"]},{"1377046441":["hashtag1","hashtag2"]},{"1377046435":["hashtag1","hashtag2"]},{"1377046428":["hashtag1","hashtag2"]},{"1377046437":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046445, 1377046433, 1377046441, 1377046435, 1377046428, 1377046437)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.25303363800049 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:19:03.405638 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/02/image_14082025_08_02_28_10472.jpg', '/media/data/images/14082025/08/02/image_14082025_08_02_39_10509.jpg', '/media/data/images/14082025/08/02/image_14082025_08_02_48_9175.jpg', '/media/data/images/14082025/08/02/image_14082025_08_02_58_10342.jpg', '/media/data/images/14082025/08/03/image_14082025_08_03_09_10178.jpg', '/media/data/images/14082025/08/03/image_14082025_08_03_19_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/02/image_14082025_08_02_28_10472.jpg /media/data/images/14082025/08/02/image_14082025_08_02_39_10509.jpg /media/data/images/14082025/08/02/image_14082025_08_02_48_9175.jpg /media/data/images/14082025/08/02/image_14082025_08_02_58_10342.jpg /media/data/images/14082025/08/03/image_14082025_08_03_09_10178.jpg /media/data/images/14082025/08/03/image_14082025_08_03_19_10339.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046472","1377046462","1377046459","1377046470","1377046464","1377046467"],"photo_ids_order":["1377046459","1377046462","1377046464","1377046467","1377046470","1377046472"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ce13f9281ece044770e2623968437f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2520608452977491837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184804481,"filename":"image_14082025_08_03_19_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6db89ccb66835fe5ac508631f61107ef.jpg","text":"TemporaryFile(/tmp/multipartBody838979254308712708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184804481,"filename":"image_14082025_08_02_39_10509.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f53a12e89f0bbbbc77000e42d4a9fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2812651451060209141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184804481,"filename":"image_14082025_08_02_28_10472.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c821b437cb568c9a7d7cfebefaaf67d6.jpg","text":"TemporaryFile(/tmp/multipartBody7914029215427551172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184804481,"filename":"image_14082025_08_03_09_10178.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18feb53216707d0e86c197af3e7bf1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1937011542764363880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184804481,"filename":"image_14082025_08_02_48_9175.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a82a4a791e07902daa5e9b3baf5baa65.jpg","text":"TemporaryFile(/tmp/multipartBody2557995079021476321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184804481,"filename":"image_14082025_08_02_58_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046464","file1":"1377046462","file0":"1377046459","file4":"1377046470","file5":"1377046472","file3":"1377046467"},"map_files_photo_id_array":[{"photo_id":"1377046472","filename":"file5"},{"photo_id":"1377046464","filename":"file2"},{"photo_id":"1377046470","filename":"file4"},{"photo_id":"1377046462","filename":"file1"},{"photo_id":"1377046459","filename":"file0"},{"photo_id":"1377046467","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046472":["hashtag1","hashtag2"]},{"1377046462":["hashtag1","hashtag2"]},{"1377046459":["hashtag1","hashtag2"]},{"1377046470":["hashtag1","hashtag2"]},{"1377046464":["hashtag1","hashtag2"]},{"1377046467":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046472, 1377046462, 1377046459, 1377046470, 1377046464, 1377046467)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.97428774833679 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:20:03.253202 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/03/image_14082025_08_03_28_9136.jpg', '/media/data/images/14082025/08/03/image_14082025_08_03_38_10319.jpg', '/media/data/images/14082025/08/03/image_14082025_08_03_58_9058.jpg', '/media/data/images/14082025/08/03/image_14082025_08_04_08_10611.jpg', '/media/data/images/14082025/08/04/image_14082025_08_04_19_10547.jpg', '/media/data/images/14082025/08/04/image_14082025_08_04_28_9166.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/03/image_14082025_08_03_28_9136.jpg /media/data/images/14082025/08/03/image_14082025_08_03_38_10319.jpg /media/data/images/14082025/08/03/image_14082025_08_03_58_9058.jpg /media/data/images/14082025/08/03/image_14082025_08_04_08_10611.jpg /media/data/images/14082025/08/04/image_14082025_08_04_19_10547.jpg /media/data/images/14082025/08/04/image_14082025_08_04_28_9166.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046568","1377046562","1377046508","1377046543","1377046531","1377046512"],"photo_ids_order":["1377046508","1377046512","1377046531","1377046543","1377046562","1377046568"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7115f17b3af15af861ca49435ed6b157.jpg","text":"TemporaryFile(/tmp/multipartBody8552163015670380929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184864334,"filename":"image_14082025_08_04_28_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ab5093dc85253836abcd72d81edf63b.jpg","text":"TemporaryFile(/tmp/multipartBody6404967125206779514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184864334,"filename":"image_14082025_08_04_19_10547.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe5f250a8aea8d785a5a758ea4f1d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody2008297422245543780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184864334,"filename":"image_14082025_08_03_28_9136.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/368e1955a4d7011730ce5ded7a4883b2.jpg","text":"TemporaryFile(/tmp/multipartBody9105486872115984862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184864334,"filename":"image_14082025_08_04_08_10611.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f0d6974da1dff548863b165b6743820.jpg","text":"TemporaryFile(/tmp/multipartBody4966039930240169085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184864334,"filename":"image_14082025_08_03_58_9058.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b7d45d6e9a2b2d56219e84609d5f07da.jpg","text":"TemporaryFile(/tmp/multipartBody8664571821618006238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184864334,"filename":"image_14082025_08_03_38_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046531","file1":"1377046512","file0":"1377046508","file4":"1377046562","file5":"1377046568","file3":"1377046543"},"map_files_photo_id_array":[{"photo_id":"1377046568","filename":"file5"},{"photo_id":"1377046531","filename":"file2"},{"photo_id":"1377046562","filename":"file4"},{"photo_id":"1377046512","filename":"file1"},{"photo_id":"1377046508","filename":"file0"},{"photo_id":"1377046543","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046568":["hashtag1","hashtag2"]},{"1377046562":["hashtag1","hashtag2"]},{"1377046508":["hashtag1","hashtag2"]},{"1377046543":["hashtag1","hashtag2"]},{"1377046531":["hashtag1","hashtag2"]},{"1377046512":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046568, 1377046562, 1377046508, 1377046543, 1377046531, 1377046512)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.82976484298706 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:21:03.551828 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/04/image_14082025_08_04_38_10325.jpg', '/media/data/images/14082025/08/04/image_14082025_08_04_49_10396.jpg', '/media/data/images/14082025/08/04/image_14082025_08_04_58_9076.jpg', '/media/data/images/14082025/08/05/image_14082025_08_05_08_10503.jpg', '/media/data/images/14082025/08/05/image_14082025_08_05_19_10295.jpg', '/media/data/images/14082025/08/05/image_14082025_08_05_28_9183.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/04/image_14082025_08_04_38_10325.jpg /media/data/images/14082025/08/04/image_14082025_08_04_49_10396.jpg /media/data/images/14082025/08/04/image_14082025_08_04_58_9076.jpg /media/data/images/14082025/08/05/image_14082025_08_05_08_10503.jpg /media/data/images/14082025/08/05/image_14082025_08_05_19_10295.jpg /media/data/images/14082025/08/05/image_14082025_08_05_28_9183.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046631","1377046628","1377046621","1377046615","1377046624","1377046608"],"photo_ids_order":["1377046608","1377046615","1377046621","1377046624","1377046628","1377046631"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2682442403381d2df77b503589e61935.jpg","text":"TemporaryFile(/tmp/multipartBody7809866716927375110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184924626,"filename":"image_14082025_08_05_28_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc859783177d1afe2e12c3665e951726.jpg","text":"TemporaryFile(/tmp/multipartBody5725817434153357440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184924626,"filename":"image_14082025_08_05_19_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/154ad70060cd33f78b235fcc3f9f71af.jpg","text":"TemporaryFile(/tmp/multipartBody6225320707955620119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184924626,"filename":"image_14082025_08_04_58_9076.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/224c5e6394020e856bb8461fe4695a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3272896784627670035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184924626,"filename":"image_14082025_08_04_49_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14484d61fddab50ba44bf09a7c2ae5d2.jpg","text":"TemporaryFile(/tmp/multipartBody332186830556082502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184924626,"filename":"image_14082025_08_05_08_10503.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a6014f27e8717873b573080fed16afba.jpg","text":"TemporaryFile(/tmp/multipartBody5379710496103844945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184924626,"filename":"image_14082025_08_04_38_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046621","file1":"1377046615","file0":"1377046608","file4":"1377046628","file5":"1377046631","file3":"1377046624"},"map_files_photo_id_array":[{"photo_id":"1377046631","filename":"file5"},{"photo_id":"1377046621","filename":"file2"},{"photo_id":"1377046628","filename":"file4"},{"photo_id":"1377046615","filename":"file1"},{"photo_id":"1377046608","filename":"file0"},{"photo_id":"1377046624","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046631":["hashtag1","hashtag2"]},{"1377046628":["hashtag1","hashtag2"]},{"1377046621":["hashtag1","hashtag2"]},{"1377046615":["hashtag1","hashtag2"]},{"1377046624":["hashtag1","hashtag2"]},{"1377046608":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046631, 1377046628, 1377046621, 1377046615, 1377046624, 1377046608)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.642566442489624 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:22:03.373707 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/05/image_14082025_08_05_38_10407.jpg', '/media/data/images/14082025/08/05/image_14082025_08_05_49_10288.jpg', '/media/data/images/14082025/08/05/image_14082025_08_05_58_9214.jpg', '/media/data/images/14082025/08/05/image_14082025_08_06_09_10666.jpg', '/media/data/images/14082025/08/06/image_14082025_08_06_19_10304.jpg', '/media/data/images/14082025/08/06/image_14082025_08_06_38_10275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/05/image_14082025_08_05_38_10407.jpg /media/data/images/14082025/08/05/image_14082025_08_05_49_10288.jpg /media/data/images/14082025/08/05/image_14082025_08_05_58_9214.jpg /media/data/images/14082025/08/05/image_14082025_08_06_09_10666.jpg /media/data/images/14082025/08/06/image_14082025_08_06_19_10304.jpg /media/data/images/14082025/08/06/image_14082025_08_06_38_10275.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046646","1377046648","1377046657","1377046642","1377046639","1377046653"],"photo_ids_order":["1377046639","1377046642","1377046646","1377046648","1377046653","1377046657"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de52c7b14c03f6f488527f569e1f4b86.jpg","text":"TemporaryFile(/tmp/multipartBody4984928588381205706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184984435,"filename":"image_14082025_08_05_58_9214.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87482e8be704acd49b76f0cab0085bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4075474552415048397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184984435,"filename":"image_14082025_08_06_09_10666.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea8e8ee59856e60bd76e1a9a98e83e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5347168514729932661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184984435,"filename":"image_14082025_08_06_38_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e14286599778ccb86fa753e5150b2ce.jpg","text":"TemporaryFile(/tmp/multipartBody3832154279715372886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184984435,"filename":"image_14082025_08_05_49_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17bb002b4e5cfd5e92720f7064ab77cf.jpg","text":"TemporaryFile(/tmp/multipartBody3550293884589544813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184984435,"filename":"image_14082025_08_05_38_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c1c505e6d235653df54e4fe9d9beea9.jpg","text":"TemporaryFile(/tmp/multipartBody1878515206928331713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755184984435,"filename":"image_14082025_08_06_19_10304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046646","file1":"1377046642","file0":"1377046639","file4":"1377046653","file5":"1377046657","file3":"1377046648"},"map_files_photo_id_array":[{"photo_id":"1377046657","filename":"file5"},{"photo_id":"1377046646","filename":"file2"},{"photo_id":"1377046653","filename":"file4"},{"photo_id":"1377046642","filename":"file1"},{"photo_id":"1377046639","filename":"file0"},{"photo_id":"1377046648","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046646":["hashtag1","hashtag2"]},{"1377046648":["hashtag1","hashtag2"]},{"1377046657":["hashtag1","hashtag2"]},{"1377046642":["hashtag1","hashtag2"]},{"1377046639":["hashtag1","hashtag2"]},{"1377046653":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046646, 1377046648, 1377046657, 1377046642, 1377046639, 1377046653)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.157920122146606 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:23:02.798803 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/06/image_14082025_08_06_48_10288.jpg', '/media/data/images/14082025/08/06/image_14082025_08_06_59_10315.jpg', '/media/data/images/14082025/08/07/image_14082025_08_07_08_9078.jpg', '/media/data/images/14082025/08/07/image_14082025_08_07_18_10312.jpg', '/media/data/images/14082025/08/07/image_14082025_08_07_29_10381.jpg', '/media/data/images/14082025/08/07/image_14082025_08_07_39_10312.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/06/image_14082025_08_06_48_10288.jpg /media/data/images/14082025/08/06/image_14082025_08_06_59_10315.jpg /media/data/images/14082025/08/07/image_14082025_08_07_08_9078.jpg /media/data/images/14082025/08/07/image_14082025_08_07_18_10312.jpg /media/data/images/14082025/08/07/image_14082025_08_07_29_10381.jpg /media/data/images/14082025/08/07/image_14082025_08_07_39_10312.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046679","1377046745","1377046724","1377046703","1377046690","1377046710"],"photo_ids_order":["1377046679","1377046690","1377046703","1377046710","1377046724","1377046745"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/488b939e32c74bc30289809959812e7c.jpg","text":"TemporaryFile(/tmp/multipartBody2728197675782681974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185043869,"filename":"image_14082025_08_06_48_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df6018b96edf89b39f4cbd642b2c00e0.jpg","text":"TemporaryFile(/tmp/multipartBody7791722818801185745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185043869,"filename":"image_14082025_08_07_39_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b042d98664e48ff50a554764bcab06ca.jpg","text":"TemporaryFile(/tmp/multipartBody4487751195808682996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185043869,"filename":"image_14082025_08_07_29_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/578bf896920f653f4d6dd3975f0c0ca8.jpg","text":"TemporaryFile(/tmp/multipartBody5946575943719849712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185043869,"filename":"image_14082025_08_07_08_9078.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/354861350b0bc70a1e1bd0f75f07617c.jpg","text":"TemporaryFile(/tmp/multipartBody751335939718476619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185043869,"filename":"image_14082025_08_06_59_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1344d9dad533f29e31d6fede65d39532.jpg","text":"TemporaryFile(/tmp/multipartBody5379103396574427298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185043869,"filename":"image_14082025_08_07_18_10312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046703","file1":"1377046690","file0":"1377046679","file4":"1377046724","file5":"1377046745","file3":"1377046710"},"map_files_photo_id_array":[{"photo_id":"1377046745","filename":"file5"},{"photo_id":"1377046703","filename":"file2"},{"photo_id":"1377046724","filename":"file4"},{"photo_id":"1377046690","filename":"file1"},{"photo_id":"1377046679","filename":"file0"},{"photo_id":"1377046710","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046679":["hashtag1","hashtag2"]},{"1377046745":["hashtag1","hashtag2"]},{"1377046724":["hashtag1","hashtag2"]},{"1377046703":["hashtag1","hashtag2"]},{"1377046690":["hashtag1","hashtag2"]},{"1377046710":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046679, 1377046745, 1377046724, 1377046703, 1377046690, 1377046710)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.591060638427734 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:24:02.427989 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/07/image_14082025_08_07_48_9258.jpg', '/media/data/images/14082025/08/07/image_14082025_08_07_59_10372.jpg', '/media/data/images/14082025/08/08/image_14082025_08_08_09_10496.jpg', '/media/data/images/14082025/08/08/image_14082025_08_08_18_9158.jpg', '/media/data/images/14082025/08/08/image_14082025_08_08_29_10375.jpg', '/media/data/images/14082025/08/08/image_14082025_08_08_39_10382.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/07/image_14082025_08_07_48_9258.jpg /media/data/images/14082025/08/07/image_14082025_08_07_59_10372.jpg /media/data/images/14082025/08/08/image_14082025_08_08_09_10496.jpg /media/data/images/14082025/08/08/image_14082025_08_08_18_9158.jpg /media/data/images/14082025/08/08/image_14082025_08_08_29_10375.jpg /media/data/images/14082025/08/08/image_14082025_08_08_39_10382.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046778","1377046775","1377046765","1377046773","1377046782","1377046770"],"photo_ids_order":["1377046765","1377046770","1377046773","1377046775","1377046778","1377046782"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10b1ae2b56e431a4abeddacaf2449cd3.jpg","text":"TemporaryFile(/tmp/multipartBody9144714132959696598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185103406,"filename":"image_14082025_08_08_29_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fbcffe8293efc39effd7b435514f417a.jpg","text":"TemporaryFile(/tmp/multipartBody8886833804819457711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185103406,"filename":"image_14082025_08_08_18_9158.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/308620622c55b74955feeca796ca3173.jpg","text":"TemporaryFile(/tmp/multipartBody9028334466978241878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185103406,"filename":"image_14082025_08_07_48_9258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c62b387c0fede61f01603eca8cdacd4c.jpg","text":"TemporaryFile(/tmp/multipartBody7445775879514573943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185103406,"filename":"image_14082025_08_08_09_10496.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/880ad08f1485ff0720833ef7a6f625a9.jpg","text":"TemporaryFile(/tmp/multipartBody5877275379738266987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185103406,"filename":"image_14082025_08_08_39_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/316d2d8425af979cc331e8c8662a0fd9.jpg","text":"TemporaryFile(/tmp/multipartBody4515824142536691248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185103406,"filename":"image_14082025_08_07_59_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046773","file1":"1377046770","file0":"1377046765","file4":"1377046778","file5":"1377046782","file3":"1377046775"},"map_files_photo_id_array":[{"photo_id":"1377046782","filename":"file5"},{"photo_id":"1377046773","filename":"file2"},{"photo_id":"1377046778","filename":"file4"},{"photo_id":"1377046770","filename":"file1"},{"photo_id":"1377046765","filename":"file0"},{"photo_id":"1377046775","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046778":["hashtag1","hashtag2"]},{"1377046775":["hashtag1","hashtag2"]},{"1377046765":["hashtag1","hashtag2"]},{"1377046773":["hashtag1","hashtag2"]},{"1377046782":["hashtag1","hashtag2"]},{"1377046770":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046778, 1377046775, 1377046765, 1377046773, 1377046782, 1377046770)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.22533869743347 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:25:02.977103 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/08/image_14082025_08_08_48_9198.jpg', '/media/data/images/14082025/08/08/image_14082025_08_08_58_10356.jpg', '/media/data/images/14082025/08/09/image_14082025_08_09_09_10521.jpg', '/media/data/images/14082025/08/09/image_14082025_08_09_18_9185.jpg', '/media/data/images/14082025/08/09/image_14082025_08_09_29_10423.jpg', '/media/data/images/14082025/08/09/image_14082025_08_09_38_9196.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/08/image_14082025_08_08_48_9198.jpg /media/data/images/14082025/08/08/image_14082025_08_08_58_10356.jpg /media/data/images/14082025/08/09/image_14082025_08_09_09_10521.jpg /media/data/images/14082025/08/09/image_14082025_08_09_18_9185.jpg /media/data/images/14082025/08/09/image_14082025_08_09_29_10423.jpg /media/data/images/14082025/08/09/image_14082025_08_09_38_9196.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046815","1377046820","1377046826","1377046811","1377046805","1377046812"],"photo_ids_order":["1377046805","1377046811","1377046812","1377046815","1377046820","1377046826"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8bca9187de9ba5894a949354f6a20afe.jpg","text":"TemporaryFile(/tmp/multipartBody4376849932046499651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185163925,"filename":"image_14082025_08_09_18_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bd538676c42b397896991930244093e.jpg","text":"TemporaryFile(/tmp/multipartBody8113975894942342890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185163925,"filename":"image_14082025_08_09_29_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf8dc289c6d38fdd6454e334cc8064e1.jpg","text":"TemporaryFile(/tmp/multipartBody7705238596067114766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185163925,"filename":"image_14082025_08_09_38_9196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebe2c084734e0dc230c968c6553acc7a.jpg","text":"TemporaryFile(/tmp/multipartBody5120732132495410037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185163925,"filename":"image_14082025_08_08_58_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/248d0fcde168c084504e86ce1d5f1025.jpg","text":"TemporaryFile(/tmp/multipartBody4287492608017566164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185163925,"filename":"image_14082025_08_08_48_9198.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/933511f5a7fc45040a1a5d9abf523d34.jpg","text":"TemporaryFile(/tmp/multipartBody8317624293652046586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185163925,"filename":"image_14082025_08_09_09_10521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046812","file1":"1377046811","file0":"1377046805","file4":"1377046820","file5":"1377046826","file3":"1377046815"},"map_files_photo_id_array":[{"photo_id":"1377046826","filename":"file5"},{"photo_id":"1377046812","filename":"file2"},{"photo_id":"1377046820","filename":"file4"},{"photo_id":"1377046811","filename":"file1"},{"photo_id":"1377046805","filename":"file0"},{"photo_id":"1377046815","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046815":["hashtag1","hashtag2"]},{"1377046820":["hashtag1","hashtag2"]},{"1377046826":["hashtag1","hashtag2"]},{"1377046811":["hashtag1","hashtag2"]},{"1377046805":["hashtag1","hashtag2"]},{"1377046812":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046815, 1377046820, 1377046826, 1377046811, 1377046805, 1377046812)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.08902359008789 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:26:02.809209 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/09/image_14082025_08_09_48_10360.jpg', '/media/data/images/14082025/08/09/image_14082025_08_09_59_10427.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_08_9336.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_18_10459.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_29_10417.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_38_9128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/09/image_14082025_08_09_48_10360.jpg /media/data/images/14082025/08/09/image_14082025_08_09_59_10427.jpg /media/data/images/14082025/08/10/image_14082025_08_10_08_9336.jpg /media/data/images/14082025/08/10/image_14082025_08_10_18_10459.jpg /media/data/images/14082025/08/10/image_14082025_08_10_29_10417.jpg /media/data/images/14082025/08/10/image_14082025_08_10_38_9128.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5711996555328369 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:26:22.127558 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/09/image_14082025_08_09_48_10360.jpg', '/media/data/images/14082025/08/09/image_14082025_08_09_59_10427.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_08_9336.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_18_10459.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_29_10417.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_38_9128.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/09/image_14082025_08_09_48_10360.jpg /media/data/images/14082025/08/09/image_14082025_08_09_59_10427.jpg /media/data/images/14082025/08/10/image_14082025_08_10_08_9336.jpg /media/data/images/14082025/08/10/image_14082025_08_10_18_10459.jpg /media/data/images/14082025/08/10/image_14082025_08_10_29_10417.jpg /media/data/images/14082025/08/10/image_14082025_08_10_38_9128.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046859","1377046855","1377046872","1377046869","1377046863","1377046851"],"photo_ids_order":["1377046851","1377046855","1377046859","1377046863","1377046869","1377046872"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2851a3333be6ae8d9eeb371d5bd620e0.jpg","text":"TemporaryFile(/tmp/multipartBody1627097258345548970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185243034,"filename":"image_14082025_08_10_08_9336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a0f8821d9be964bb5332d8ef2abbb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3479998280035666796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185243034,"filename":"image_14082025_08_09_59_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aead8eb7d6cee4cc2cd103789bbecb7f.jpg","text":"TemporaryFile(/tmp/multipartBody5410104268921825192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185243034,"filename":"image_14082025_08_10_38_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94fc09d8c5a62d979f9cf6f2d33c9948.jpg","text":"TemporaryFile(/tmp/multipartBody4538624749263790901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185243034,"filename":"image_14082025_08_10_29_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6636a904ccc6df16111f5c5a8a7e392c.jpg","text":"TemporaryFile(/tmp/multipartBody5080180603268663756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185243034,"filename":"image_14082025_08_10_18_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a8fe1bc30cf2b69256376bce5a0ed02.jpg","text":"TemporaryFile(/tmp/multipartBody721511447369712992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185243034,"filename":"image_14082025_08_09_48_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046859","file1":"1377046855","file0":"1377046851","file4":"1377046869","file5":"1377046872","file3":"1377046863"},"map_files_photo_id_array":[{"photo_id":"1377046872","filename":"file5"},{"photo_id":"1377046859","filename":"file2"},{"photo_id":"1377046869","filename":"file4"},{"photo_id":"1377046855","filename":"file1"},{"photo_id":"1377046851","filename":"file0"},{"photo_id":"1377046863","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046859":["hashtag1","hashtag2"]},{"1377046855":["hashtag1","hashtag2"]},{"1377046872":["hashtag1","hashtag2"]},{"1377046869":["hashtag1","hashtag2"]},{"1377046863":["hashtag1","hashtag2"]},{"1377046851":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046859, 1377046855, 1377046872, 1377046869, 1377046863, 1377046851)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.83250164985657 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:27:22.190783 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/10/image_14082025_08_10_48_10363.jpg', '/media/data/images/14082025/08/10/image_14082025_08_10_59_10437.jpg', '/media/data/images/14082025/08/11/image_14082025_08_11_08_9147.jpg', '/media/data/images/14082025/08/11/image_14082025_08_11_18_10343.jpg', '/media/data/images/14082025/08/11/image_14082025_08_11_29_10269.jpg', '/media/data/images/14082025/08/11/image_14082025_08_11_39_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/10/image_14082025_08_10_48_10363.jpg /media/data/images/14082025/08/10/image_14082025_08_10_59_10437.jpg /media/data/images/14082025/08/11/image_14082025_08_11_08_9147.jpg /media/data/images/14082025/08/11/image_14082025_08_11_18_10343.jpg /media/data/images/14082025/08/11/image_14082025_08_11_29_10269.jpg /media/data/images/14082025/08/11/image_14082025_08_11_39_10276.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046908","1377046901","1377046891","1377046896","1377046911","1377046905"],"photo_ids_order":["1377046891","1377046896","1377046901","1377046905","1377046908","1377046911"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2243c5e7b956c4d5a303adfd888b8bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2322805369970599301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185303194,"filename":"image_14082025_08_11_29_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92d8640951f5d54df02adf91fa99bbb2.jpg","text":"TemporaryFile(/tmp/multipartBody2659445299855184128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185303194,"filename":"image_14082025_08_11_08_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0ff0be13cf05e50d065e8e9cca10857.jpg","text":"TemporaryFile(/tmp/multipartBody5998801279465141896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185303194,"filename":"image_14082025_08_10_48_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b10432fd243b1edc98bac48430256a7.jpg","text":"TemporaryFile(/tmp/multipartBody3099842771430739551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185303194,"filename":"image_14082025_08_10_59_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0069852f44d0767e55d51b6aa696a2c8.jpg","text":"TemporaryFile(/tmp/multipartBody3073624109046228363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185303194,"filename":"image_14082025_08_11_39_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4323421b9233f411ae1d163edc16fea.jpg","text":"TemporaryFile(/tmp/multipartBody985296261224702186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185303194,"filename":"image_14082025_08_11_18_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046901","file1":"1377046896","file0":"1377046891","file4":"1377046908","file5":"1377046911","file3":"1377046905"},"map_files_photo_id_array":[{"photo_id":"1377046911","filename":"file5"},{"photo_id":"1377046901","filename":"file2"},{"photo_id":"1377046908","filename":"file4"},{"photo_id":"1377046896","filename":"file1"},{"photo_id":"1377046891","filename":"file0"},{"photo_id":"1377046905","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046908":["hashtag1","hashtag2"]},{"1377046901":["hashtag1","hashtag2"]},{"1377046891":["hashtag1","hashtag2"]},{"1377046896":["hashtag1","hashtag2"]},{"1377046911":["hashtag1","hashtag2"]},{"1377046905":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046908, 1377046901, 1377046891, 1377046896, 1377046911, 1377046905)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.13657522201538 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:28:22.321491 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/11/image_14082025_08_11_48_9164.jpg', '/media/data/images/14082025/08/11/image_14082025_08_11_58_10342.jpg', '/media/data/images/14082025/08/12/image_14082025_08_12_08_10201.jpg', '/media/data/images/14082025/08/12/image_14082025_08_12_19_10310.jpg', '/media/data/images/14082025/08/12/image_14082025_08_12_28_9108.jpg', '/media/data/images/14082025/08/12/image_14082025_08_12_38_10486.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/11/image_14082025_08_11_48_9164.jpg /media/data/images/14082025/08/11/image_14082025_08_11_58_10342.jpg /media/data/images/14082025/08/12/image_14082025_08_12_08_10201.jpg /media/data/images/14082025/08/12/image_14082025_08_12_19_10310.jpg /media/data/images/14082025/08/12/image_14082025_08_12_28_9108.jpg /media/data/images/14082025/08/12/image_14082025_08_12_38_10486.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046958","1377046931","1377046960","1377046972","1377046927","1377046965"],"photo_ids_order":["1377046927","1377046931","1377046958","1377046960","1377046965","1377046972"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abd456fa4e2fb14ff136555057a1462e.jpg","text":"TemporaryFile(/tmp/multipartBody8735290821533468758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185363405,"filename":"image_14082025_08_12_08_10201.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b774e583b2703c096225d0dc2c8d98f.jpg","text":"TemporaryFile(/tmp/multipartBody5123583078906889519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185363405,"filename":"image_14082025_08_11_58_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8fa77863e810b0bc6de65599ddcc04b4.jpg","text":"TemporaryFile(/tmp/multipartBody5333568689742897942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185363405,"filename":"image_14082025_08_12_19_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/928e15acb8fc46647cc34db0440514af.jpg","text":"TemporaryFile(/tmp/multipartBody5151342047323947880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185363405,"filename":"image_14082025_08_12_38_10486.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e81ec1977bf9acb72d5a68d0715d35fb.jpg","text":"TemporaryFile(/tmp/multipartBody2610324958124495083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185363405,"filename":"image_14082025_08_11_48_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd43600e7d026277717357f1a0f2c685.jpg","text":"TemporaryFile(/tmp/multipartBody6518349239027774655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185363405,"filename":"image_14082025_08_12_28_9108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377046958","file1":"1377046931","file0":"1377046927","file4":"1377046965","file5":"1377046972","file3":"1377046960"},"map_files_photo_id_array":[{"photo_id":"1377046972","filename":"file5"},{"photo_id":"1377046958","filename":"file2"},{"photo_id":"1377046965","filename":"file4"},{"photo_id":"1377046931","filename":"file1"},{"photo_id":"1377046927","filename":"file0"},{"photo_id":"1377046960","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046958":["hashtag1","hashtag2"]},{"1377046931":["hashtag1","hashtag2"]},{"1377046960":["hashtag1","hashtag2"]},{"1377046972":["hashtag1","hashtag2"]},{"1377046927":["hashtag1","hashtag2"]},{"1377046965":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046958, 1377046931, 1377046960, 1377046972, 1377046927, 1377046965)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 46.74699020385742 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:29:22.506581 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/12/image_14082025_08_12_49_10459.jpg', '/media/data/images/14082025/08/12/image_14082025_08_12_58_9091.jpg', '/media/data/images/14082025/08/12/image_14082025_08_13_08_10395.jpg', '/media/data/images/14082025/08/13/image_14082025_08_13_19_10272.jpg', '/media/data/images/14082025/08/13/image_14082025_08_13_29_10298.jpg', '/media/data/images/14082025/08/13/image_14082025_08_13_38_9039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/12/image_14082025_08_12_49_10459.jpg /media/data/images/14082025/08/12/image_14082025_08_12_58_9091.jpg /media/data/images/14082025/08/12/image_14082025_08_13_08_10395.jpg /media/data/images/14082025/08/13/image_14082025_08_13_19_10272.jpg /media/data/images/14082025/08/13/image_14082025_08_13_29_10298.jpg /media/data/images/14082025/08/13/image_14082025_08_13_38_9039.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377046997","1377046991","1377047003","1377047026","1377047010","1377047007"],"photo_ids_order":["1377046991","1377046997","1377047003","1377047007","1377047010","1377047026"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dae4bf5fe4034b729ea252510b7272d.jpg","text":"TemporaryFile(/tmp/multipartBody6309781871658387552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185423756,"filename":"image_14082025_08_12_58_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90f13657195ba555b9e806b564f3dc30.jpg","text":"TemporaryFile(/tmp/multipartBody2306426787236972664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185423756,"filename":"image_14082025_08_12_49_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6edf203085ed4d0d9d767dda2d6ed8db.jpg","text":"TemporaryFile(/tmp/multipartBody7731808431392725491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185423756,"filename":"image_14082025_08_13_08_10395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a7df67c8348d68a3463a6a0fabeed62.jpg","text":"TemporaryFile(/tmp/multipartBody2477791434001158508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185423756,"filename":"image_14082025_08_13_38_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bde6af9df4cdab93b717d4b8dbb10e54.jpg","text":"TemporaryFile(/tmp/multipartBody4632003528183103666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185423756,"filename":"image_14082025_08_13_29_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ece27b59a117985cdd82011bff7c0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5847865375701098763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185423756,"filename":"image_14082025_08_13_19_10272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047003","file1":"1377046997","file0":"1377046991","file4":"1377047010","file5":"1377047026","file3":"1377047007"},"map_files_photo_id_array":[{"photo_id":"1377047026","filename":"file5"},{"photo_id":"1377047003","filename":"file2"},{"photo_id":"1377047010","filename":"file4"},{"photo_id":"1377046997","filename":"file1"},{"photo_id":"1377046991","filename":"file0"},{"photo_id":"1377047007","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377046997":["hashtag1","hashtag2"]},{"1377046991":["hashtag1","hashtag2"]},{"1377047003":["hashtag1","hashtag2"]},{"1377047026":["hashtag1","hashtag2"]},{"1377047010":["hashtag1","hashtag2"]},{"1377047007":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377046997, 1377046991, 1377047003, 1377047026, 1377047010, 1377047007)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.978684186935425 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:30:22.620563 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/13/image_14082025_08_13_48_10270.jpg', '/media/data/images/14082025/08/13/image_14082025_08_13_58_10268.jpg', '/media/data/images/14082025/08/14/image_14082025_08_14_09_10357.jpg', '/media/data/images/14082025/08/14/image_14082025_08_14_18_9052.jpg', '/media/data/images/14082025/08/14/image_14082025_08_14_58_9057.jpg', '/media/data/images/14082025/08/14/image_14082025_08_15_09_10701.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/13/image_14082025_08_13_48_10270.jpg /media/data/images/14082025/08/13/image_14082025_08_13_58_10268.jpg /media/data/images/14082025/08/14/image_14082025_08_14_09_10357.jpg /media/data/images/14082025/08/14/image_14082025_08_14_18_9052.jpg /media/data/images/14082025/08/14/image_14082025_08_14_58_9057.jpg /media/data/images/14082025/08/14/image_14082025_08_15_09_10701.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047165","1377047168","1377047181","1377047178","1377047136","1377047174"],"photo_ids_order":["1377047136","1377047165","1377047168","1377047174","1377047178","1377047181"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c366cd0cd476f0e92d585b5b7a417a75.jpg","text":"TemporaryFile(/tmp/multipartBody5470558599527452472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185483656,"filename":"image_14082025_08_13_58_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0161f20dca71e9ecb1571c873523410e.jpg","text":"TemporaryFile(/tmp/multipartBody9162388143159795397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185483656,"filename":"image_14082025_08_14_09_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfb2cad6ad9bbe126c764197fd234e41.jpg","text":"TemporaryFile(/tmp/multipartBody8020339334134421711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185483656,"filename":"image_14082025_08_15_09_10701.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/173eb3fedcb6a714c83f6ac61a6d00e6.jpg","text":"TemporaryFile(/tmp/multipartBody657574776567860592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185483656,"filename":"image_14082025_08_14_58_9057.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5b7aa7710e969200ac44faf893da5f1.jpg","text":"TemporaryFile(/tmp/multipartBody458399927950885299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185483656,"filename":"image_14082025_08_13_48_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/acf466d00ddafb092ad1cda6e058dbd1.jpg","text":"TemporaryFile(/tmp/multipartBody9181980687410749581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185483656,"filename":"image_14082025_08_14_18_9052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047168","file1":"1377047165","file0":"1377047136","file4":"1377047178","file5":"1377047181","file3":"1377047174"},"map_files_photo_id_array":[{"photo_id":"1377047181","filename":"file5"},{"photo_id":"1377047168","filename":"file2"},{"photo_id":"1377047178","filename":"file4"},{"photo_id":"1377047165","filename":"file1"},{"photo_id":"1377047136","filename":"file0"},{"photo_id":"1377047174","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047165":["hashtag1","hashtag2"]},{"1377047168":["hashtag1","hashtag2"]},{"1377047181":["hashtag1","hashtag2"]},{"1377047178":["hashtag1","hashtag2"]},{"1377047136":["hashtag1","hashtag2"]},{"1377047174":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047165, 1377047168, 1377047181, 1377047178, 1377047136, 1377047174)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.156349897384644 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:31:22.731794 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/15/image_14082025_08_15_19_10357.jpg', '/media/data/images/14082025/08/15/image_14082025_08_15_28_9225.jpg', '/media/data/images/14082025/08/15/image_14082025_08_15_39_10444.jpg', '/media/data/images/14082025/08/15/image_14082025_08_15_49_10359.jpg', '/media/data/images/14082025/08/15/image_14082025_08_15_58_9116.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_09_10550.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/15/image_14082025_08_15_19_10357.jpg /media/data/images/14082025/08/15/image_14082025_08_15_28_9225.jpg /media/data/images/14082025/08/15/image_14082025_08_15_39_10444.jpg /media/data/images/14082025/08/15/image_14082025_08_15_49_10359.jpg /media/data/images/14082025/08/15/image_14082025_08_15_58_9116.jpg /media/data/images/14082025/08/16/image_14082025_08_16_09_10550.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047210","1377047207","1377047197","1377047203","1377047199","1377047193"],"photo_ids_order":["1377047193","1377047197","1377047199","1377047203","1377047207","1377047210"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4326bc6808be02dafc0b23c6db07645e.jpg","text":"TemporaryFile(/tmp/multipartBody5462861188964012406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185543724,"filename":"image_14082025_08_16_09_10550.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a64223659da7550307191317e7b671b7.jpg","text":"TemporaryFile(/tmp/multipartBody8891403048546377388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185543724,"filename":"image_14082025_08_15_58_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2b0b5e40ad6c3aa0dda6551dbdf716e.jpg","text":"TemporaryFile(/tmp/multipartBody1678932611532346217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185543724,"filename":"image_14082025_08_15_28_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9d00b9d5922b2958b1e4fd7df63631e.jpg","text":"TemporaryFile(/tmp/multipartBody5947846595509158870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185543724,"filename":"image_14082025_08_15_49_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1207d3acbe7e4fe54212db45cc2e887d.jpg","text":"TemporaryFile(/tmp/multipartBody7208800759966378205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185543724,"filename":"image_14082025_08_15_39_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e4c0609effca933ea7e1977b6f55d07.jpg","text":"TemporaryFile(/tmp/multipartBody3737038153285743855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185543724,"filename":"image_14082025_08_15_19_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047199","file1":"1377047197","file0":"1377047193","file4":"1377047207","file5":"1377047210","file3":"1377047203"},"map_files_photo_id_array":[{"photo_id":"1377047210","filename":"file5"},{"photo_id":"1377047199","filename":"file2"},{"photo_id":"1377047207","filename":"file4"},{"photo_id":"1377047197","filename":"file1"},{"photo_id":"1377047193","filename":"file0"},{"photo_id":"1377047203","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047210":["hashtag1","hashtag2"]},{"1377047207":["hashtag1","hashtag2"]},{"1377047197":["hashtag1","hashtag2"]},{"1377047203":["hashtag1","hashtag2"]},{"1377047199":["hashtag1","hashtag2"]},{"1377047193":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047210, 1377047207, 1377047197, 1377047203, 1377047199, 1377047193)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.69430756568909 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:32:21.837410 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/16/image_14082025_08_16_19_10371.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_28_9114.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_38_10358.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_49_10354.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_58_9225.jpg', '/media/data/images/14082025/08/17/image_14082025_08_17_09_10550.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/16/image_14082025_08_16_19_10371.jpg /media/data/images/14082025/08/16/image_14082025_08_16_28_9114.jpg /media/data/images/14082025/08/16/image_14082025_08_16_38_10358.jpg /media/data/images/14082025/08/16/image_14082025_08_16_49_10354.jpg /media/data/images/14082025/08/16/image_14082025_08_16_58_9225.jpg /media/data/images/14082025/08/17/image_14082025_08_17_09_10550.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5381684303283691 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:32:41.814104 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/16/image_14082025_08_16_19_10371.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_28_9114.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_38_10358.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_49_10354.jpg', '/media/data/images/14082025/08/16/image_14082025_08_16_58_9225.jpg', '/media/data/images/14082025/08/17/image_14082025_08_17_09_10550.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/16/image_14082025_08_16_19_10371.jpg /media/data/images/14082025/08/16/image_14082025_08_16_28_9114.jpg /media/data/images/14082025/08/16/image_14082025_08_16_38_10358.jpg /media/data/images/14082025/08/16/image_14082025_08_16_49_10354.jpg /media/data/images/14082025/08/16/image_14082025_08_16_58_9225.jpg /media/data/images/14082025/08/17/image_14082025_08_17_09_10550.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047252","1377047249","1377047234","1377047248","1377047244","1377047238"],"photo_ids_order":["1377047234","1377047238","1377047244","1377047248","1377047249","1377047252"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75067df5cea5de21dc9c06010e4d79b5.jpg","text":"TemporaryFile(/tmp/multipartBody4520889405459222873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185622688,"filename":"image_14082025_08_17_09_10550.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/863844a74ba19b3188bb5d2fc6ff273d.jpg","text":"TemporaryFile(/tmp/multipartBody172132321573414541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185622688,"filename":"image_14082025_08_16_58_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c68fa1c7291d20b56368575674ec0a87.jpg","text":"TemporaryFile(/tmp/multipartBody887678156337650788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185622688,"filename":"image_14082025_08_16_19_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95a7e279570ef3a24e12d6a6847b5027.jpg","text":"TemporaryFile(/tmp/multipartBody4033304154608695616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185622688,"filename":"image_14082025_08_16_49_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31134b3ea63125905e917108d0b1f548.jpg","text":"TemporaryFile(/tmp/multipartBody5803416089184478944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185622688,"filename":"image_14082025_08_16_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cac5680430ac50c94bb9f691fbf5b273.jpg","text":"TemporaryFile(/tmp/multipartBody4342898659879927712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185622688,"filename":"image_14082025_08_16_28_9114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047244","file1":"1377047238","file0":"1377047234","file4":"1377047249","file5":"1377047252","file3":"1377047248"},"map_files_photo_id_array":[{"photo_id":"1377047252","filename":"file5"},{"photo_id":"1377047244","filename":"file2"},{"photo_id":"1377047249","filename":"file4"},{"photo_id":"1377047238","filename":"file1"},{"photo_id":"1377047234","filename":"file0"},{"photo_id":"1377047248","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047252":["hashtag1","hashtag2"]},{"1377047249":["hashtag1","hashtag2"]},{"1377047234":["hashtag1","hashtag2"]},{"1377047248":["hashtag1","hashtag2"]},{"1377047244":["hashtag1","hashtag2"]},{"1377047238":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047252, 1377047249, 1377047234, 1377047248, 1377047244, 1377047238)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.213785886764526 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:33:41.984873 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/17/image_14082025_08_17_19_10389.jpg', '/media/data/images/14082025/08/17/image_14082025_08_17_28_9165.jpg', '/media/data/images/14082025/08/17/image_14082025_08_17_39_10368.jpg', '/media/data/images/14082025/08/17/image_14082025_08_17_49_10365.jpg', '/media/data/images/14082025/08/17/image_14082025_08_17_58_9292.jpg', '/media/data/images/14082025/08/18/image_14082025_08_18_09_10411.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/17/image_14082025_08_17_19_10389.jpg /media/data/images/14082025/08/17/image_14082025_08_17_28_9165.jpg /media/data/images/14082025/08/17/image_14082025_08_17_39_10368.jpg /media/data/images/14082025/08/17/image_14082025_08_17_49_10365.jpg /media/data/images/14082025/08/17/image_14082025_08_17_58_9292.jpg /media/data/images/14082025/08/18/image_14082025_08_18_09_10411.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047264","1377047267","1377047266","1377047271","1377047268","1377047261"],"photo_ids_order":["1377047261","1377047264","1377047266","1377047267","1377047268","1377047271"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c26e1deb57df94709aad5501fbddefc.jpg","text":"TemporaryFile(/tmp/multipartBody4816088993055480215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185682977,"filename":"image_14082025_08_17_28_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/85a0d556f72735f198167fc6f9bb7dcb.jpg","text":"TemporaryFile(/tmp/multipartBody338013974961575436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185682977,"filename":"image_14082025_08_17_49_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8375e083d46fc805ff7f0f0a21ec118e.jpg","text":"TemporaryFile(/tmp/multipartBody3893720952810220024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185682977,"filename":"image_14082025_08_17_39_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b3a39b83b8f9667eeb01b33fc6cb2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4773507403410131092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185682977,"filename":"image_14082025_08_18_09_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7245e2df30f2f88511db79f20e25e38c.jpg","text":"TemporaryFile(/tmp/multipartBody2679227970836842079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185682977,"filename":"image_14082025_08_17_58_9292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4890bb10711be83ec82df0e50c0b1180.jpg","text":"TemporaryFile(/tmp/multipartBody2202545623025341870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185682977,"filename":"image_14082025_08_17_19_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047266","file1":"1377047264","file0":"1377047261","file4":"1377047268","file5":"1377047271","file3":"1377047267"},"map_files_photo_id_array":[{"photo_id":"1377047271","filename":"file5"},{"photo_id":"1377047266","filename":"file2"},{"photo_id":"1377047268","filename":"file4"},{"photo_id":"1377047264","filename":"file1"},{"photo_id":"1377047261","filename":"file0"},{"photo_id":"1377047267","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047264":["hashtag1","hashtag2"]},{"1377047267":["hashtag1","hashtag2"]},{"1377047266":["hashtag1","hashtag2"]},{"1377047271":["hashtag1","hashtag2"]},{"1377047268":["hashtag1","hashtag2"]},{"1377047261":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047264, 1377047267, 1377047266, 1377047271, 1377047268, 1377047261)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.508594274520874 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:34:42.324233 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/18/image_14082025_08_18_19_10392.jpg', '/media/data/images/14082025/08/18/image_14082025_08_18_28_9253.jpg', '/media/data/images/14082025/08/18/image_14082025_08_18_39_10353.jpg', '/media/data/images/14082025/08/18/image_14082025_08_18_49_10403.jpg', '/media/data/images/14082025/08/18/image_14082025_08_18_58_9117.jpg', '/media/data/images/14082025/08/19/image_14082025_08_19_08_10297.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/18/image_14082025_08_18_19_10392.jpg /media/data/images/14082025/08/18/image_14082025_08_18_28_9253.jpg /media/data/images/14082025/08/18/image_14082025_08_18_39_10353.jpg /media/data/images/14082025/08/18/image_14082025_08_18_49_10403.jpg /media/data/images/14082025/08/18/image_14082025_08_18_58_9117.jpg /media/data/images/14082025/08/19/image_14082025_08_19_08_10297.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047285","1377047287","1377047289","1377047280","1377047283","1377047292"],"photo_ids_order":["1377047280","1377047283","1377047285","1377047287","1377047289","1377047292"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca91a4dd35d85e309b04d69ce9ee4db9.jpg","text":"TemporaryFile(/tmp/multipartBody8899516294845541191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185743341,"filename":"image_14082025_08_18_39_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61d27fabc43b603cc8356377afed90c2.jpg","text":"TemporaryFile(/tmp/multipartBody1417152421466178383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185743341,"filename":"image_14082025_08_18_49_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4039ab0eb47ce4d48ad08cecefa6b64.jpg","text":"TemporaryFile(/tmp/multipartBody2551533203024765773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185743341,"filename":"image_14082025_08_18_58_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60ff1abe7788ffb02bd49bc52ff41eb2.jpg","text":"TemporaryFile(/tmp/multipartBody7256622705233616764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185743341,"filename":"image_14082025_08_18_19_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/282190b76086755223737ac4dea919b3.jpg","text":"TemporaryFile(/tmp/multipartBody7393973563482676303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185743341,"filename":"image_14082025_08_18_28_9253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/949e16ffd037501fe57cbd1cfed81a43.jpg","text":"TemporaryFile(/tmp/multipartBody8995257238790466939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185743341,"filename":"image_14082025_08_19_08_10297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047285","file1":"1377047283","file0":"1377047280","file4":"1377047289","file5":"1377047292","file3":"1377047287"},"map_files_photo_id_array":[{"photo_id":"1377047292","filename":"file5"},{"photo_id":"1377047285","filename":"file2"},{"photo_id":"1377047289","filename":"file4"},{"photo_id":"1377047283","filename":"file1"},{"photo_id":"1377047280","filename":"file0"},{"photo_id":"1377047287","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047285":["hashtag1","hashtag2"]},{"1377047287":["hashtag1","hashtag2"]},{"1377047289":["hashtag1","hashtag2"]},{"1377047280":["hashtag1","hashtag2"]},{"1377047283":["hashtag1","hashtag2"]},{"1377047292":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047285, 1377047287, 1377047289, 1377047280, 1377047283, 1377047292)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.060643672943115 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:35:42.451736 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/19/image_14082025_08_19_19_10322.jpg', '/media/data/images/14082025/08/19/image_14082025_08_19_29_10274.jpg', '/media/data/images/14082025/08/19/image_14082025_08_19_38_9026.jpg', '/media/data/images/14082025/08/19/image_14082025_08_19_49_10485.jpg', '/media/data/images/14082025/08/19/image_14082025_08_19_59_10268.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_08_9242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/19/image_14082025_08_19_19_10322.jpg /media/data/images/14082025/08/19/image_14082025_08_19_29_10274.jpg /media/data/images/14082025/08/19/image_14082025_08_19_38_9026.jpg /media/data/images/14082025/08/19/image_14082025_08_19_49_10485.jpg /media/data/images/14082025/08/19/image_14082025_08_19_59_10268.jpg /media/data/images/14082025/08/20/image_14082025_08_20_08_9242.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047300","1377047303","1377047355","1377047328","1377047307","1377047319"],"photo_ids_order":["1377047300","1377047303","1377047307","1377047319","1377047328","1377047355"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac899df5a238c8900d690662d607e2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5042756302193096147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185803523,"filename":"image_14082025_08_19_19_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a1a6fbc525e733e4e427cc3851f47c3.jpg","text":"TemporaryFile(/tmp/multipartBody1401213064491700901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185803523,"filename":"image_14082025_08_19_29_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ccbb5fbea449bac31077424306636c07.jpg","text":"TemporaryFile(/tmp/multipartBody2506261344320996265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185803523,"filename":"image_14082025_08_20_08_9242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3cf68ebaf1b7cd9ab4283956400db5aa.jpg","text":"TemporaryFile(/tmp/multipartBody7444606671594347733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185803523,"filename":"image_14082025_08_19_59_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a841b8ef286edd226f34a9c77c675e7.jpg","text":"TemporaryFile(/tmp/multipartBody4018419313234552526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185803523,"filename":"image_14082025_08_19_38_9026.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc3b53b377d91706d96295066481813d.jpg","text":"TemporaryFile(/tmp/multipartBody1023223281988246158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185803523,"filename":"image_14082025_08_19_49_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047307","file1":"1377047303","file0":"1377047300","file4":"1377047328","file5":"1377047355","file3":"1377047319"},"map_files_photo_id_array":[{"photo_id":"1377047355","filename":"file5"},{"photo_id":"1377047307","filename":"file2"},{"photo_id":"1377047328","filename":"file4"},{"photo_id":"1377047303","filename":"file1"},{"photo_id":"1377047300","filename":"file0"},{"photo_id":"1377047319","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047300":["hashtag1","hashtag2"]},{"1377047303":["hashtag1","hashtag2"]},{"1377047355":["hashtag1","hashtag2"]},{"1377047328":["hashtag1","hashtag2"]},{"1377047307":["hashtag1","hashtag2"]},{"1377047319":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047300, 1377047303, 1377047355, 1377047328, 1377047307, 1377047319)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.662357330322266 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:36:42.377027 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/20/image_14082025_08_20_18_10302.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_29_10250.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_38_9354.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_48_10462.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_59_10252.jpg', '/media/data/images/14082025/08/21/image_14082025_08_21_08_9314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/20/image_14082025_08_20_18_10302.jpg /media/data/images/14082025/08/20/image_14082025_08_20_29_10250.jpg /media/data/images/14082025/08/20/image_14082025_08_20_38_9354.jpg /media/data/images/14082025/08/20/image_14082025_08_20_48_10462.jpg /media/data/images/14082025/08/20/image_14082025_08_20_59_10252.jpg /media/data/images/14082025/08/21/image_14082025_08_21_08_9314.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6001255512237549 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:37:03.203147 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/20/image_14082025_08_20_18_10302.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_29_10250.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_38_9354.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_48_10462.jpg', '/media/data/images/14082025/08/20/image_14082025_08_20_59_10252.jpg', '/media/data/images/14082025/08/21/image_14082025_08_21_08_9314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/20/image_14082025_08_20_18_10302.jpg /media/data/images/14082025/08/20/image_14082025_08_20_29_10250.jpg /media/data/images/14082025/08/20/image_14082025_08_20_38_9354.jpg /media/data/images/14082025/08/20/image_14082025_08_20_48_10462.jpg /media/data/images/14082025/08/20/image_14082025_08_20_59_10252.jpg /media/data/images/14082025/08/21/image_14082025_08_21_08_9314.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377047807","1377047729","1377047708","1377047767","1377047631","1377047610"],"photo_ids_order":["1377047610","1377047631","1377047708","1377047729","1377047767","1377047807"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e08030d4442db7f392d9146dd5ed70d.jpg","text":"TemporaryFile(/tmp/multipartBody7408774592574620462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185884164,"filename":"image_14082025_08_21_08_9314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6bd906c03ceac504204e3f861333a271.jpg","text":"TemporaryFile(/tmp/multipartBody3790650535929814740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185884164,"filename":"image_14082025_08_20_48_10462.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8aa092be64172b5c5363f5d7c95ea20d.jpg","text":"TemporaryFile(/tmp/multipartBody3249217486498161907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185884164,"filename":"image_14082025_08_20_38_9354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1153bad85c54a92ba6327c6ec4267dc3.jpg","text":"TemporaryFile(/tmp/multipartBody3041830751604092495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185884164,"filename":"image_14082025_08_20_59_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38907b68b6f4c41391e6ae0fec17127f.jpg","text":"TemporaryFile(/tmp/multipartBody1118592103347523082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185884164,"filename":"image_14082025_08_20_29_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca0747effbcb1ef717f0bd43e618fc6d.jpg","text":"TemporaryFile(/tmp/multipartBody6284534371881934191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185884164,"filename":"image_14082025_08_20_18_10302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377047708","file1":"1377047631","file0":"1377047610","file4":"1377047767","file5":"1377047807","file3":"1377047729"},"map_files_photo_id_array":[{"photo_id":"1377047807","filename":"file5"},{"photo_id":"1377047708","filename":"file2"},{"photo_id":"1377047767","filename":"file4"},{"photo_id":"1377047631","filename":"file1"},{"photo_id":"1377047610","filename":"file0"},{"photo_id":"1377047729","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377047807":["hashtag1","hashtag2"]},{"1377047729":["hashtag1","hashtag2"]},{"1377047708":["hashtag1","hashtag2"]},{"1377047767":["hashtag1","hashtag2"]},{"1377047631":["hashtag1","hashtag2"]},{"1377047610":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377047807, 1377047729, 1377047708, 1377047767, 1377047631, 1377047610)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.78001952171326 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:38:03.282900 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/21/image_14082025_08_21_18_10269.jpg', '/media/data/images/14082025/08/21/image_14082025_08_21_29_10267.jpg', '/media/data/images/14082025/08/21/image_14082025_08_21_39_10299.jpg', '/media/data/images/14082025/08/21/image_14082025_08_21_48_9166.jpg', '/media/data/images/14082025/08/21/image_14082025_08_21_58_10267.jpg', '/media/data/images/14082025/08/22/image_14082025_08_22_28_9035.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/21/image_14082025_08_21_18_10269.jpg /media/data/images/14082025/08/21/image_14082025_08_21_29_10267.jpg /media/data/images/14082025/08/21/image_14082025_08_21_39_10299.jpg /media/data/images/14082025/08/21/image_14082025_08_21_48_9166.jpg /media/data/images/14082025/08/21/image_14082025_08_21_58_10267.jpg /media/data/images/14082025/08/22/image_14082025_08_22_28_9035.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048034","1377048037","1377048031","1377048009","1377048041","1377048032"],"photo_ids_order":["1377048009","1377048031","1377048032","1377048034","1377048037","1377048041"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd50cabc0853d215900d8ccf56747809.jpg","text":"TemporaryFile(/tmp/multipartBody8608631319027561876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185944300,"filename":"image_14082025_08_21_48_9166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bebf9e9db1382709c1448d819c54e53.jpg","text":"TemporaryFile(/tmp/multipartBody7717760714177967872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185944300,"filename":"image_14082025_08_21_58_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1faf846be5c5e6c943e794a9e813765c.jpg","text":"TemporaryFile(/tmp/multipartBody5150297771695675868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185944300,"filename":"image_14082025_08_21_29_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59cb652369b543e72a209fca69cf9c21.jpg","text":"TemporaryFile(/tmp/multipartBody7347607154976636154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185944300,"filename":"image_14082025_08_21_18_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea6aef11aa6405f9668066eb2b0cffc4.jpg","text":"TemporaryFile(/tmp/multipartBody1231615078305078825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185944300,"filename":"image_14082025_08_22_28_9035.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18896a05e98ee7bea907638d8cb7ec39.jpg","text":"TemporaryFile(/tmp/multipartBody7213967024827336901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755185944300,"filename":"image_14082025_08_21_39_10299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048032","file1":"1377048031","file0":"1377048009","file4":"1377048037","file5":"1377048041","file3":"1377048034"},"map_files_photo_id_array":[{"photo_id":"1377048041","filename":"file5"},{"photo_id":"1377048032","filename":"file2"},{"photo_id":"1377048037","filename":"file4"},{"photo_id":"1377048031","filename":"file1"},{"photo_id":"1377048009","filename":"file0"},{"photo_id":"1377048034","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048034":["hashtag1","hashtag2"]},{"1377048037":["hashtag1","hashtag2"]},{"1377048031":["hashtag1","hashtag2"]},{"1377048009":["hashtag1","hashtag2"]},{"1377048041":["hashtag1","hashtag2"]},{"1377048032":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048034, 1377048037, 1377048031, 1377048009, 1377048041, 1377048032)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.52664303779602 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:39:03.252982 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/22/image_14082025_08_22_38_10377.jpg', '/media/data/images/14082025/08/22/image_14082025_08_22_49_10379.jpg', '/media/data/images/14082025/08/22/image_14082025_08_22_59_10269.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_08_9156.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_18_10371.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_29_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/22/image_14082025_08_22_38_10377.jpg /media/data/images/14082025/08/22/image_14082025_08_22_49_10379.jpg /media/data/images/14082025/08/22/image_14082025_08_22_59_10269.jpg /media/data/images/14082025/08/23/image_14082025_08_23_08_9156.jpg /media/data/images/14082025/08/23/image_14082025_08_23_18_10371.jpg /media/data/images/14082025/08/23/image_14082025_08_23_29_10393.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048073","1377048076","1377048058","1377048078","1377048069","1377048080"],"photo_ids_order":["1377048058","1377048069","1377048073","1377048076","1377048078","1377048080"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17c446fb446fc4bcedeae48d850fa819.jpg","text":"TemporaryFile(/tmp/multipartBody5320128335043433356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186004332,"filename":"image_14082025_08_22_59_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73ec489042811857fd2773b70153aee0.jpg","text":"TemporaryFile(/tmp/multipartBody6010118891798125434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186004332,"filename":"image_14082025_08_23_08_9156.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/40ea0240d53d3f64c65df69ae479c2da.jpg","text":"TemporaryFile(/tmp/multipartBody1220998079360801975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186004332,"filename":"image_14082025_08_22_38_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23697493a80c2eb6b65d7d12ad85f2b0.jpg","text":"TemporaryFile(/tmp/multipartBody2921005156896817120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186004332,"filename":"image_14082025_08_23_18_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a45c4b9d3ba52ed037448a49985e648.jpg","text":"TemporaryFile(/tmp/multipartBody3204553038145207582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186004332,"filename":"image_14082025_08_22_49_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b920fc3435a41f27a76b40c6c1eba619.jpg","text":"TemporaryFile(/tmp/multipartBody5072947458428335526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186004332,"filename":"image_14082025_08_23_29_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048073","file1":"1377048069","file0":"1377048058","file4":"1377048078","file5":"1377048080","file3":"1377048076"},"map_files_photo_id_array":[{"photo_id":"1377048080","filename":"file5"},{"photo_id":"1377048073","filename":"file2"},{"photo_id":"1377048078","filename":"file4"},{"photo_id":"1377048069","filename":"file1"},{"photo_id":"1377048058","filename":"file0"},{"photo_id":"1377048076","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048073":["hashtag1","hashtag2"]},{"1377048076":["hashtag1","hashtag2"]},{"1377048058":["hashtag1","hashtag2"]},{"1377048078":["hashtag1","hashtag2"]},{"1377048069":["hashtag1","hashtag2"]},{"1377048080":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048073, 1377048076, 1377048058, 1377048078, 1377048069, 1377048080)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.086849212646484 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:40:02.516116 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/23/image_14082025_08_23_38_9162.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_48_10362.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_59_10357.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_08_9231.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_18_10414.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_29_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/23/image_14082025_08_23_38_9162.jpg /media/data/images/14082025/08/23/image_14082025_08_23_48_10362.jpg /media/data/images/14082025/08/23/image_14082025_08_23_59_10357.jpg /media/data/images/14082025/08/24/image_14082025_08_24_08_9231.jpg /media/data/images/14082025/08/24/image_14082025_08_24_18_10414.jpg /media/data/images/14082025/08/24/image_14082025_08_24_29_10345.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5610244274139404 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:40:21.757106 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/23/image_14082025_08_23_38_9162.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_48_10362.jpg', '/media/data/images/14082025/08/23/image_14082025_08_23_59_10357.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_08_9231.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_18_10414.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_29_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/23/image_14082025_08_23_38_9162.jpg /media/data/images/14082025/08/23/image_14082025_08_23_48_10362.jpg /media/data/images/14082025/08/23/image_14082025_08_23_59_10357.jpg /media/data/images/14082025/08/24/image_14082025_08_24_08_9231.jpg /media/data/images/14082025/08/24/image_14082025_08_24_18_10414.jpg /media/data/images/14082025/08/24/image_14082025_08_24_29_10345.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048285","1377048393","1377048276","1377048342","1377048240","1377048281"],"photo_ids_order":["1377048240","1377048276","1377048281","1377048285","1377048342","1377048393"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6904fc087a4727f235929f679f26f35.jpg","text":"TemporaryFile(/tmp/multipartBody2745862016812088653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186082644,"filename":"image_14082025_08_24_08_9231.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5733ee2a876f866273f7361efd726511.jpg","text":"TemporaryFile(/tmp/multipartBody2520770247408148630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186082644,"filename":"image_14082025_08_24_29_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/954a5f320bb7305ee51055d806a2fb39.jpg","text":"TemporaryFile(/tmp/multipartBody1233732485212928354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186082644,"filename":"image_14082025_08_23_48_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f5dad91653aa3ef9af0b07a60b0f2f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3652199406529820352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186082644,"filename":"image_14082025_08_24_18_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d08a2fbf6e5b6b7a1d9f8209c294431b.jpg","text":"TemporaryFile(/tmp/multipartBody5819601810254991542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186082644,"filename":"image_14082025_08_23_38_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a39f43069e7a5fa0e1aa388aa682c70.jpg","text":"TemporaryFile(/tmp/multipartBody2508047147431866606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186082644,"filename":"image_14082025_08_23_59_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048281","file1":"1377048276","file0":"1377048240","file4":"1377048342","file5":"1377048393","file3":"1377048285"},"map_files_photo_id_array":[{"photo_id":"1377048393","filename":"file5"},{"photo_id":"1377048281","filename":"file2"},{"photo_id":"1377048342","filename":"file4"},{"photo_id":"1377048276","filename":"file1"},{"photo_id":"1377048240","filename":"file0"},{"photo_id":"1377048285","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048285":["hashtag1","hashtag2"]},{"1377048393":["hashtag1","hashtag2"]},{"1377048276":["hashtag1","hashtag2"]},{"1377048342":["hashtag1","hashtag2"]},{"1377048240":["hashtag1","hashtag2"]},{"1377048281":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048285, 1377048393, 1377048276, 1377048342, 1377048240, 1377048281)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.95555281639099 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:41:21.897585 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/24/image_14082025_08_24_38_9119.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_48_10353.jpg', '/media/data/images/14082025/08/24/image_14082025_08_24_59_10357.jpg', '/media/data/images/14082025/08/25/image_14082025_08_25_09_10314.jpg', '/media/data/images/14082025/08/25/image_14082025_08_25_18_9127.jpg', '/media/data/images/14082025/08/25/image_14082025_08_25_28_10354.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/24/image_14082025_08_24_38_9119.jpg /media/data/images/14082025/08/24/image_14082025_08_24_48_10353.jpg /media/data/images/14082025/08/24/image_14082025_08_24_59_10357.jpg /media/data/images/14082025/08/25/image_14082025_08_25_09_10314.jpg /media/data/images/14082025/08/25/image_14082025_08_25_18_9127.jpg /media/data/images/14082025/08/25/image_14082025_08_25_28_10354.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048524","1377048550","1377048508","1377048543","1377048510","1377048554"],"photo_ids_order":["1377048508","1377048510","1377048524","1377048543","1377048550","1377048554"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff1bcd62bc999a62bffc8d6c0bfc8697.jpg","text":"TemporaryFile(/tmp/multipartBody484602533443041532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186142874,"filename":"image_14082025_08_24_59_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13db1a5fb3f446cb9082d3bbf09eb96c.jpg","text":"TemporaryFile(/tmp/multipartBody7609581583040265021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186142874,"filename":"image_14082025_08_25_18_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ed06e2a16a364fef769316056a55495.jpg","text":"TemporaryFile(/tmp/multipartBody5052386955990862167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186142874,"filename":"image_14082025_08_24_38_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/edd27aa2ee63dcdd6b3098c83b659b67.jpg","text":"TemporaryFile(/tmp/multipartBody2160127644808330119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186142874,"filename":"image_14082025_08_25_09_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70c843f5642833f3a666b566f29b52c5.jpg","text":"TemporaryFile(/tmp/multipartBody2644307168924879594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186142874,"filename":"image_14082025_08_24_48_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13f9729b614b56fb0f5cd52d02802214.jpg","text":"TemporaryFile(/tmp/multipartBody4197467823956058185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186142874,"filename":"image_14082025_08_25_28_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048524","file1":"1377048510","file0":"1377048508","file4":"1377048550","file5":"1377048554","file3":"1377048543"},"map_files_photo_id_array":[{"photo_id":"1377048554","filename":"file5"},{"photo_id":"1377048524","filename":"file2"},{"photo_id":"1377048550","filename":"file4"},{"photo_id":"1377048510","filename":"file1"},{"photo_id":"1377048508","filename":"file0"},{"photo_id":"1377048543","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048524":["hashtag1","hashtag2"]},{"1377048550":["hashtag1","hashtag2"]},{"1377048508":["hashtag1","hashtag2"]},{"1377048543":["hashtag1","hashtag2"]},{"1377048510":["hashtag1","hashtag2"]},{"1377048554":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048524, 1377048550, 1377048508, 1377048543, 1377048510, 1377048554)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.228618144989014 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:42:21.994216 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/25/image_14082025_08_25_39_10365.jpg', '/media/data/images/14082025/08/25/image_14082025_08_25_48_9127.jpg', '/media/data/images/14082025/08/25/image_14082025_08_25_58_10415.jpg', '/media/data/images/14082025/08/26/image_14082025_08_26_09_10559.jpg', '/media/data/images/14082025/08/26/image_14082025_08_26_18_9152.jpg', '/media/data/images/14082025/08/26/image_14082025_08_26_28_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/25/image_14082025_08_25_39_10365.jpg /media/data/images/14082025/08/25/image_14082025_08_25_48_9127.jpg /media/data/images/14082025/08/25/image_14082025_08_25_58_10415.jpg /media/data/images/14082025/08/26/image_14082025_08_26_09_10559.jpg /media/data/images/14082025/08/26/image_14082025_08_26_18_9152.jpg /media/data/images/14082025/08/26/image_14082025_08_26_28_10357.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048658","1377048646","1377048654","1377048642","1377048650","1377048611"],"photo_ids_order":["1377048611","1377048642","1377048646","1377048650","1377048654","1377048658"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4088cc109c7da7b3fa74f3eb74269b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1903721613668153563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186203027,"filename":"image_14082025_08_26_28_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4d8c66ecfd97f27d5a37ac8568f3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody6564624798944329009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186203027,"filename":"image_14082025_08_25_58_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/892e43131412609236c40bf3d26e1008.jpg","text":"TemporaryFile(/tmp/multipartBody4363756450393970248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186203027,"filename":"image_14082025_08_26_18_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6cf1480ea28a4d42c75f4cb8e8cad335.jpg","text":"TemporaryFile(/tmp/multipartBody895460008688150710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186203027,"filename":"image_14082025_08_25_48_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a21a9ceb40dfc928b408d979147a8ed.jpg","text":"TemporaryFile(/tmp/multipartBody3353066644742447749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186203027,"filename":"image_14082025_08_26_09_10559.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/85693e8cf02491b8e066ab1198fa0356.jpg","text":"TemporaryFile(/tmp/multipartBody2013943530173628089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186203027,"filename":"image_14082025_08_25_39_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048646","file1":"1377048642","file0":"1377048611","file4":"1377048654","file5":"1377048658","file3":"1377048650"},"map_files_photo_id_array":[{"photo_id":"1377048658","filename":"file5"},{"photo_id":"1377048646","filename":"file2"},{"photo_id":"1377048654","filename":"file4"},{"photo_id":"1377048642","filename":"file1"},{"photo_id":"1377048611","filename":"file0"},{"photo_id":"1377048650","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048658":["hashtag1","hashtag2"]},{"1377048646":["hashtag1","hashtag2"]},{"1377048654":["hashtag1","hashtag2"]},{"1377048642":["hashtag1","hashtag2"]},{"1377048650":["hashtag1","hashtag2"]},{"1377048611":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048658, 1377048646, 1377048654, 1377048642, 1377048650, 1377048611)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.082119941711426 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:43:22.125914 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/26/image_14082025_08_26_39_10458.jpg', '/media/data/images/14082025/08/26/image_14082025_08_26_48_9121.jpg', '/media/data/images/14082025/08/26/image_14082025_08_26_58_10369.jpg', '/media/data/images/14082025/08/27/image_14082025_08_27_09_10483.jpg', '/media/data/images/14082025/08/27/image_14082025_08_27_18_9190.jpg', '/media/data/images/14082025/08/27/image_14082025_08_27_28_10370.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/26/image_14082025_08_26_39_10458.jpg /media/data/images/14082025/08/26/image_14082025_08_26_48_9121.jpg /media/data/images/14082025/08/26/image_14082025_08_26_58_10369.jpg /media/data/images/14082025/08/27/image_14082025_08_27_09_10483.jpg /media/data/images/14082025/08/27/image_14082025_08_27_18_9190.jpg /media/data/images/14082025/08/27/image_14082025_08_27_28_10370.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048778","1377048781","1377048794","1377048755","1377048839","1377048827"],"photo_ids_order":["1377048755","1377048778","1377048781","1377048794","1377048827","1377048839"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dded0cdd959267e49837bc964cec6414.jpg","text":"TemporaryFile(/tmp/multipartBody2562700808234158112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186263081,"filename":"image_14082025_08_26_48_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28a36d6f84efb7b78f749ebc7884e2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8884122309789798388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186263081,"filename":"image_14082025_08_26_58_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/300d1996031e412917ebc818187a5c48.jpg","text":"TemporaryFile(/tmp/multipartBody7667451800446067418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186263081,"filename":"image_14082025_08_27_09_10483.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ee9220ae0bcda018587a8db836d8b7e.jpg","text":"TemporaryFile(/tmp/multipartBody4578466743013842616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186263081,"filename":"image_14082025_08_26_39_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b5cfbc80f1f3ca921ee608efda7443c.jpg","text":"TemporaryFile(/tmp/multipartBody6411323399673215719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186263081,"filename":"image_14082025_08_27_28_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d80ecbfe2bf290e399d13f24f29b91c8.jpg","text":"TemporaryFile(/tmp/multipartBody1929737685953736404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186263081,"filename":"image_14082025_08_27_18_9190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048781","file1":"1377048778","file0":"1377048755","file4":"1377048827","file5":"1377048839","file3":"1377048794"},"map_files_photo_id_array":[{"photo_id":"1377048839","filename":"file5"},{"photo_id":"1377048781","filename":"file2"},{"photo_id":"1377048827","filename":"file4"},{"photo_id":"1377048778","filename":"file1"},{"photo_id":"1377048755","filename":"file0"},{"photo_id":"1377048794","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048778":["hashtag1","hashtag2"]},{"1377048781":["hashtag1","hashtag2"]},{"1377048794":["hashtag1","hashtag2"]},{"1377048755":["hashtag1","hashtag2"]},{"1377048839":["hashtag1","hashtag2"]},{"1377048827":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048778, 1377048781, 1377048794, 1377048755, 1377048839, 1377048827)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.07410955429077 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:44:22.228505 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/27/image_14082025_08_27_39_10436.jpg', '/media/data/images/14082025/08/27/image_14082025_08_27_48_9165.jpg', '/media/data/images/14082025/08/27/image_14082025_08_27_58_10364.jpg', '/media/data/images/14082025/08/28/image_14082025_08_28_09_10606.jpg', '/media/data/images/14082025/08/28/image_14082025_08_28_18_9152.jpg', '/media/data/images/14082025/08/28/image_14082025_08_28_39_10438.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/27/image_14082025_08_27_39_10436.jpg /media/data/images/14082025/08/27/image_14082025_08_27_48_9165.jpg /media/data/images/14082025/08/27/image_14082025_08_27_58_10364.jpg /media/data/images/14082025/08/28/image_14082025_08_28_09_10606.jpg /media/data/images/14082025/08/28/image_14082025_08_28_18_9152.jpg /media/data/images/14082025/08/28/image_14082025_08_28_39_10438.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048908","1377048919","1377048924","1377048915","1377048929","1377048911"],"photo_ids_order":["1377048908","1377048911","1377048915","1377048919","1377048924","1377048929"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b9f7af29e38e9acaf5a9159b0598f4ef.jpg","text":"TemporaryFile(/tmp/multipartBody8994579423177956008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186323204,"filename":"image_14082025_08_27_39_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/106b64927fcc04e59da67709804792a8.jpg","text":"TemporaryFile(/tmp/multipartBody7848940412148417539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186323204,"filename":"image_14082025_08_28_09_10606.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77f2f55470a60c4cd94ec0f97b342a86.jpg","text":"TemporaryFile(/tmp/multipartBody5907284003097770566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186323204,"filename":"image_14082025_08_28_18_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66603babff5427d5f047c2d8b90c08c3.jpg","text":"TemporaryFile(/tmp/multipartBody4254317862095836382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186323204,"filename":"image_14082025_08_27_58_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/185ddc7722c3042acd8363ee38a4fd5a.jpg","text":"TemporaryFile(/tmp/multipartBody3063332017407359235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186323204,"filename":"image_14082025_08_28_39_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6f79717a8a8b11494f3b558b13fb358.jpg","text":"TemporaryFile(/tmp/multipartBody9032834339355455966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186323204,"filename":"image_14082025_08_27_48_9165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048915","file1":"1377048911","file0":"1377048908","file4":"1377048924","file5":"1377048929","file3":"1377048919"},"map_files_photo_id_array":[{"photo_id":"1377048929","filename":"file5"},{"photo_id":"1377048915","filename":"file2"},{"photo_id":"1377048924","filename":"file4"},{"photo_id":"1377048911","filename":"file1"},{"photo_id":"1377048908","filename":"file0"},{"photo_id":"1377048919","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048908":["hashtag1","hashtag2"]},{"1377048919":["hashtag1","hashtag2"]},{"1377048924":["hashtag1","hashtag2"]},{"1377048915":["hashtag1","hashtag2"]},{"1377048929":["hashtag1","hashtag2"]},{"1377048911":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048908, 1377048919, 1377048924, 1377048915, 1377048929, 1377048911)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.95314407348633 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:45:22.370349 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/28/image_14082025_08_28_48_9118.jpg', '/media/data/images/14082025/08/28/image_14082025_08_28_58_10407.jpg', '/media/data/images/14082025/08/29/image_14082025_08_29_09_10423.jpg', '/media/data/images/14082025/08/29/image_14082025_08_29_18_9127.jpg', '/media/data/images/14082025/08/29/image_14082025_08_29_28_10407.jpg', '/media/data/images/14082025/08/29/image_14082025_08_29_39_10356.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/28/image_14082025_08_28_48_9118.jpg /media/data/images/14082025/08/28/image_14082025_08_28_58_10407.jpg /media/data/images/14082025/08/29/image_14082025_08_29_09_10423.jpg /media/data/images/14082025/08/29/image_14082025_08_29_18_9127.jpg /media/data/images/14082025/08/29/image_14082025_08_29_28_10407.jpg /media/data/images/14082025/08/29/image_14082025_08_29_39_10356.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377048951","1377048947","1377048956","1377048941","1377048959","1377048944"],"photo_ids_order":["1377048941","1377048944","1377048947","1377048951","1377048956","1377048959"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e268e997fecf912f8c736ee927b172f.jpg","text":"TemporaryFile(/tmp/multipartBody546787065303936516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186383355,"filename":"image_14082025_08_29_18_9127.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/04702920ee841ea8aba4dbca2b78b422.jpg","text":"TemporaryFile(/tmp/multipartBody5681088958126001484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186383355,"filename":"image_14082025_08_29_09_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d472869011512b881b0bf1b97c8e80b7.jpg","text":"TemporaryFile(/tmp/multipartBody5842358596722335312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186383355,"filename":"image_14082025_08_29_28_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a377eaa1c320d7a1754b16116c4f2eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5743679675940586449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186383355,"filename":"image_14082025_08_28_48_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/199638efb28abdaaed5c6b4f79d18213.jpg","text":"TemporaryFile(/tmp/multipartBody1789335922719414576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186383355,"filename":"image_14082025_08_29_39_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35523c704b5bfbfba93f6ba5523b1217.jpg","text":"TemporaryFile(/tmp/multipartBody8341823595354241367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186383355,"filename":"image_14082025_08_28_58_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377048947","file1":"1377048944","file0":"1377048941","file4":"1377048956","file5":"1377048959","file3":"1377048951"},"map_files_photo_id_array":[{"photo_id":"1377048959","filename":"file5"},{"photo_id":"1377048947","filename":"file2"},{"photo_id":"1377048956","filename":"file4"},{"photo_id":"1377048944","filename":"file1"},{"photo_id":"1377048941","filename":"file0"},{"photo_id":"1377048951","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377048951":["hashtag1","hashtag2"]},{"1377048947":["hashtag1","hashtag2"]},{"1377048956":["hashtag1","hashtag2"]},{"1377048941":["hashtag1","hashtag2"]},{"1377048959":["hashtag1","hashtag2"]},{"1377048944":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377048951, 1377048947, 1377048956, 1377048941, 1377048959, 1377048944)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.371296644210815 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:46:22.468268 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/29/image_14082025_08_29_58_9195.jpg', '/media/data/images/14082025/08/30/image_14082025_08_30_09_10539.jpg', '/media/data/images/14082025/08/30/image_14082025_08_30_18_9146.jpg', '/media/data/images/14082025/08/30/image_14082025_08_30_28_10351.jpg', '/media/data/images/14082025/08/30/image_14082025_08_30_39_10357.jpg', '/media/data/images/14082025/08/30/image_14082025_08_30_48_9210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/29/image_14082025_08_29_58_9195.jpg /media/data/images/14082025/08/30/image_14082025_08_30_09_10539.jpg /media/data/images/14082025/08/30/image_14082025_08_30_18_9146.jpg /media/data/images/14082025/08/30/image_14082025_08_30_28_10351.jpg /media/data/images/14082025/08/30/image_14082025_08_30_39_10357.jpg /media/data/images/14082025/08/30/image_14082025_08_30_48_9210.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377049068","1377049077","1377049035","1377049050","1377049097","1377049087"],"photo_ids_order":["1377049035","1377049050","1377049068","1377049077","1377049087","1377049097"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10fab02b06f5ddfeaa111d35c65db8fa.jpg","text":"TemporaryFile(/tmp/multipartBody7729201251137613166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186443439,"filename":"image_14082025_08_30_18_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/806b2a541309dd18e46f3fd566c11383.jpg","text":"TemporaryFile(/tmp/multipartBody8761241761880327179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186443439,"filename":"image_14082025_08_30_28_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa300b9bcbcb9ea5103c8ed4d240b0b0.jpg","text":"TemporaryFile(/tmp/multipartBody4789782954327858206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186443439,"filename":"image_14082025_08_29_58_9195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a131f6210cae61a658886bfef719031a.jpg","text":"TemporaryFile(/tmp/multipartBody2759189155265025892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186443439,"filename":"image_14082025_08_30_09_10539.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82bd72b9048def9c350cdf805b58781f.jpg","text":"TemporaryFile(/tmp/multipartBody8620668374908411802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186443439,"filename":"image_14082025_08_30_48_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/724157bd09288850615012d5f2ce2796.jpg","text":"TemporaryFile(/tmp/multipartBody4315695194320194718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186443439,"filename":"image_14082025_08_30_39_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377049068","file1":"1377049050","file0":"1377049035","file4":"1377049087","file5":"1377049097","file3":"1377049077"},"map_files_photo_id_array":[{"photo_id":"1377049097","filename":"file5"},{"photo_id":"1377049068","filename":"file2"},{"photo_id":"1377049087","filename":"file4"},{"photo_id":"1377049050","filename":"file1"},{"photo_id":"1377049035","filename":"file0"},{"photo_id":"1377049077","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377049068":["hashtag1","hashtag2"]},{"1377049077":["hashtag1","hashtag2"]},{"1377049035":["hashtag1","hashtag2"]},{"1377049050":["hashtag1","hashtag2"]},{"1377049097":["hashtag1","hashtag2"]},{"1377049087":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377049068, 1377049077, 1377049035, 1377049050, 1377049097, 1377049087)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.387810468673706 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:47:22.522276 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/30/image_14082025_08_30_58_10431.jpg', '/media/data/images/14082025/08/31/image_14082025_08_31_09_10307.jpg', '/media/data/images/14082025/08/31/image_14082025_08_31_19_10365.jpg', '/media/data/images/14082025/08/31/image_14082025_08_31_28_9125.jpg', '/media/data/images/14082025/08/31/image_14082025_08_31_38_10367.jpg', '/media/data/images/14082025/08/31/image_14082025_08_31_49_10260.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/30/image_14082025_08_30_58_10431.jpg /media/data/images/14082025/08/31/image_14082025_08_31_09_10307.jpg /media/data/images/14082025/08/31/image_14082025_08_31_19_10365.jpg /media/data/images/14082025/08/31/image_14082025_08_31_28_9125.jpg /media/data/images/14082025/08/31/image_14082025_08_31_38_10367.jpg /media/data/images/14082025/08/31/image_14082025_08_31_49_10260.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377049338","1377049407","1377049430","1377049307","1377049372","1377049273"],"photo_ids_order":["1377049273","1377049307","1377049338","1377049372","1377049407","1377049430"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61367f0dfc2da482b1c40017616810fe.jpg","text":"TemporaryFile(/tmp/multipartBody3832304717458791664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186503530,"filename":"image_14082025_08_31_19_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa0685a8e8a5c16b364869efe6d96b4d.jpg","text":"TemporaryFile(/tmp/multipartBody6554588237668309259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186503530,"filename":"image_14082025_08_31_38_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe263fde5fd827c81b637ff12c96154c.jpg","text":"TemporaryFile(/tmp/multipartBody1103528784552582606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186503530,"filename":"image_14082025_08_31_49_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9594ff633c441ab10a34fbed2679ecde.jpg","text":"TemporaryFile(/tmp/multipartBody8679720445678786348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186503530,"filename":"image_14082025_08_31_09_10307.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df5ea197da41a6fd9da5e537a2764b23.jpg","text":"TemporaryFile(/tmp/multipartBody215963431986599510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186503530,"filename":"image_14082025_08_31_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25d6b605edccb944543729bb55ad5c3a.jpg","text":"TemporaryFile(/tmp/multipartBody9219553986730841320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186503530,"filename":"image_14082025_08_30_58_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377049338","file1":"1377049307","file0":"1377049273","file4":"1377049407","file5":"1377049430","file3":"1377049372"},"map_files_photo_id_array":[{"photo_id":"1377049430","filename":"file5"},{"photo_id":"1377049338","filename":"file2"},{"photo_id":"1377049407","filename":"file4"},{"photo_id":"1377049307","filename":"file1"},{"photo_id":"1377049273","filename":"file0"},{"photo_id":"1377049372","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377049338":["hashtag1","hashtag2"]},{"1377049407":["hashtag1","hashtag2"]},{"1377049430":["hashtag1","hashtag2"]},{"1377049307":["hashtag1","hashtag2"]},{"1377049372":["hashtag1","hashtag2"]},{"1377049273":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377049338, 1377049407, 1377049430, 1377049307, 1377049372, 1377049273)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.427319049835205 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:48:22.665851 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/31/image_14082025_08_31_58_9149.jpg', '/media/data/images/14082025/08/31/image_14082025_08_32_08_10664.jpg', '/media/data/images/14082025/08/32/image_14082025_08_32_19_10222.jpg', '/media/data/images/14082025/08/32/image_14082025_08_32_29_10242.jpg', '/media/data/images/14082025/08/32/image_14082025_08_32_38_9029.jpg', '/media/data/images/14082025/08/32/image_14082025_08_32_48_10238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/31/image_14082025_08_31_58_9149.jpg /media/data/images/14082025/08/31/image_14082025_08_32_08_10664.jpg /media/data/images/14082025/08/32/image_14082025_08_32_19_10222.jpg /media/data/images/14082025/08/32/image_14082025_08_32_29_10242.jpg /media/data/images/14082025/08/32/image_14082025_08_32_38_9029.jpg /media/data/images/14082025/08/32/image_14082025_08_32_48_10238.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377049540","1377049507","1377049707","1377049620","1377049573","1377049474"],"photo_ids_order":["1377049474","1377049507","1377049540","1377049573","1377049620","1377049707"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5c8044a6eebbd812671b3f2b535965a.jpg","text":"TemporaryFile(/tmp/multipartBody3873370472706784140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186563707,"filename":"image_14082025_08_32_19_10222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/069d268f3a2af4bdefcbf02d32bb3b54.jpg","text":"TemporaryFile(/tmp/multipartBody6808388046075252070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186563707,"filename":"image_14082025_08_32_08_10664.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24e645a745b43847be89faf5241c3f85.jpg","text":"TemporaryFile(/tmp/multipartBody6060991697406187320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186563707,"filename":"image_14082025_08_32_48_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1edf236934f91041bd50da1ba47f8ce.jpg","text":"TemporaryFile(/tmp/multipartBody4627401318103414721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186563707,"filename":"image_14082025_08_32_38_9029.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f6f0e594f96c441e5676a7667817783.jpg","text":"TemporaryFile(/tmp/multipartBody3167562787635311226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186563707,"filename":"image_14082025_08_32_29_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d52a422ec155a9386c2fe32580e1e081.jpg","text":"TemporaryFile(/tmp/multipartBody5840989331185579704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186563707,"filename":"image_14082025_08_31_58_9149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377049540","file1":"1377049507","file0":"1377049474","file4":"1377049620","file5":"1377049707","file3":"1377049573"},"map_files_photo_id_array":[{"photo_id":"1377049707","filename":"file5"},{"photo_id":"1377049540","filename":"file2"},{"photo_id":"1377049620","filename":"file4"},{"photo_id":"1377049507","filename":"file1"},{"photo_id":"1377049474","filename":"file0"},{"photo_id":"1377049573","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377049540":["hashtag1","hashtag2"]},{"1377049507":["hashtag1","hashtag2"]},{"1377049707":["hashtag1","hashtag2"]},{"1377049620":["hashtag1","hashtag2"]},{"1377049573":["hashtag1","hashtag2"]},{"1377049474":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377049540, 1377049507, 1377049707, 1377049620, 1377049573, 1377049474)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.89827609062195 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:49:22.756586 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/32/image_14082025_08_32_59_10306.jpg', '/media/data/images/14082025/08/33/image_14082025_08_33_09_10231.jpg', '/media/data/images/14082025/08/33/image_14082025_08_33_18_9045.jpg', '/media/data/images/14082025/08/33/image_14082025_08_33_28_10393.jpg', '/media/data/images/14082025/08/33/image_14082025_08_33_38_10244.jpg', '/media/data/images/14082025/08/33/image_14082025_08_34_08_10535.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/32/image_14082025_08_32_59_10306.jpg /media/data/images/14082025/08/33/image_14082025_08_33_09_10231.jpg /media/data/images/14082025/08/33/image_14082025_08_33_18_9045.jpg /media/data/images/14082025/08/33/image_14082025_08_33_28_10393.jpg /media/data/images/14082025/08/33/image_14082025_08_33_38_10244.jpg /media/data/images/14082025/08/33/image_14082025_08_34_08_10535.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377049813","1377049815","1377049809","1377049802","1377049811","1377049805"],"photo_ids_order":["1377049802","1377049805","1377049809","1377049811","1377049813","1377049815"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3d282d905e1cf494b500cc7cb93763b.jpg","text":"TemporaryFile(/tmp/multipartBody94794644907213657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186623782,"filename":"image_14082025_08_33_38_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2a08340154602861a13cbe3f6747933.jpg","text":"TemporaryFile(/tmp/multipartBody5283825372488466654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186623782,"filename":"image_14082025_08_34_08_10535.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78a9ff67820b445d33ebea3f3b1967d8.jpg","text":"TemporaryFile(/tmp/multipartBody3937665994070781336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186623782,"filename":"image_14082025_08_33_18_9045.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/091c5b7006c0a60ffd245b810c2c3058.jpg","text":"TemporaryFile(/tmp/multipartBody5207943434090960654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186623782,"filename":"image_14082025_08_32_59_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5e0ca940922d9cf86744cc054b5ccdb.jpg","text":"TemporaryFile(/tmp/multipartBody2534085240582699274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186623782,"filename":"image_14082025_08_33_28_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fc3fed8d2fd0b86dc9813a50f661dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4106082714513325935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186623782,"filename":"image_14082025_08_33_09_10231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377049809","file1":"1377049805","file0":"1377049802","file4":"1377049813","file5":"1377049815","file3":"1377049811"},"map_files_photo_id_array":[{"photo_id":"1377049815","filename":"file5"},{"photo_id":"1377049809","filename":"file2"},{"photo_id":"1377049813","filename":"file4"},{"photo_id":"1377049805","filename":"file1"},{"photo_id":"1377049802","filename":"file0"},{"photo_id":"1377049811","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377049813":["hashtag1","hashtag2"]},{"1377049815":["hashtag1","hashtag2"]},{"1377049809":["hashtag1","hashtag2"]},{"1377049802":["hashtag1","hashtag2"]},{"1377049811":["hashtag1","hashtag2"]},{"1377049805":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377049813, 1377049815, 1377049809, 1377049802, 1377049811, 1377049805)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.46493864059448 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:50:21.876304 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/34/image_14082025_08_34_19_10251.jpg', '/media/data/images/14082025/08/34/image_14082025_08_34_29_10247.jpg', '/media/data/images/14082025/08/34/image_14082025_08_34_38_9017.jpg', '/media/data/images/14082025/08/34/image_14082025_08_34_48_10386.jpg', '/media/data/images/14082025/08/34/image_14082025_08_34_59_10319.jpg', '/media/data/images/14082025/08/35/image_14082025_08_35_09_10229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/34/image_14082025_08_34_19_10251.jpg /media/data/images/14082025/08/34/image_14082025_08_34_29_10247.jpg /media/data/images/14082025/08/34/image_14082025_08_34_38_9017.jpg /media/data/images/14082025/08/34/image_14082025_08_34_48_10386.jpg /media/data/images/14082025/08/34/image_14082025_08_34_59_10319.jpg /media/data/images/14082025/08/35/image_14082025_08_35_09_10229.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377050154","1377050082","1377050022","1377050189","1377050045","1377050120"],"photo_ids_order":["1377050022","1377050045","1377050082","1377050120","1377050154","1377050189"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfb44c6d50cc596144c3c9b99caf4cae.jpg","text":"TemporaryFile(/tmp/multipartBody4285249195857566538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186682924,"filename":"image_14082025_08_34_59_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/924c01d36fa60a7cdb8dccb2d82dcfde.jpg","text":"TemporaryFile(/tmp/multipartBody3154556870409657333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186682924,"filename":"image_14082025_08_34_38_9017.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1824031caa4fc50b99a0479d46e21381.jpg","text":"TemporaryFile(/tmp/multipartBody7406408020127216206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186682924,"filename":"image_14082025_08_34_19_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7df54209ab480127e0f5a4b6b40124a.jpg","text":"TemporaryFile(/tmp/multipartBody3356600086402703677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186682924,"filename":"image_14082025_08_35_09_10229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e4b54663e0ad9c9f7e4d2e7ea42a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody355046989466787173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186682924,"filename":"image_14082025_08_34_29_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2f28e8fad6d827b4c66fdc27790edc0.jpg","text":"TemporaryFile(/tmp/multipartBody7730955980916204788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186682924,"filename":"image_14082025_08_34_48_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377050082","file1":"1377050045","file0":"1377050022","file4":"1377050154","file5":"1377050189","file3":"1377050120"},"map_files_photo_id_array":[{"photo_id":"1377050189","filename":"file5"},{"photo_id":"1377050082","filename":"file2"},{"photo_id":"1377050154","filename":"file4"},{"photo_id":"1377050045","filename":"file1"},{"photo_id":"1377050022","filename":"file0"},{"photo_id":"1377050120","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377050154":["hashtag1","hashtag2"]},{"1377050082":["hashtag1","hashtag2"]},{"1377050022":["hashtag1","hashtag2"]},{"1377050189":["hashtag1","hashtag2"]},{"1377050045":["hashtag1","hashtag2"]},{"1377050120":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377050154, 1377050082, 1377050022, 1377050189, 1377050045, 1377050120)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.31322693824768 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:51:21.976568 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/35/image_14082025_08_35_18_9035.jpg', '/media/data/images/14082025/08/35/image_14082025_08_35_28_10240.jpg', '/media/data/images/14082025/08/35/image_14082025_08_35_39_10614.jpg', '/media/data/images/14082025/08/35/image_14082025_08_35_49_10243.jpg', '/media/data/images/14082025/08/35/image_14082025_08_35_58_9022.jpg', '/media/data/images/14082025/08/36/image_14082025_08_36_19_10275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/35/image_14082025_08_35_18_9035.jpg /media/data/images/14082025/08/35/image_14082025_08_35_28_10240.jpg /media/data/images/14082025/08/35/image_14082025_08_35_39_10614.jpg /media/data/images/14082025/08/35/image_14082025_08_35_49_10243.jpg /media/data/images/14082025/08/35/image_14082025_08_35_58_9022.jpg /media/data/images/14082025/08/36/image_14082025_08_36_19_10275.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377050402","1377050394","1377050397","1377050406","1377050409","1377050387"],"photo_ids_order":["1377050387","1377050394","1377050397","1377050402","1377050406","1377050409"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f4c9fb89e3e0e60a92a77199109e39f1.jpg","text":"TemporaryFile(/tmp/multipartBody4696233734110553294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186743038,"filename":"image_14082025_08_35_49_10243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/119d5a84ce5123f0bdd3cb42e9d6f2cd.jpg","text":"TemporaryFile(/tmp/multipartBody1333185737655311610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186743038,"filename":"image_14082025_08_35_28_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/19444ccd1ef28c318b44f1bdf6373cca.jpg","text":"TemporaryFile(/tmp/multipartBody1564625006087398366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186743038,"filename":"image_14082025_08_35_39_10614.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9c752812d929940031a4d0e819256c7.jpg","text":"TemporaryFile(/tmp/multipartBody3308208967711869016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186743038,"filename":"image_14082025_08_35_58_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/06b391365fffb825a6ea3f8912b08448.jpg","text":"TemporaryFile(/tmp/multipartBody1855688854416332028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186743038,"filename":"image_14082025_08_36_19_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b7a168786835162fbf4e01edb7e5ddc9.jpg","text":"TemporaryFile(/tmp/multipartBody7713027698903920568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186743038,"filename":"image_14082025_08_35_18_9035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377050397","file1":"1377050394","file0":"1377050387","file4":"1377050406","file5":"1377050409","file3":"1377050402"},"map_files_photo_id_array":[{"photo_id":"1377050409","filename":"file5"},{"photo_id":"1377050397","filename":"file2"},{"photo_id":"1377050406","filename":"file4"},{"photo_id":"1377050394","filename":"file1"},{"photo_id":"1377050387","filename":"file0"},{"photo_id":"1377050402","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377050402":["hashtag1","hashtag2"]},{"1377050394":["hashtag1","hashtag2"]},{"1377050397":["hashtag1","hashtag2"]},{"1377050406":["hashtag1","hashtag2"]},{"1377050409":["hashtag1","hashtag2"]},{"1377050387":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377050402, 1377050394, 1377050397, 1377050406, 1377050409, 1377050387)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.51756286621094 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:52:22.079297 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/36/image_14082025_08_36_39_10255.jpg', '/media/data/images/14082025/08/36/image_14082025_08_36_48_9875.jpg', '/media/data/images/14082025/08/36/image_14082025_08_36_59_10240.jpg', '/media/data/images/14082025/08/37/image_14082025_08_37_09_10266.jpg', '/media/data/images/14082025/08/37/image_14082025_08_37_18_9027.jpg', '/media/data/images/14082025/08/37/image_14082025_08_37_28_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/36/image_14082025_08_36_39_10255.jpg /media/data/images/14082025/08/36/image_14082025_08_36_48_9875.jpg /media/data/images/14082025/08/36/image_14082025_08_36_59_10240.jpg /media/data/images/14082025/08/37/image_14082025_08_37_09_10266.jpg /media/data/images/14082025/08/37/image_14082025_08_37_18_9027.jpg /media/data/images/14082025/08/37/image_14082025_08_37_28_10333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377050599","1377050650","1377050655","1377050646","1377050625","1377050564"],"photo_ids_order":["1377050564","1377050599","1377050625","1377050646","1377050650","1377050655"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e870c66d150a92d6a48378a28cb8d7f9.jpg","text":"TemporaryFile(/tmp/multipartBody230801640209952581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186803141,"filename":"image_14082025_08_36_48_9875.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3c9d31a85b2799f3cc6ec97b10e3671.jpg","text":"TemporaryFile(/tmp/multipartBody8816986907355490299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186803141,"filename":"image_14082025_08_37_18_9027.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21f8ad96c0af75f94d99663265744447.jpg","text":"TemporaryFile(/tmp/multipartBody7867251629256319410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186803141,"filename":"image_14082025_08_37_28_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1af601693c14c6261446533d90a6c8d1.jpg","text":"TemporaryFile(/tmp/multipartBody1748271766260392474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186803141,"filename":"image_14082025_08_37_09_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/166fd83d48f9367cc2c9a8282ce8ce8b.jpg","text":"TemporaryFile(/tmp/multipartBody1732350464989055347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186803141,"filename":"image_14082025_08_36_59_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7752d22f98203a29cbc0a88a8d6cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody1750175069909132590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186803141,"filename":"image_14082025_08_36_39_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377050625","file1":"1377050599","file0":"1377050564","file4":"1377050650","file5":"1377050655","file3":"1377050646"},"map_files_photo_id_array":[{"photo_id":"1377050655","filename":"file5"},{"photo_id":"1377050625","filename":"file2"},{"photo_id":"1377050650","filename":"file4"},{"photo_id":"1377050599","filename":"file1"},{"photo_id":"1377050564","filename":"file0"},{"photo_id":"1377050646","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377050599":["hashtag1","hashtag2"]},{"1377050650":["hashtag1","hashtag2"]},{"1377050655":["hashtag1","hashtag2"]},{"1377050646":["hashtag1","hashtag2"]},{"1377050625":["hashtag1","hashtag2"]},{"1377050564":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377050599, 1377050650, 1377050655, 1377050646, 1377050625, 1377050564)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.90793538093567 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:53:22.198914 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/37/image_14082025_08_37_39_10361.jpg', '/media/data/images/14082025/08/37/image_14082025_08_37_49_10277.jpg', '/media/data/images/14082025/08/37/image_14082025_08_37_58_9060.jpg', '/media/data/images/14082025/08/37/image_14082025_08_38_09_10666.jpg', '/media/data/images/14082025/08/38/image_14082025_08_38_18_9186.jpg', '/media/data/images/14082025/08/38/image_14082025_08_38_28_10366.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/37/image_14082025_08_37_39_10361.jpg /media/data/images/14082025/08/37/image_14082025_08_37_49_10277.jpg /media/data/images/14082025/08/37/image_14082025_08_37_58_9060.jpg /media/data/images/14082025/08/37/image_14082025_08_38_09_10666.jpg /media/data/images/14082025/08/38/image_14082025_08_38_18_9186.jpg /media/data/images/14082025/08/38/image_14082025_08_38_28_10366.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377050788","1377050869","1377050938","1377051072","1377051006","1377050825"],"photo_ids_order":["1377050788","1377050825","1377050869","1377050938","1377051006","1377051072"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e3c2bb9a90cbbbd1679935af9adbf93.jpg","text":"TemporaryFile(/tmp/multipartBody6499274069695015340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186863233,"filename":"image_14082025_08_37_39_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b26f032c3a4b5efddda696d82423c068.jpg","text":"TemporaryFile(/tmp/multipartBody1448436903937785075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186863233,"filename":"image_14082025_08_37_58_9060.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2d0a369eb27e37feb181ddf5887e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody7828347677232376995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186863233,"filename":"image_14082025_08_38_09_10666.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b59e2199affc9f4b2418fca78cbebed.jpg","text":"TemporaryFile(/tmp/multipartBody8246508912435166757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186863233,"filename":"image_14082025_08_38_28_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d6686c5bd2ca9907ed51329adb1ae91.jpg","text":"TemporaryFile(/tmp/multipartBody4240877113731829675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186863233,"filename":"image_14082025_08_38_18_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07fa5477a2f7529eac34e5a12d2d5ef7.jpg","text":"TemporaryFile(/tmp/multipartBody7837431013951598960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186863233,"filename":"image_14082025_08_37_49_10277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377050869","file1":"1377050825","file0":"1377050788","file4":"1377051006","file5":"1377051072","file3":"1377050938"},"map_files_photo_id_array":[{"photo_id":"1377051072","filename":"file5"},{"photo_id":"1377050869","filename":"file2"},{"photo_id":"1377051006","filename":"file4"},{"photo_id":"1377050825","filename":"file1"},{"photo_id":"1377050788","filename":"file0"},{"photo_id":"1377050938","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377050788":["hashtag1","hashtag2"]},{"1377050869":["hashtag1","hashtag2"]},{"1377050938":["hashtag1","hashtag2"]},{"1377051072":["hashtag1","hashtag2"]},{"1377051006":["hashtag1","hashtag2"]},{"1377050825":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377050788, 1377050869, 1377050938, 1377051072, 1377051006, 1377050825)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.23997688293457 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:54:22.338629 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/38/image_14082025_08_38_38_10282.jpg', '/media/data/images/14082025/08/38/image_14082025_08_38_49_10330.jpg', '/media/data/images/14082025/08/38/image_14082025_08_38_58_9015.jpg', '/media/data/images/14082025/08/38/image_14082025_08_39_08_10587.jpg', '/media/data/images/14082025/08/39/image_14082025_08_39_19_10491.jpg', '/media/data/images/14082025/08/39/image_14082025_08_39_38_10437.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/38/image_14082025_08_38_38_10282.jpg /media/data/images/14082025/08/38/image_14082025_08_38_49_10330.jpg /media/data/images/14082025/08/38/image_14082025_08_38_58_9015.jpg /media/data/images/14082025/08/38/image_14082025_08_39_08_10587.jpg /media/data/images/14082025/08/39/image_14082025_08_39_19_10491.jpg /media/data/images/14082025/08/39/image_14082025_08_39_38_10437.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377051355","1377051319","1377051297","1377051248","1377051251","1377051265"],"photo_ids_order":["1377051248","1377051251","1377051265","1377051297","1377051319","1377051355"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3610bdfd8a27fffe12b690ef57744be8.jpg","text":"TemporaryFile(/tmp/multipartBody7083867560153904267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186923415,"filename":"image_14082025_08_39_38_10437.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36f518b94e0c175cc62918298cfa4aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3494235161168717133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186923415,"filename":"image_14082025_08_39_19_10491.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4373602a16d1a2bf122aed91450f80c6.jpg","text":"TemporaryFile(/tmp/multipartBody5414377712573081755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186923415,"filename":"image_14082025_08_39_08_10587.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47ace5bff467709c44ffa4174d61f531.jpg","text":"TemporaryFile(/tmp/multipartBody3221398859260518468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186923415,"filename":"image_14082025_08_38_38_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5cee30f309de6247621b4c8a26daa845.jpg","text":"TemporaryFile(/tmp/multipartBody196198230242704566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186923415,"filename":"image_14082025_08_38_49_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66abc8075c43c7e2425393a6785ffb63.jpg","text":"TemporaryFile(/tmp/multipartBody6732541952273463895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186923415,"filename":"image_14082025_08_38_58_9015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377051265","file1":"1377051251","file0":"1377051248","file4":"1377051319","file5":"1377051355","file3":"1377051297"},"map_files_photo_id_array":[{"photo_id":"1377051355","filename":"file5"},{"photo_id":"1377051265","filename":"file2"},{"photo_id":"1377051319","filename":"file4"},{"photo_id":"1377051251","filename":"file1"},{"photo_id":"1377051248","filename":"file0"},{"photo_id":"1377051297","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377051355":["hashtag1","hashtag2"]},{"1377051319":["hashtag1","hashtag2"]},{"1377051297":["hashtag1","hashtag2"]},{"1377051248":["hashtag1","hashtag2"]},{"1377051251":["hashtag1","hashtag2"]},{"1377051265":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377051355, 1377051319, 1377051297, 1377051248, 1377051251, 1377051265)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.128716468811035 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:55:22.443217 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/39/image_14082025_08_39_49_10353.jpg', '/media/data/images/14082025/08/39/image_14082025_08_39_58_9159.jpg', '/media/data/images/14082025/08/40/image_14082025_08_40_19_10335.jpg', '/media/data/images/14082025/08/40/image_14082025_08_40_28_9188.jpg', '/media/data/images/14082025/08/40/image_14082025_08_40_38_10389.jpg', '/media/data/images/14082025/08/40/image_14082025_08_40_49_10390.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/39/image_14082025_08_39_49_10353.jpg /media/data/images/14082025/08/39/image_14082025_08_39_58_9159.jpg /media/data/images/14082025/08/40/image_14082025_08_40_19_10335.jpg /media/data/images/14082025/08/40/image_14082025_08_40_28_9188.jpg /media/data/images/14082025/08/40/image_14082025_08_40_38_10389.jpg /media/data/images/14082025/08/40/image_14082025_08_40_49_10390.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377051715","1377051759","1377051627","1377051720","1377051694","1377051595"],"photo_ids_order":["1377051595","1377051627","1377051694","1377051715","1377051720","1377051759"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a42f5e1f17e1690141a7c7864ed3b59.jpg","text":"TemporaryFile(/tmp/multipartBody5351253395220088012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186983436,"filename":"image_14082025_08_40_28_9188.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/933cc15067ee9cab7e08831d1eab1abb.jpg","text":"TemporaryFile(/tmp/multipartBody635219067936203930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186983436,"filename":"image_14082025_08_40_49_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9c06e8b78c9a5992c5f4eac3f255ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7483770069210343067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186983436,"filename":"image_14082025_08_39_58_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/01f0564b617726487ff1d5da30550428.jpg","text":"TemporaryFile(/tmp/multipartBody1763008626831424356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186983436,"filename":"image_14082025_08_40_38_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29f42470a3b8d2b4af417728f7bf3390.jpg","text":"TemporaryFile(/tmp/multipartBody2624453793246095073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186983436,"filename":"image_14082025_08_40_19_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3108ea92c43b726706175bd0f67cd092.jpg","text":"TemporaryFile(/tmp/multipartBody4143252895307258226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755186983436,"filename":"image_14082025_08_39_49_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377051694","file1":"1377051627","file0":"1377051595","file4":"1377051720","file5":"1377051759","file3":"1377051715"},"map_files_photo_id_array":[{"photo_id":"1377051759","filename":"file5"},{"photo_id":"1377051694","filename":"file2"},{"photo_id":"1377051720","filename":"file4"},{"photo_id":"1377051627","filename":"file1"},{"photo_id":"1377051595","filename":"file0"},{"photo_id":"1377051715","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377051715":["hashtag1","hashtag2"]},{"1377051759":["hashtag1","hashtag2"]},{"1377051627":["hashtag1","hashtag2"]},{"1377051720":["hashtag1","hashtag2"]},{"1377051694":["hashtag1","hashtag2"]},{"1377051595":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377051715, 1377051759, 1377051627, 1377051720, 1377051694, 1377051595)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.52252960205078 secondes --- val : 1 : upload photos already in processing! Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:56:22.540849 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/40/image_14082025_08_40_58_9101.jpg', '/media/data/images/14082025/08/40/image_14082025_08_41_09_10649.jpg', '/media/data/images/14082025/08/41/image_14082025_08_41_18_9211.jpg', '/media/data/images/14082025/08/41/image_14082025_08_41_28_10354.jpg', '/media/data/images/14082025/08/41/image_14082025_08_41_39_10452.jpg', '/media/data/images/14082025/08/41/image_14082025_08_41_49_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/40/image_14082025_08_40_58_9101.jpg /media/data/images/14082025/08/40/image_14082025_08_41_09_10649.jpg /media/data/images/14082025/08/41/image_14082025_08_41_18_9211.jpg /media/data/images/14082025/08/41/image_14082025_08_41_28_10354.jpg /media/data/images/14082025/08/41/image_14082025_08_41_39_10452.jpg /media/data/images/14082025/08/41/image_14082025_08_41_49_10352.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377051934","1377051975","1377051971","1377051982","1377051979","1377051964"],"photo_ids_order":["1377051934","1377051964","1377051971","1377051975","1377051979","1377051982"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54ef790a076b893ac9098a38b5daef85.jpg","text":"TemporaryFile(/tmp/multipartBody1333267799198569547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187043500,"filename":"image_14082025_08_40_58_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15e43db6a58fd25d19dd1c706bac7029.jpg","text":"TemporaryFile(/tmp/multipartBody6427368479898681081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187043500,"filename":"image_14082025_08_41_28_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63016c3e467a465f26a421f9ec12042f.jpg","text":"TemporaryFile(/tmp/multipartBody102787457965730985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187043500,"filename":"image_14082025_08_41_18_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d829fa0f2ad77402047a4d86e90b8788.jpg","text":"TemporaryFile(/tmp/multipartBody7421723328038602696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187043500,"filename":"image_14082025_08_41_49_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ab0988c2f8ae921c3798bf094f5279d.jpg","text":"TemporaryFile(/tmp/multipartBody1333743527638693372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187043500,"filename":"image_14082025_08_41_39_10452.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7ed2c57b22941fb154b7303f29d8ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7093603201630422511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187043500,"filename":"image_14082025_08_41_09_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377051971","file1":"1377051964","file0":"1377051934","file4":"1377051979","file5":"1377051982","file3":"1377051975"},"map_files_photo_id_array":[{"photo_id":"1377051982","filename":"file5"},{"photo_id":"1377051971","filename":"file2"},{"photo_id":"1377051979","filename":"file4"},{"photo_id":"1377051964","filename":"file1"},{"photo_id":"1377051934","filename":"file0"},{"photo_id":"1377051975","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377051934":["hashtag1","hashtag2"]},{"1377051975":["hashtag1","hashtag2"]},{"1377051971":["hashtag1","hashtag2"]},{"1377051982":["hashtag1","hashtag2"]},{"1377051979":["hashtag1","hashtag2"]},{"1377051964":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377051934, 1377051975, 1377051971, 1377051982, 1377051979, 1377051964)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.41295075416565 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:57:22.659206 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/41/image_14082025_08_41_58_9185.jpg', '/media/data/images/14082025/08/42/image_14082025_08_42_09_10486.jpg', '/media/data/images/14082025/08/42/image_14082025_08_42_19_10321.jpg', '/media/data/images/14082025/08/42/image_14082025_08_42_28_9108.jpg', '/media/data/images/14082025/08/42/image_14082025_08_42_38_10348.jpg', '/media/data/images/14082025/08/42/image_14082025_08_42_49_10405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/41/image_14082025_08_41_58_9185.jpg /media/data/images/14082025/08/42/image_14082025_08_42_09_10486.jpg /media/data/images/14082025/08/42/image_14082025_08_42_19_10321.jpg /media/data/images/14082025/08/42/image_14082025_08_42_28_9108.jpg /media/data/images/14082025/08/42/image_14082025_08_42_38_10348.jpg /media/data/images/14082025/08/42/image_14082025_08_42_49_10405.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377052003","1377052006","1377052011","1377052008","1377052015","1377052000"],"photo_ids_order":["1377052000","1377052003","1377052006","1377052008","1377052011","1377052015"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0331f04358d65817129dddaebcc4c30a.jpg","text":"TemporaryFile(/tmp/multipartBody6959883430320762082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187103635,"filename":"image_14082025_08_42_09_10486.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd6b9127a3c4e3b7754d8e09a2fa4ccb.jpg","text":"TemporaryFile(/tmp/multipartBody497871914592091167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187103635,"filename":"image_14082025_08_42_19_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea07793d930d41a86c59de52c7bd9a89.jpg","text":"TemporaryFile(/tmp/multipartBody4529469831107631274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187103635,"filename":"image_14082025_08_42_38_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/323ae832ea491dcc99fafecdb39a5ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7493380766425707025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187103635,"filename":"image_14082025_08_42_28_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c5782afc23b32d8713e718d382b1fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5105437140460374447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187103635,"filename":"image_14082025_08_42_49_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37594e15b490bc2ecb8f44ad4bd7f382.jpg","text":"TemporaryFile(/tmp/multipartBody4458533559266675091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187103635,"filename":"image_14082025_08_41_58_9185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377052006","file1":"1377052003","file0":"1377052000","file4":"1377052011","file5":"1377052015","file3":"1377052008"},"map_files_photo_id_array":[{"photo_id":"1377052015","filename":"file5"},{"photo_id":"1377052006","filename":"file2"},{"photo_id":"1377052011","filename":"file4"},{"photo_id":"1377052003","filename":"file1"},{"photo_id":"1377052000","filename":"file0"},{"photo_id":"1377052008","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377052003":["hashtag1","hashtag2"]},{"1377052006":["hashtag1","hashtag2"]},{"1377052011":["hashtag1","hashtag2"]},{"1377052008":["hashtag1","hashtag2"]},{"1377052015":["hashtag1","hashtag2"]},{"1377052000":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377052003, 1377052006, 1377052011, 1377052008, 1377052015, 1377052000)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.75379252433777 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 17:59:03.225223 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/42/image_14082025_08_42_58_9113.jpg', '/media/data/images/14082025/08/42/image_14082025_08_43_09_10630.jpg', '/media/data/images/14082025/08/43/image_14082025_08_43_19_10328.jpg', '/media/data/images/14082025/08/43/image_14082025_08_43_28_9107.jpg', '/media/data/images/14082025/08/43/image_14082025_08_43_38_10248.jpg', '/media/data/images/14082025/08/43/image_14082025_08_43_49_10254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/42/image_14082025_08_42_58_9113.jpg /media/data/images/14082025/08/42/image_14082025_08_43_09_10630.jpg /media/data/images/14082025/08/43/image_14082025_08_43_19_10328.jpg /media/data/images/14082025/08/43/image_14082025_08_43_28_9107.jpg /media/data/images/14082025/08/43/image_14082025_08_43_38_10248.jpg /media/data/images/14082025/08/43/image_14082025_08_43_49_10254.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377052062","1377052056","1377052050","1377052079","1377052094","1377052042"],"photo_ids_order":["1377052042","1377052050","1377052056","1377052062","1377052079","1377052094"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d0c53586059dda63259c211f77caa2a.jpg","text":"TemporaryFile(/tmp/multipartBody3622613347978231464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187204251,"filename":"image_14082025_08_43_28_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12a625cc27380aa5f4b0d81e29e69e90.jpg","text":"TemporaryFile(/tmp/multipartBody5086047887618491212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187204251,"filename":"image_14082025_08_43_19_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c387516734dec43f5481a888acbc8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3912952479024139595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187204251,"filename":"image_14082025_08_43_09_10630.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17dc2c9773e48abd88b7ace9cb61c28c.jpg","text":"TemporaryFile(/tmp/multipartBody2684513631896979487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187204251,"filename":"image_14082025_08_43_38_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3707e67f1de3219e7a4e04af88ac558b.jpg","text":"TemporaryFile(/tmp/multipartBody2052891838451987703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187204251,"filename":"image_14082025_08_43_49_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9defa5fd1fb0e1bde8df728ac30fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody7961976912054542278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187204251,"filename":"image_14082025_08_42_58_9113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377052056","file1":"1377052050","file0":"1377052042","file4":"1377052079","file5":"1377052094","file3":"1377052062"},"map_files_photo_id_array":[{"photo_id":"1377052094","filename":"file5"},{"photo_id":"1377052056","filename":"file2"},{"photo_id":"1377052079","filename":"file4"},{"photo_id":"1377052050","filename":"file1"},{"photo_id":"1377052042","filename":"file0"},{"photo_id":"1377052062","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377052062":["hashtag1","hashtag2"]},{"1377052056":["hashtag1","hashtag2"]},{"1377052050":["hashtag1","hashtag2"]},{"1377052079":["hashtag1","hashtag2"]},{"1377052094":["hashtag1","hashtag2"]},{"1377052042":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377052062, 1377052056, 1377052050, 1377052079, 1377052094, 1377052042)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.28024983406067 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:00:03.022503 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/43/image_14082025_08_43_59_10255.jpg', '/media/data/images/14082025/08/44/image_14082025_08_44_08_9062.jpg', '/media/data/images/14082025/08/44/image_14082025_08_44_18_10336.jpg', '/media/data/images/14082025/08/44/image_14082025_08_44_28_10322.jpg', '/media/data/images/14082025/08/44/image_14082025_08_44_39_10265.jpg', '/media/data/images/14082025/08/44/image_14082025_08_44_49_10242.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/43/image_14082025_08_43_59_10255.jpg /media/data/images/14082025/08/44/image_14082025_08_44_08_9062.jpg /media/data/images/14082025/08/44/image_14082025_08_44_18_10336.jpg /media/data/images/14082025/08/44/image_14082025_08_44_28_10322.jpg /media/data/images/14082025/08/44/image_14082025_08_44_39_10265.jpg /media/data/images/14082025/08/44/image_14082025_08_44_49_10242.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377052408","1377052299","1377052443","1377052344","1377052376","1377052244"],"photo_ids_order":["1377052244","1377052299","1377052344","1377052376","1377052408","1377052443"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/154d2fb24d86757d120aace89e54865a.jpg","text":"TemporaryFile(/tmp/multipartBody4064985466115816413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187264067,"filename":"image_14082025_08_44_39_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25a92d49daf5f38199c9052127c7a026.jpg","text":"TemporaryFile(/tmp/multipartBody7936343653085329604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187264067,"filename":"image_14082025_08_44_08_9062.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/292136b8dfdb068e40dacd655f594410.jpg","text":"TemporaryFile(/tmp/multipartBody8054644568022697913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187264067,"filename":"image_14082025_08_44_49_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57cf6231d1484e59fbad804822854222.jpg","text":"TemporaryFile(/tmp/multipartBody2459046436250020534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187264067,"filename":"image_14082025_08_44_18_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71a178c485bd778e322ec5cf12f7ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody1611577214058121097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187264067,"filename":"image_14082025_08_44_28_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b44e362ec33a13b295665104f3810f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1609489187037403301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187264067,"filename":"image_14082025_08_43_59_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377052344","file1":"1377052299","file0":"1377052244","file4":"1377052408","file5":"1377052443","file3":"1377052376"},"map_files_photo_id_array":[{"photo_id":"1377052443","filename":"file5"},{"photo_id":"1377052344","filename":"file2"},{"photo_id":"1377052408","filename":"file4"},{"photo_id":"1377052299","filename":"file1"},{"photo_id":"1377052244","filename":"file0"},{"photo_id":"1377052376","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377052408":["hashtag1","hashtag2"]},{"1377052299":["hashtag1","hashtag2"]},{"1377052443":["hashtag1","hashtag2"]},{"1377052344":["hashtag1","hashtag2"]},{"1377052376":["hashtag1","hashtag2"]},{"1377052244":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377052408, 1377052299, 1377052443, 1377052344, 1377052376, 1377052244)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.416563510894775 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:01:03.191342 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/44/image_14082025_08_44_58_9026.jpg', '/media/data/images/14082025/08/44/image_14082025_08_45_08_10469.jpg', '/media/data/images/14082025/08/45/image_14082025_08_45_18_9326.jpg', '/media/data/images/14082025/08/45/image_14082025_08_45_28_10411.jpg', '/media/data/images/14082025/08/45/image_14082025_08_45_39_10312.jpg', '/media/data/images/14082025/08/45/image_14082025_08_45_49_10275.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/44/image_14082025_08_44_58_9026.jpg /media/data/images/14082025/08/44/image_14082025_08_45_08_10469.jpg /media/data/images/14082025/08/45/image_14082025_08_45_18_9326.jpg /media/data/images/14082025/08/45/image_14082025_08_45_28_10411.jpg /media/data/images/14082025/08/45/image_14082025_08_45_39_10312.jpg /media/data/images/14082025/08/45/image_14082025_08_45_49_10275.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377052683","1377052649","1377052820","1377052715","1377052750","1377052785"],"photo_ids_order":["1377052649","1377052683","1377052715","1377052750","1377052785","1377052820"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b43a0534101e9f0956df711119e446e.jpg","text":"TemporaryFile(/tmp/multipartBody6830964711570503906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187324278,"filename":"image_14082025_08_45_08_10469.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/830cbbd1c8e5aaf9fbf0634cd437dcc3.jpg","text":"TemporaryFile(/tmp/multipartBody130648846194338631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187324278,"filename":"image_14082025_08_44_58_9026.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c02a81246f5f0e7fa111f4138f8c717e.jpg","text":"TemporaryFile(/tmp/multipartBody8671972947642203794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187324278,"filename":"image_14082025_08_45_49_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec2ffff9effd7b4a84ec3b8d3392c9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2801037595461341292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187324278,"filename":"image_14082025_08_45_18_9326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f37b79ed2ae6d9fec060edb6b2d9cef.jpg","text":"TemporaryFile(/tmp/multipartBody3657621201869668378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187324278,"filename":"image_14082025_08_45_28_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d25c7ac0ade0fce49ad57d5747c858a5.jpg","text":"TemporaryFile(/tmp/multipartBody5341147734549151713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187324278,"filename":"image_14082025_08_45_39_10312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377052715","file1":"1377052683","file0":"1377052649","file4":"1377052785","file5":"1377052820","file3":"1377052750"},"map_files_photo_id_array":[{"photo_id":"1377052820","filename":"file5"},{"photo_id":"1377052715","filename":"file2"},{"photo_id":"1377052785","filename":"file4"},{"photo_id":"1377052683","filename":"file1"},{"photo_id":"1377052649","filename":"file0"},{"photo_id":"1377052750","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377052683":["hashtag1","hashtag2"]},{"1377052649":["hashtag1","hashtag2"]},{"1377052820":["hashtag1","hashtag2"]},{"1377052715":["hashtag1","hashtag2"]},{"1377052750":["hashtag1","hashtag2"]},{"1377052785":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377052683, 1377052649, 1377052820, 1377052715, 1377052750, 1377052785)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.09721755981445 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:02:03.361715 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/45/image_14082025_08_45_58_9068.jpg', '/media/data/images/14082025/08/46/image_14082025_08_46_19_10342.jpg', '/media/data/images/14082025/08/46/image_14082025_08_46_29_10338.jpg', '/media/data/images/14082025/08/46/image_14082025_08_46_38_9030.jpg', '/media/data/images/14082025/08/46/image_14082025_08_46_48_10246.jpg', '/media/data/images/14082025/08/46/image_14082025_08_46_59_10261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/45/image_14082025_08_45_58_9068.jpg /media/data/images/14082025/08/46/image_14082025_08_46_19_10342.jpg /media/data/images/14082025/08/46/image_14082025_08_46_29_10338.jpg /media/data/images/14082025/08/46/image_14082025_08_46_38_9030.jpg /media/data/images/14082025/08/46/image_14082025_08_46_48_10246.jpg /media/data/images/14082025/08/46/image_14082025_08_46_59_10261.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377053229","1377053033","1377053296","1377053164","1377053104","1377053358"],"photo_ids_order":["1377053033","1377053104","1377053164","1377053229","1377053296","1377053358"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3dd1145f453f7030e5d1a8ec2ecd2e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7060932589171230770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187384393,"filename":"image_14082025_08_46_38_9030.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a3c85dc09292d1919fa49931af8531e.jpg","text":"TemporaryFile(/tmp/multipartBody6927147558759010703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187384393,"filename":"image_14082025_08_45_58_9068.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8aef258f2cc89a712b81b666a443f830.jpg","text":"TemporaryFile(/tmp/multipartBody9141520287481199794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187384393,"filename":"image_14082025_08_46_48_10246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16f5f1e1801810a332548ad170dd4ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6459128212861650384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187384393,"filename":"image_14082025_08_46_29_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64e24c87d33f402f4e503bc24a581a73.jpg","text":"TemporaryFile(/tmp/multipartBody1527499917566848286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187384393,"filename":"image_14082025_08_46_19_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d0face50c148b552c5b84e66c8684ad.jpg","text":"TemporaryFile(/tmp/multipartBody4107263107429028997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187384393,"filename":"image_14082025_08_46_59_10261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377053164","file1":"1377053104","file0":"1377053033","file4":"1377053296","file5":"1377053358","file3":"1377053229"},"map_files_photo_id_array":[{"photo_id":"1377053358","filename":"file5"},{"photo_id":"1377053164","filename":"file2"},{"photo_id":"1377053296","filename":"file4"},{"photo_id":"1377053104","filename":"file1"},{"photo_id":"1377053033","filename":"file0"},{"photo_id":"1377053229","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377053229":["hashtag1","hashtag2"]},{"1377053033":["hashtag1","hashtag2"]},{"1377053296":["hashtag1","hashtag2"]},{"1377053164":["hashtag1","hashtag2"]},{"1377053104":["hashtag1","hashtag2"]},{"1377053358":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377053229, 1377053033, 1377053296, 1377053164, 1377053104, 1377053358)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.88823914527893 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:03:03.316290 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/47/image_14082025_08_47_09_10348.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_18_9271.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_29_10431.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_38_9254.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_48_10372.jpg', '/media/data/images/14082025/08/48/image_14082025_08_48_08_9276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/47/image_14082025_08_47_09_10348.jpg /media/data/images/14082025/08/47/image_14082025_08_47_18_9271.jpg /media/data/images/14082025/08/47/image_14082025_08_47_29_10431.jpg /media/data/images/14082025/08/47/image_14082025_08_47_38_9254.jpg /media/data/images/14082025/08/47/image_14082025_08_47_48_10372.jpg /media/data/images/14082025/08/48/image_14082025_08_48_08_9276.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6425344944000244 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:03:22.620385 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/47/image_14082025_08_47_09_10348.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_18_9271.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_29_10431.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_38_9254.jpg', '/media/data/images/14082025/08/47/image_14082025_08_47_48_10372.jpg', '/media/data/images/14082025/08/48/image_14082025_08_48_08_9276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/47/image_14082025_08_47_09_10348.jpg /media/data/images/14082025/08/47/image_14082025_08_47_18_9271.jpg /media/data/images/14082025/08/47/image_14082025_08_47_29_10431.jpg /media/data/images/14082025/08/47/image_14082025_08_47_38_9254.jpg /media/data/images/14082025/08/47/image_14082025_08_47_48_10372.jpg /media/data/images/14082025/08/48/image_14082025_08_48_08_9276.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377053715","1377053852","1377053974","1377053914","1377053784","1377054036"],"photo_ids_order":["1377053715","1377053784","1377053852","1377053914","1377053974","1377054036"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b7b0d738c008dbfe2f2c09ca8d3123e.jpg","text":"TemporaryFile(/tmp/multipartBody5876279715721846313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187463563,"filename":"image_14082025_08_47_09_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e33976459cbd2dc5105b524bb2b7de35.jpg","text":"TemporaryFile(/tmp/multipartBody6372828576462041726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187463563,"filename":"image_14082025_08_47_29_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a79b1c6c3ccfe251a21ce2f8ff84bf6f.jpg","text":"TemporaryFile(/tmp/multipartBody244654897206087669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187463563,"filename":"image_14082025_08_47_48_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8bfb41e5135cd9608ddb1bba17bc242a.jpg","text":"TemporaryFile(/tmp/multipartBody2289817233757783623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187463563,"filename":"image_14082025_08_47_38_9254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6cbcd3201db427905fa06e2e4834d8c.jpg","text":"TemporaryFile(/tmp/multipartBody1777050596935232652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187463563,"filename":"image_14082025_08_47_18_9271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/019ffa4e939edfffeeb9bfac540ab701.jpg","text":"TemporaryFile(/tmp/multipartBody2917321297049909667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187463563,"filename":"image_14082025_08_48_08_9276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377053852","file1":"1377053784","file0":"1377053715","file4":"1377053974","file5":"1377054036","file3":"1377053914"},"map_files_photo_id_array":[{"photo_id":"1377054036","filename":"file5"},{"photo_id":"1377053852","filename":"file2"},{"photo_id":"1377053974","filename":"file4"},{"photo_id":"1377053784","filename":"file1"},{"photo_id":"1377053715","filename":"file0"},{"photo_id":"1377053914","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377053715":["hashtag1","hashtag2"]},{"1377053852":["hashtag1","hashtag2"]},{"1377053974":["hashtag1","hashtag2"]},{"1377053914":["hashtag1","hashtag2"]},{"1377053784":["hashtag1","hashtag2"]},{"1377054036":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377053715, 1377053852, 1377053974, 1377053914, 1377053784, 1377054036)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.946314573287964 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:04:22.744217 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/48/image_14082025_08_48_18_10294.jpg', '/media/data/images/14082025/08/48/image_14082025_08_48_29_10381.jpg', '/media/data/images/14082025/08/48/image_14082025_08_48_39_10438.jpg', '/media/data/images/14082025/08/48/image_14082025_08_48_48_9046.jpg', '/media/data/images/14082025/08/48/image_14082025_08_48_58_10258.jpg', '/media/data/images/14082025/08/49/image_14082025_08_49_09_10222.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/48/image_14082025_08_48_18_10294.jpg /media/data/images/14082025/08/48/image_14082025_08_48_29_10381.jpg /media/data/images/14082025/08/48/image_14082025_08_48_39_10438.jpg /media/data/images/14082025/08/48/image_14082025_08_48_48_9046.jpg /media/data/images/14082025/08/48/image_14082025_08_48_58_10258.jpg /media/data/images/14082025/08/49/image_14082025_08_49_09_10222.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377054612","1377054446","1377054527","1377054413","1377054478","1377054352"],"photo_ids_order":["1377054352","1377054413","1377054446","1377054478","1377054527","1377054612"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa69fc96448a615d3d552b0a9f387cae.jpg","text":"TemporaryFile(/tmp/multipartBody7528528757127135687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187523760,"filename":"image_14082025_08_49_09_10222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f61da721175f01b788fb5a1f4115bc57.jpg","text":"TemporaryFile(/tmp/multipartBody3232309996824475355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187523760,"filename":"image_14082025_08_48_39_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d36fb5906baf086d03f1f070e93506bd.jpg","text":"TemporaryFile(/tmp/multipartBody4252051341967118452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187523760,"filename":"image_14082025_08_48_58_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8051ad86ed10865af55a7587a7f4017a.jpg","text":"TemporaryFile(/tmp/multipartBody4767339854260331382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187523760,"filename":"image_14082025_08_48_29_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c7a5d6f7b8401b10ffb7f92d54dbce3.jpg","text":"TemporaryFile(/tmp/multipartBody2747219254055710051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187523760,"filename":"image_14082025_08_48_48_9046.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3187a8635c59dd265ffdf4e39a004a1.jpg","text":"TemporaryFile(/tmp/multipartBody4805640813147344632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187523760,"filename":"image_14082025_08_48_18_10294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377054446","file1":"1377054413","file0":"1377054352","file4":"1377054527","file5":"1377054612","file3":"1377054478"},"map_files_photo_id_array":[{"photo_id":"1377054612","filename":"file5"},{"photo_id":"1377054446","filename":"file2"},{"photo_id":"1377054527","filename":"file4"},{"photo_id":"1377054413","filename":"file1"},{"photo_id":"1377054352","filename":"file0"},{"photo_id":"1377054478","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377054612":["hashtag1","hashtag2"]},{"1377054446":["hashtag1","hashtag2"]},{"1377054527":["hashtag1","hashtag2"]},{"1377054413":["hashtag1","hashtag2"]},{"1377054478":["hashtag1","hashtag2"]},{"1377054352":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377054612, 1377054446, 1377054527, 1377054413, 1377054478, 1377054352)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.36479377746582 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:05:21.871755 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/49/image_14082025_08_49_19_10391.jpg', '/media/data/images/14082025/08/49/image_14082025_08_49_28_9074.jpg', '/media/data/images/14082025/08/49/image_14082025_08_49_38_10317.jpg', '/media/data/images/14082025/08/49/image_14082025_08_49_59_10256.jpg', '/media/data/images/14082025/08/50/image_14082025_08_50_08_9329.jpg', '/media/data/images/14082025/08/50/image_14082025_08_50_19_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/49/image_14082025_08_49_19_10391.jpg /media/data/images/14082025/08/49/image_14082025_08_49_28_9074.jpg /media/data/images/14082025/08/49/image_14082025_08_49_38_10317.jpg /media/data/images/14082025/08/49/image_14082025_08_49_59_10256.jpg /media/data/images/14082025/08/50/image_14082025_08_50_08_9329.jpg /media/data/images/14082025/08/50/image_14082025_08_50_19_10255.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377055048","1377055213","1377055179","1377055110","1377055244","1377055145"],"photo_ids_order":["1377055048","1377055110","1377055145","1377055179","1377055213","1377055244"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4257f97b9e0b4b2c7f6aef9bd930631f.jpg","text":"TemporaryFile(/tmp/multipartBody9215333983485381083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187582915,"filename":"image_14082025_08_49_19_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd709145cac466185dfa1b22242f0e90.jpg","text":"TemporaryFile(/tmp/multipartBody9123071801516572709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187582915,"filename":"image_14082025_08_50_08_9329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a1e1888891af1c2a5b66134caea6eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2324474918953499993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187582915,"filename":"image_14082025_08_49_59_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df190523351f0785e8a86ea368f364d6.jpg","text":"TemporaryFile(/tmp/multipartBody8175717818668998690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187582915,"filename":"image_14082025_08_49_28_9074.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff5bbb14e01e9bd74ee46ca5aee5fbe0.jpg","text":"TemporaryFile(/tmp/multipartBody5069711891865758424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187582915,"filename":"image_14082025_08_50_19_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7374aaa37409236d96325c57e87d6c0d.jpg","text":"TemporaryFile(/tmp/multipartBody5325476367180074241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187582915,"filename":"image_14082025_08_49_38_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377055145","file1":"1377055110","file0":"1377055048","file4":"1377055213","file5":"1377055244","file3":"1377055179"},"map_files_photo_id_array":[{"photo_id":"1377055244","filename":"file5"},{"photo_id":"1377055145","filename":"file2"},{"photo_id":"1377055213","filename":"file4"},{"photo_id":"1377055110","filename":"file1"},{"photo_id":"1377055048","filename":"file0"},{"photo_id":"1377055179","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377055048":["hashtag1","hashtag2"]},{"1377055213":["hashtag1","hashtag2"]},{"1377055179":["hashtag1","hashtag2"]},{"1377055110":["hashtag1","hashtag2"]},{"1377055244":["hashtag1","hashtag2"]},{"1377055145":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377055048, 1377055213, 1377055179, 1377055110, 1377055244, 1377055145)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.28534936904907 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:06:22.013693 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/50/image_14082025_08_50_29_10256.jpg', '/media/data/images/14082025/08/50/image_14082025_08_50_38_9058.jpg', '/media/data/images/14082025/08/50/image_14082025_08_50_48_10407.jpg', '/media/data/images/14082025/08/50/image_14082025_08_50_58_10251.jpg', '/media/data/images/14082025/08/51/image_14082025_08_51_09_10249.jpg', '/media/data/images/14082025/08/51/image_14082025_08_51_19_10279.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/50/image_14082025_08_50_29_10256.jpg /media/data/images/14082025/08/50/image_14082025_08_50_38_9058.jpg /media/data/images/14082025/08/50/image_14082025_08_50_48_10407.jpg /media/data/images/14082025/08/50/image_14082025_08_50_58_10251.jpg /media/data/images/14082025/08/51/image_14082025_08_51_09_10249.jpg /media/data/images/14082025/08/51/image_14082025_08_51_19_10279.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377055739","1377055669","1377055834","1377055935","1377056066","1377056000"],"photo_ids_order":["1377055669","1377055739","1377055834","1377055935","1377056000","1377056066"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fc9690c0464fc088475969b474df30d.jpg","text":"TemporaryFile(/tmp/multipartBody4757340675416645370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187643034,"filename":"image_14082025_08_50_38_9058.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3164dc0706e15c515a294788d064b147.jpg","text":"TemporaryFile(/tmp/multipartBody3871916553722120287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187643034,"filename":"image_14082025_08_50_29_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8983b29cff2b3433afc1113481cae0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5483281598948920028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187643034,"filename":"image_14082025_08_50_48_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4100d81631198ef1431cdd3b18accb23.jpg","text":"TemporaryFile(/tmp/multipartBody6326930520545557539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187643034,"filename":"image_14082025_08_50_58_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4dc7e0fb04753fd55873b98d45d79bac.jpg","text":"TemporaryFile(/tmp/multipartBody6317596984337415692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187643034,"filename":"image_14082025_08_51_19_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0fb0fb686800e2e7bb170ae4899ef8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2755364156074242566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187643034,"filename":"image_14082025_08_51_09_10249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377055834","file1":"1377055739","file0":"1377055669","file4":"1377056000","file5":"1377056066","file3":"1377055935"},"map_files_photo_id_array":[{"photo_id":"1377056066","filename":"file5"},{"photo_id":"1377055834","filename":"file2"},{"photo_id":"1377056000","filename":"file4"},{"photo_id":"1377055739","filename":"file1"},{"photo_id":"1377055669","filename":"file0"},{"photo_id":"1377055935","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377055739":["hashtag1","hashtag2"]},{"1377055669":["hashtag1","hashtag2"]},{"1377055834":["hashtag1","hashtag2"]},{"1377055935":["hashtag1","hashtag2"]},{"1377056066":["hashtag1","hashtag2"]},{"1377056000":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377055739, 1377055669, 1377055834, 1377055935, 1377056066, 1377056000)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.476401567459106 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:07:22.145247 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/51/image_14082025_08_51_28_9139.jpg', '/media/data/images/14082025/08/51/image_14082025_08_51_38_10251.jpg', '/media/data/images/14082025/08/51/image_14082025_08_51_49_10413.jpg', '/media/data/images/14082025/08/51/image_14082025_08_52_09_10581.jpg', '/media/data/images/14082025/08/52/image_14082025_08_52_19_10283.jpg', '/media/data/images/14082025/08/52/image_14082025_08_52_28_9042.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/51/image_14082025_08_51_28_9139.jpg /media/data/images/14082025/08/51/image_14082025_08_51_38_10251.jpg /media/data/images/14082025/08/51/image_14082025_08_51_49_10413.jpg /media/data/images/14082025/08/51/image_14082025_08_52_09_10581.jpg /media/data/images/14082025/08/52/image_14082025_08_52_19_10283.jpg /media/data/images/14082025/08/52/image_14082025_08_52_28_9042.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377056554","1377056553","1377056550","1377056523","1377056474","1377056513"],"photo_ids_order":["1377056474","1377056513","1377056523","1377056550","1377056553","1377056554"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd35de0277a8df6a7a2b685ddce8790e.jpg","text":"TemporaryFile(/tmp/multipartBody4653223511343130163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187703200,"filename":"image_14082025_08_52_28_9042.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/593a8fd7db43487a7a2d3a87e046fbb6.jpg","text":"TemporaryFile(/tmp/multipartBody6141158389198905641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187703200,"filename":"image_14082025_08_52_19_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c030dba1068d944a289a6308f5e2d95.jpg","text":"TemporaryFile(/tmp/multipartBody2500637815064304114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187703200,"filename":"image_14082025_08_52_09_10581.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c0ea2d2006f568429fddda89012debb.jpg","text":"TemporaryFile(/tmp/multipartBody1963629235369635299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187703200,"filename":"image_14082025_08_51_49_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5364155e4df658c7fbdc5b9cd21d6caf.jpg","text":"TemporaryFile(/tmp/multipartBody6892184470698714333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187703200,"filename":"image_14082025_08_51_28_9139.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1acb670ae07374274b90ebfa314a812b.jpg","text":"TemporaryFile(/tmp/multipartBody6549276932238189410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187703200,"filename":"image_14082025_08_51_38_10251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377056523","file1":"1377056513","file0":"1377056474","file4":"1377056553","file5":"1377056554","file3":"1377056550"},"map_files_photo_id_array":[{"photo_id":"1377056554","filename":"file5"},{"photo_id":"1377056523","filename":"file2"},{"photo_id":"1377056553","filename":"file4"},{"photo_id":"1377056513","filename":"file1"},{"photo_id":"1377056474","filename":"file0"},{"photo_id":"1377056550","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377056554":["hashtag1","hashtag2"]},{"1377056553":["hashtag1","hashtag2"]},{"1377056550":["hashtag1","hashtag2"]},{"1377056523":["hashtag1","hashtag2"]},{"1377056474":["hashtag1","hashtag2"]},{"1377056513":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377056554, 1377056553, 1377056550, 1377056523, 1377056474, 1377056513)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.29723048210144 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:08:22.233368 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/52/image_14082025_08_52_38_10298.jpg', '/media/data/images/14082025/08/52/image_14082025_08_52_48_10327.jpg', '/media/data/images/14082025/08/52/image_14082025_08_52_59_10329.jpg', '/media/data/images/14082025/08/53/image_14082025_08_53_09_10222.jpg', '/media/data/images/14082025/08/53/image_14082025_08_53_18_9140.jpg', '/media/data/images/14082025/08/53/image_14082025_08_53_29_10499.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/52/image_14082025_08_52_38_10298.jpg /media/data/images/14082025/08/52/image_14082025_08_52_48_10327.jpg /media/data/images/14082025/08/52/image_14082025_08_52_59_10329.jpg /media/data/images/14082025/08/53/image_14082025_08_53_09_10222.jpg /media/data/images/14082025/08/53/image_14082025_08_53_18_9140.jpg /media/data/images/14082025/08/53/image_14082025_08_53_29_10499.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377056749","1377056815","1377056704","1377056670","1377056783","1377056618"],"photo_ids_order":["1377056618","1377056670","1377056704","1377056749","1377056783","1377056815"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64a0b1cfe8ab28c2ffee4341e0d3c668.jpg","text":"TemporaryFile(/tmp/multipartBody8661928884958897847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187763269,"filename":"image_14082025_08_53_09_10222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be378339e5b31b97f210b1e32ec4ea11.jpg","text":"TemporaryFile(/tmp/multipartBody3230849375290877102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187763269,"filename":"image_14082025_08_53_29_10499.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72699c285cb4deac783218ece41b5187.jpg","text":"TemporaryFile(/tmp/multipartBody4180508835075222323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187763269,"filename":"image_14082025_08_52_59_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27ed1f437a610fa512a01d993028d430.jpg","text":"TemporaryFile(/tmp/multipartBody4739677824120472539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187763269,"filename":"image_14082025_08_52_48_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c830f7f1cf8cea1e2532e685349a509.jpg","text":"TemporaryFile(/tmp/multipartBody7939559273222144464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187763269,"filename":"image_14082025_08_53_18_9140.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a9a4a0c6f0b7ead1a61d49eaecca433.jpg","text":"TemporaryFile(/tmp/multipartBody5227401807491861835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187763269,"filename":"image_14082025_08_52_38_10298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377056704","file1":"1377056670","file0":"1377056618","file4":"1377056783","file5":"1377056815","file3":"1377056749"},"map_files_photo_id_array":[{"photo_id":"1377056815","filename":"file5"},{"photo_id":"1377056704","filename":"file2"},{"photo_id":"1377056783","filename":"file4"},{"photo_id":"1377056670","filename":"file1"},{"photo_id":"1377056618","filename":"file0"},{"photo_id":"1377056749","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377056749":["hashtag1","hashtag2"]},{"1377056815":["hashtag1","hashtag2"]},{"1377056704":["hashtag1","hashtag2"]},{"1377056670":["hashtag1","hashtag2"]},{"1377056783":["hashtag1","hashtag2"]},{"1377056618":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377056749, 1377056815, 1377056704, 1377056670, 1377056783, 1377056618)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.683655977249146 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:09:22.324466 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/53/image_14082025_08_53_39_10359.jpg', '/media/data/images/14082025/08/53/image_14082025_08_53_48_9143.jpg', '/media/data/images/14082025/08/53/image_14082025_08_53_58_10342.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_08_9377.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_18_10342.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_29_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/53/image_14082025_08_53_39_10359.jpg /media/data/images/14082025/08/53/image_14082025_08_53_48_9143.jpg /media/data/images/14082025/08/53/image_14082025_08_53_58_10342.jpg /media/data/images/14082025/08/54/image_14082025_08_54_08_9377.jpg /media/data/images/14082025/08/54/image_14082025_08_54_18_10342.jpg /media/data/images/14082025/08/54/image_14082025_08_54_29_10341.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377057037","1377057072","1377056997","1377057054","1377057059","1377057050"],"photo_ids_order":["1377056997","1377057037","1377057050","1377057054","1377057059","1377057072"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/763295b0a158e4f16da83398fd890aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2945485629007827766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187823285,"filename":"image_14082025_08_53_48_9143.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63d13dcd43f92b70037aa6a181f11b26.jpg","text":"TemporaryFile(/tmp/multipartBody3390074931159428245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187823285,"filename":"image_14082025_08_54_29_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6bd856cce5e5fc164c2966fcd9cee11.jpg","text":"TemporaryFile(/tmp/multipartBody747606501260645982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187823285,"filename":"image_14082025_08_53_39_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/692ad27cc9b210059dfb6f2acd09e6fc.jpg","text":"TemporaryFile(/tmp/multipartBody2589971285265945647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187823285,"filename":"image_14082025_08_54_08_9377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0bfa119eed2a855899da2ba75ab63530.jpg","text":"TemporaryFile(/tmp/multipartBody7679339271612274006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187823285,"filename":"image_14082025_08_54_18_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4dfabd58d9ce38709e1a6d210d088f78.jpg","text":"TemporaryFile(/tmp/multipartBody5732778240833019732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187823285,"filename":"image_14082025_08_53_58_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377057050","file1":"1377057037","file0":"1377056997","file4":"1377057059","file5":"1377057072","file3":"1377057054"},"map_files_photo_id_array":[{"photo_id":"1377057072","filename":"file5"},{"photo_id":"1377057050","filename":"file2"},{"photo_id":"1377057059","filename":"file4"},{"photo_id":"1377057037","filename":"file1"},{"photo_id":"1377056997","filename":"file0"},{"photo_id":"1377057054","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377057037":["hashtag1","hashtag2"]},{"1377057072":["hashtag1","hashtag2"]},{"1377056997":["hashtag1","hashtag2"]},{"1377057054":["hashtag1","hashtag2"]},{"1377057059":["hashtag1","hashtag2"]},{"1377057050":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377057037, 1377057072, 1377056997, 1377057054, 1377057059, 1377057050)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.32144737243652 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:10:22.427940 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/54/image_14082025_08_54_39_10395.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_48_9210.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_59_10366.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_08_9384.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_18_10412.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_29_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/54/image_14082025_08_54_39_10395.jpg /media/data/images/14082025/08/54/image_14082025_08_54_48_9210.jpg /media/data/images/14082025/08/54/image_14082025_08_54_59_10366.jpg /media/data/images/14082025/08/55/image_14082025_08_55_08_9384.jpg /media/data/images/14082025/08/55/image_14082025_08_55_18_10412.jpg /media/data/images/14082025/08/55/image_14082025_08_55_29_10432.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.540459394454956 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:10:42.435576 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/54/image_14082025_08_54_39_10395.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_48_9210.jpg', '/media/data/images/14082025/08/54/image_14082025_08_54_59_10366.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_08_9384.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_18_10412.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_29_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/54/image_14082025_08_54_39_10395.jpg /media/data/images/14082025/08/54/image_14082025_08_54_48_9210.jpg /media/data/images/14082025/08/54/image_14082025_08_54_59_10366.jpg /media/data/images/14082025/08/55/image_14082025_08_55_08_9384.jpg /media/data/images/14082025/08/55/image_14082025_08_55_18_10412.jpg /media/data/images/14082025/08/55/image_14082025_08_55_29_10432.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377057412","1377057396","1377057444","1377057426","1377057434","1377057437"],"photo_ids_order":["1377057396","1377057412","1377057426","1377057434","1377057437","1377057444"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07b026253cde43ba57c8e7a8ed6d21bc.jpg","text":"TemporaryFile(/tmp/multipartBody6263664809351707345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187903330,"filename":"image_14082025_08_54_48_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28d4a97b1d1508aa7a3cd3df09bbd751.jpg","text":"TemporaryFile(/tmp/multipartBody1630633315652993153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187903330,"filename":"image_14082025_08_54_39_10395.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/140cc9b831e0cc40efe7f1da208c26fb.jpg","text":"TemporaryFile(/tmp/multipartBody1289619612986341003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187903330,"filename":"image_14082025_08_55_29_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/afeb3b21aeb424b9a05d7464cb1fbd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3065496895944439060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187903330,"filename":"image_14082025_08_54_59_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c11bc027648c730f44acc8f6f8c4406.jpg","text":"TemporaryFile(/tmp/multipartBody3172174919531743857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187903330,"filename":"image_14082025_08_55_08_9384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c47969fe8fac160d680a9376ba7bb08.jpg","text":"TemporaryFile(/tmp/multipartBody6037491354395502980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187903330,"filename":"image_14082025_08_55_18_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377057426","file1":"1377057412","file0":"1377057396","file4":"1377057437","file5":"1377057444","file3":"1377057434"},"map_files_photo_id_array":[{"photo_id":"1377057444","filename":"file5"},{"photo_id":"1377057426","filename":"file2"},{"photo_id":"1377057437","filename":"file4"},{"photo_id":"1377057412","filename":"file1"},{"photo_id":"1377057396","filename":"file0"},{"photo_id":"1377057434","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377057412":["hashtag1","hashtag2"]},{"1377057396":["hashtag1","hashtag2"]},{"1377057444":["hashtag1","hashtag2"]},{"1377057426":["hashtag1","hashtag2"]},{"1377057434":["hashtag1","hashtag2"]},{"1377057437":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377057412, 1377057396, 1377057444, 1377057426, 1377057434, 1377057437)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.71807861328125 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:11:42.654265 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/55/image_14082025_08_55_38_9114.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_48_10360.jpg', '/media/data/images/14082025/08/55/image_14082025_08_55_59_10412.jpg', '/media/data/images/14082025/08/56/image_14082025_08_56_08_9316.jpg', '/media/data/images/14082025/08/56/image_14082025_08_56_18_10405.jpg', '/media/data/images/14082025/08/56/image_14082025_08_56_29_10389.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/55/image_14082025_08_55_38_9114.jpg /media/data/images/14082025/08/55/image_14082025_08_55_48_10360.jpg /media/data/images/14082025/08/55/image_14082025_08_55_59_10412.jpg /media/data/images/14082025/08/56/image_14082025_08_56_08_9316.jpg /media/data/images/14082025/08/56/image_14082025_08_56_18_10405.jpg /media/data/images/14082025/08/56/image_14082025_08_56_29_10389.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377057700","1377057666","1377057633","1377057735","1377057801","1377057766"],"photo_ids_order":["1377057633","1377057666","1377057700","1377057735","1377057766","1377057801"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f3508f24c3da580c0bd9e4b265e68c3.jpg","text":"TemporaryFile(/tmp/multipartBody5479154333411826853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187963626,"filename":"image_14082025_08_55_59_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd6cddceea69f1e779cd7325c7080d62.jpg","text":"TemporaryFile(/tmp/multipartBody9211582512455257099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187963626,"filename":"image_14082025_08_55_48_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/938b4db23260338c58cfc4e90a221c8d.jpg","text":"TemporaryFile(/tmp/multipartBody7778895575330205984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187963626,"filename":"image_14082025_08_55_38_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5bf679dd49a6d493828e103ba3a281a4.jpg","text":"TemporaryFile(/tmp/multipartBody8379661000472240959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187963626,"filename":"image_14082025_08_56_08_9316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/19720b83d3566b48abaf2d8450ea02b7.jpg","text":"TemporaryFile(/tmp/multipartBody6414962812112123598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187963626,"filename":"image_14082025_08_56_29_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6b6746f4a581ef60fc15392e6efa3a5.jpg","text":"TemporaryFile(/tmp/multipartBody5456375092969568583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755187963626,"filename":"image_14082025_08_56_18_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377057700","file1":"1377057666","file0":"1377057633","file4":"1377057766","file5":"1377057801","file3":"1377057735"},"map_files_photo_id_array":[{"photo_id":"1377057801","filename":"file5"},{"photo_id":"1377057700","filename":"file2"},{"photo_id":"1377057766","filename":"file4"},{"photo_id":"1377057666","filename":"file1"},{"photo_id":"1377057633","filename":"file0"},{"photo_id":"1377057735","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377057700":["hashtag1","hashtag2"]},{"1377057666":["hashtag1","hashtag2"]},{"1377057633":["hashtag1","hashtag2"]},{"1377057735":["hashtag1","hashtag2"]},{"1377057801":["hashtag1","hashtag2"]},{"1377057766":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377057700, 1377057666, 1377057633, 1377057735, 1377057801, 1377057766)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.362417221069336 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:12:42.682871 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/56/image_14082025_08_56_38_9120.jpg', '/media/data/images/14082025/08/56/image_14082025_08_56_48_10407.jpg', '/media/data/images/14082025/08/56/image_14082025_08_56_59_10411.jpg', '/media/data/images/14082025/08/57/image_14082025_08_57_08_9121.jpg', '/media/data/images/14082025/08/57/image_14082025_08_57_18_10257.jpg', '/media/data/images/14082025/08/57/image_14082025_08_57_28_10361.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/56/image_14082025_08_56_38_9120.jpg /media/data/images/14082025/08/56/image_14082025_08_56_48_10407.jpg /media/data/images/14082025/08/56/image_14082025_08_56_59_10411.jpg /media/data/images/14082025/08/57/image_14082025_08_57_08_9121.jpg /media/data/images/14082025/08/57/image_14082025_08_57_18_10257.jpg /media/data/images/14082025/08/57/image_14082025_08_57_28_10361.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377058102","1377058068","1377058145","1377058219","1377058033","1377058182"],"photo_ids_order":["1377058033","1377058068","1377058102","1377058145","1377058182","1377058219"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a918842396ca36e91a473c2de9055a3b.jpg","text":"TemporaryFile(/tmp/multipartBody8808046132651090539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188023698,"filename":"image_14082025_08_56_59_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c91a9d943362104e3058533a09df457e.jpg","text":"TemporaryFile(/tmp/multipartBody1411792071819405972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188023698,"filename":"image_14082025_08_56_48_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d691a759595b02d4586171025cdc0be6.jpg","text":"TemporaryFile(/tmp/multipartBody1735031414456834306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188023698,"filename":"image_14082025_08_57_08_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10a97c89b24eb74933e7b11db1c8f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody6688955556092453123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188023698,"filename":"image_14082025_08_57_28_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f66106590fdcb9edc8ba8a67e4b4eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody6754658048584208412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188023698,"filename":"image_14082025_08_56_38_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10f2ae800e35782e9de069f86aaa6cad.jpg","text":"TemporaryFile(/tmp/multipartBody2329134227693299373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188023698,"filename":"image_14082025_08_57_18_10257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377058102","file1":"1377058068","file0":"1377058033","file4":"1377058182","file5":"1377058219","file3":"1377058145"},"map_files_photo_id_array":[{"photo_id":"1377058219","filename":"file5"},{"photo_id":"1377058102","filename":"file2"},{"photo_id":"1377058182","filename":"file4"},{"photo_id":"1377058068","filename":"file1"},{"photo_id":"1377058033","filename":"file0"},{"photo_id":"1377058145","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377058102":["hashtag1","hashtag2"]},{"1377058068":["hashtag1","hashtag2"]},{"1377058145":["hashtag1","hashtag2"]},{"1377058219":["hashtag1","hashtag2"]},{"1377058033":["hashtag1","hashtag2"]},{"1377058182":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377058102, 1377058068, 1377058145, 1377058219, 1377058033, 1377058182)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.01880764961243 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:13:41.786090 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/57/image_14082025_08_57_39_10363.jpg', '/media/data/images/14082025/08/57/image_14082025_08_57_48_9137.jpg', '/media/data/images/14082025/08/57/image_14082025_08_57_58_10453.jpg', '/media/data/images/14082025/08/58/image_14082025_08_58_09_10333.jpg', '/media/data/images/14082025/08/58/image_14082025_08_58_19_10313.jpg', '/media/data/images/14082025/08/58/image_14082025_08_58_28_9063.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/57/image_14082025_08_57_39_10363.jpg /media/data/images/14082025/08/57/image_14082025_08_57_48_9137.jpg /media/data/images/14082025/08/57/image_14082025_08_57_58_10453.jpg /media/data/images/14082025/08/58/image_14082025_08_58_09_10333.jpg /media/data/images/14082025/08/58/image_14082025_08_58_19_10313.jpg /media/data/images/14082025/08/58/image_14082025_08_58_28_9063.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377058496","1377058562","1377058457","1377058424","1377058604","1377058528"],"photo_ids_order":["1377058424","1377058457","1377058496","1377058528","1377058562","1377058604"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e656d67e5419f2b360c755704e9aee8a.jpg","text":"TemporaryFile(/tmp/multipartBody1849823835644983941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188082793,"filename":"image_14082025_08_57_58_10453.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab321bdde2f8a05bf510cb02e7cc3b5c.jpg","text":"TemporaryFile(/tmp/multipartBody4962242359395941837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188082793,"filename":"image_14082025_08_58_19_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2cbf3fe0c0cd5db8d5d3540f0f58655.jpg","text":"TemporaryFile(/tmp/multipartBody1502435108284182251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188082793,"filename":"image_14082025_08_57_48_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2b7af512b6783fff61e1062efb9aa28.jpg","text":"TemporaryFile(/tmp/multipartBody4827509342562109529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188082793,"filename":"image_14082025_08_57_39_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/748351a80448baaa01184bdc5df33b48.jpg","text":"TemporaryFile(/tmp/multipartBody1386458619080978923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188082793,"filename":"image_14082025_08_58_28_9063.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ccf0a283742b2cffae3edc70b027b26.jpg","text":"TemporaryFile(/tmp/multipartBody53498783702714262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188082793,"filename":"image_14082025_08_58_09_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377058496","file1":"1377058457","file0":"1377058424","file4":"1377058562","file5":"1377058604","file3":"1377058528"},"map_files_photo_id_array":[{"photo_id":"1377058604","filename":"file5"},{"photo_id":"1377058496","filename":"file2"},{"photo_id":"1377058562","filename":"file4"},{"photo_id":"1377058457","filename":"file1"},{"photo_id":"1377058424","filename":"file0"},{"photo_id":"1377058528","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377058496":["hashtag1","hashtag2"]},{"1377058562":["hashtag1","hashtag2"]},{"1377058457":["hashtag1","hashtag2"]},{"1377058424":["hashtag1","hashtag2"]},{"1377058604":["hashtag1","hashtag2"]},{"1377058528":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377058496, 1377058562, 1377058457, 1377058424, 1377058604, 1377058528)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.95562958717346 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:14:41.892513 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/58/image_14082025_08_58_38_10355.jpg', '/media/data/images/14082025/08/58/image_14082025_08_58_49_10359.jpg', '/media/data/images/14082025/08/58/image_14082025_08_58_58_9307.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_09_10395.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_19_10296.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_28_9088.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/58/image_14082025_08_58_38_10355.jpg /media/data/images/14082025/08/58/image_14082025_08_58_49_10359.jpg /media/data/images/14082025/08/58/image_14082025_08_58_58_9307.jpg /media/data/images/14082025/08/59/image_14082025_08_59_09_10395.jpg /media/data/images/14082025/08/59/image_14082025_08_59_19_10296.jpg /media/data/images/14082025/08/59/image_14082025_08_59_28_9088.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377058755","1377058662","1377058815","1377058628","1377058631","1377058696"],"photo_ids_order":["1377058628","1377058631","1377058662","1377058696","1377058755","1377058815"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eff366864ddeff168e34d2b07af46319.jpg","text":"TemporaryFile(/tmp/multipartBody2720479171795404210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188142963,"filename":"image_14082025_08_59_19_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69d2a70fb93c72d9026925bfd38fa34c.jpg","text":"TemporaryFile(/tmp/multipartBody2389754026679847467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188142963,"filename":"image_14082025_08_58_58_9307.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba17629943d48a929dae7607e98a63bd.jpg","text":"TemporaryFile(/tmp/multipartBody6304212965202996532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188142963,"filename":"image_14082025_08_59_28_9088.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/940b06ed6a55fdd297a9929210fda8c1.jpg","text":"TemporaryFile(/tmp/multipartBody1387294386074687838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188142963,"filename":"image_14082025_08_58_38_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd4a1f4f0f89bd8e18a38392fa12f5bd.jpg","text":"TemporaryFile(/tmp/multipartBody8531398903280302596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188142963,"filename":"image_14082025_08_58_49_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee916c51f24e37c691df9a1ad3909215.jpg","text":"TemporaryFile(/tmp/multipartBody3931856205431245638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188142963,"filename":"image_14082025_08_59_09_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377058662","file1":"1377058631","file0":"1377058628","file4":"1377058755","file5":"1377058815","file3":"1377058696"},"map_files_photo_id_array":[{"photo_id":"1377058815","filename":"file5"},{"photo_id":"1377058662","filename":"file2"},{"photo_id":"1377058755","filename":"file4"},{"photo_id":"1377058631","filename":"file1"},{"photo_id":"1377058628","filename":"file0"},{"photo_id":"1377058696","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377058755":["hashtag1","hashtag2"]},{"1377058662":["hashtag1","hashtag2"]},{"1377058815":["hashtag1","hashtag2"]},{"1377058628":["hashtag1","hashtag2"]},{"1377058631":["hashtag1","hashtag2"]},{"1377058696":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377058755, 1377058662, 1377058815, 1377058628, 1377058631, 1377058696)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.576345682144165 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:15:42.233487 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/59/image_14082025_08_59_38_10420.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_49_10490.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_58_9060.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_08_10622.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_19_10366.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_28_9217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/59/image_14082025_08_59_38_10420.jpg /media/data/images/14082025/08/59/image_14082025_08_59_49_10490.jpg /media/data/images/14082025/08/59/image_14082025_08_59_58_9060.jpg /media/data/images/14082025/08/59/image_14082025_09_00_08_10622.jpg /media/data/images/14082025/08/59/image_14082025_09_00_19_10366.jpg /media/data/images/14082025/08/59/image_14082025_09_00_28_9217.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6230542659759521 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:16:02.898540 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/59/image_14082025_08_59_38_10420.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_49_10490.jpg', '/media/data/images/14082025/08/59/image_14082025_08_59_58_9060.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_08_10622.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_19_10366.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_28_9217.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/59/image_14082025_08_59_38_10420.jpg /media/data/images/14082025/08/59/image_14082025_08_59_49_10490.jpg /media/data/images/14082025/08/59/image_14082025_08_59_58_9060.jpg /media/data/images/14082025/08/59/image_14082025_09_00_08_10622.jpg /media/data/images/14082025/08/59/image_14082025_09_00_19_10366.jpg /media/data/images/14082025/08/59/image_14082025_09_00_28_9217.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377059433","1377059412","1377059399","1377059474","1377059470","1377059329"],"photo_ids_order":["1377059329","1377059399","1377059412","1377059433","1377059470","1377059474"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b1a905ec36e1c7b7a0583a1a2964b2d.jpg","text":"TemporaryFile(/tmp/multipartBody3969569380177156614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188223851,"filename":"image_14082025_09_00_08_10622.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b1a819d0f5ffc9242984034b37b9bf43.jpg","text":"TemporaryFile(/tmp/multipartBody6075492740278839426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188223851,"filename":"image_14082025_08_59_58_9060.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59c4c618ea96f4cebeee3453efb3d3be.jpg","text":"TemporaryFile(/tmp/multipartBody6324135177706018439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188223851,"filename":"image_14082025_08_59_49_10490.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e847c3e0777906e271773a9168fe0bf.jpg","text":"TemporaryFile(/tmp/multipartBody1460559622621717035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188223851,"filename":"image_14082025_09_00_28_9217.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5953da1e1d625dc4d187762e1b89950d.jpg","text":"TemporaryFile(/tmp/multipartBody6752186348130675609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188223851,"filename":"image_14082025_09_00_19_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2aed621e6a29b571a0b7df4bd51ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody7945441752629895161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188223851,"filename":"image_14082025_08_59_38_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377059412","file1":"1377059399","file0":"1377059329","file4":"1377059470","file5":"1377059474","file3":"1377059433"},"map_files_photo_id_array":[{"photo_id":"1377059474","filename":"file5"},{"photo_id":"1377059412","filename":"file2"},{"photo_id":"1377059470","filename":"file4"},{"photo_id":"1377059399","filename":"file1"},{"photo_id":"1377059329","filename":"file0"},{"photo_id":"1377059433","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377059433":["hashtag1","hashtag2"]},{"1377059412":["hashtag1","hashtag2"]},{"1377059399":["hashtag1","hashtag2"]},{"1377059474":["hashtag1","hashtag2"]},{"1377059470":["hashtag1","hashtag2"]},{"1377059329":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377059433, 1377059412, 1377059399, 1377059474, 1377059470, 1377059329)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.3095178604126 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:17:03.231386 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/08/59/image_14082025_09_00_39_10417.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_49_10372.jpg', '/media/data/images/14082025/08/59/image_14082025_09_00_58_9233.jpg', '/media/data/images/14082025/09/01/image_14082025_09_01_08_10252.jpg', '/media/data/images/14082025/09/01/image_14082025_09_01_19_10391.jpg', '/media/data/images/14082025/09/01/image_14082025_09_01_28_9138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/08/59/image_14082025_09_00_39_10417.jpg /media/data/images/14082025/08/59/image_14082025_09_00_49_10372.jpg /media/data/images/14082025/08/59/image_14082025_09_00_58_9233.jpg /media/data/images/14082025/09/01/image_14082025_09_01_08_10252.jpg /media/data/images/14082025/09/01/image_14082025_09_01_19_10391.jpg /media/data/images/14082025/09/01/image_14082025_09_01_28_9138.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377059724","1377059805","1377059795","1377059671","1377059764","1377059800"],"photo_ids_order":["1377059671","1377059724","1377059764","1377059795","1377059800","1377059805"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7055db52fbe49f28704abfba3379519.jpg","text":"TemporaryFile(/tmp/multipartBody4305228712867022331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188284208,"filename":"image_14082025_09_00_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e4fb922a85f4fb9260457d8e9664ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4025406924444963426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188284208,"filename":"image_14082025_09_01_28_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7b407dc07c4d99a7015cbc31d47479a1.jpg","text":"TemporaryFile(/tmp/multipartBody8528071530221982435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188284208,"filename":"image_14082025_09_01_08_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20d70926f6a586b09cb651e96d7a7a09.jpg","text":"TemporaryFile(/tmp/multipartBody4411397078070123216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188284208,"filename":"image_14082025_09_00_39_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c279011d671d5fc2d71eb192468b6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6334994708080217390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188284208,"filename":"image_14082025_09_00_58_9233.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71f36bf2f5219cfe2e42c0c0c191d710.jpg","text":"TemporaryFile(/tmp/multipartBody8759085374203057707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188284208,"filename":"image_14082025_09_01_19_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377059764","file1":"1377059724","file0":"1377059671","file4":"1377059800","file5":"1377059805","file3":"1377059795"},"map_files_photo_id_array":[{"photo_id":"1377059805","filename":"file5"},{"photo_id":"1377059764","filename":"file2"},{"photo_id":"1377059800","filename":"file4"},{"photo_id":"1377059724","filename":"file1"},{"photo_id":"1377059671","filename":"file0"},{"photo_id":"1377059795","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377059724":["hashtag1","hashtag2"]},{"1377059805":["hashtag1","hashtag2"]},{"1377059795":["hashtag1","hashtag2"]},{"1377059671":["hashtag1","hashtag2"]},{"1377059764":["hashtag1","hashtag2"]},{"1377059800":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377059724, 1377059805, 1377059795, 1377059671, 1377059764, 1377059800)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.316277503967285 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:18:02.982934 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/01/image_14082025_09_01_38_10390.jpg', '/media/data/images/14082025/09/01/image_14082025_09_01_49_10456.jpg', '/media/data/images/14082025/09/01/image_14082025_09_01_58_9149.jpg', '/media/data/images/14082025/09/01/image_14082025_09_02_09_10615.jpg', '/media/data/images/14082025/09/02/image_14082025_09_02_19_10369.jpg', '/media/data/images/14082025/09/02/image_14082025_09_02_28_9245.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/01/image_14082025_09_01_38_10390.jpg /media/data/images/14082025/09/01/image_14082025_09_01_49_10456.jpg /media/data/images/14082025/09/01/image_14082025_09_01_58_9149.jpg /media/data/images/14082025/09/01/image_14082025_09_02_09_10615.jpg /media/data/images/14082025/09/02/image_14082025_09_02_19_10369.jpg /media/data/images/14082025/09/02/image_14082025_09_02_28_9245.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377059873","1377059840","1377059831","1377059836","1377059821","1377059826"],"photo_ids_order":["1377059821","1377059826","1377059831","1377059836","1377059840","1377059873"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2748d5e10600c828d3768c13b0fe915e.jpg","text":"TemporaryFile(/tmp/multipartBody8289062079255965552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188343960,"filename":"image_14082025_09_02_28_9245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff5ddc475e111ca2b2d33a2f9de1a881.jpg","text":"TemporaryFile(/tmp/multipartBody1734023037197199716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188343960,"filename":"image_14082025_09_02_19_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/861e682858f5dda246822c0a9f9c6089.jpg","text":"TemporaryFile(/tmp/multipartBody2952970183586377131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188343960,"filename":"image_14082025_09_01_58_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df345186127f34a4e1cfc10da524b8e2.jpg","text":"TemporaryFile(/tmp/multipartBody8179552727001364561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188343960,"filename":"image_14082025_09_02_09_10615.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf3064db592db0b1284c181f738e4617.jpg","text":"TemporaryFile(/tmp/multipartBody1064923132227550335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188343960,"filename":"image_14082025_09_01_38_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f1af6ae59c1d6cb666d9a92db5a7845.jpg","text":"TemporaryFile(/tmp/multipartBody894724273132809300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188343960,"filename":"image_14082025_09_01_49_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377059831","file1":"1377059826","file0":"1377059821","file4":"1377059840","file5":"1377059873","file3":"1377059836"},"map_files_photo_id_array":[{"photo_id":"1377059873","filename":"file5"},{"photo_id":"1377059831","filename":"file2"},{"photo_id":"1377059840","filename":"file4"},{"photo_id":"1377059826","filename":"file1"},{"photo_id":"1377059821","filename":"file0"},{"photo_id":"1377059836","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377059873":["hashtag1","hashtag2"]},{"1377059840":["hashtag1","hashtag2"]},{"1377059831":["hashtag1","hashtag2"]},{"1377059836":["hashtag1","hashtag2"]},{"1377059821":["hashtag1","hashtag2"]},{"1377059826":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377059873, 1377059840, 1377059831, 1377059836, 1377059821, 1377059826)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.610748529434204 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:19:03.370454 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/02/image_14082025_09_02_39_10410.jpg', '/media/data/images/14082025/09/02/image_14082025_09_02_49_10429.jpg', '/media/data/images/14082025/09/02/image_14082025_09_02_58_9121.jpg', '/media/data/images/14082025/09/03/image_14082025_09_03_08_10351.jpg', '/media/data/images/14082025/09/03/image_14082025_09_03_19_10458.jpg', '/media/data/images/14082025/09/03/image_14082025_09_03_28_9191.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/02/image_14082025_09_02_39_10410.jpg /media/data/images/14082025/09/02/image_14082025_09_02_49_10429.jpg /media/data/images/14082025/09/02/image_14082025_09_02_58_9121.jpg /media/data/images/14082025/09/03/image_14082025_09_03_08_10351.jpg /media/data/images/14082025/09/03/image_14082025_09_03_19_10458.jpg /media/data/images/14082025/09/03/image_14082025_09_03_28_9191.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060321","1377060207","1377060287","1377060251","1377060152","1377060308"],"photo_ids_order":["1377060152","1377060207","1377060251","1377060287","1377060308","1377060321"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/622ab5ff74b5203719b96b9f76989e0d.jpg","text":"TemporaryFile(/tmp/multipartBody146228459474283403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188404398,"filename":"image_14082025_09_03_28_9191.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90402e6ed5acc799038eee88543e4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5860949803156525858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188404398,"filename":"image_14082025_09_02_49_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f13c5af1c20ea5823eebd14b1b1b6513.jpg","text":"TemporaryFile(/tmp/multipartBody4855658622037164167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188404398,"filename":"image_14082025_09_03_08_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fdea4343e7a545f2c486b3d795907979.jpg","text":"TemporaryFile(/tmp/multipartBody5781452670915918228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188404398,"filename":"image_14082025_09_02_58_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/595c72fb9a9878dca4d1d79d21b32bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1000273460059711136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188404398,"filename":"image_14082025_09_02_39_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67d909499a0ded8304a65ecf612ff22e.jpg","text":"TemporaryFile(/tmp/multipartBody2776975898778749126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188404398,"filename":"image_14082025_09_03_19_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060251","file1":"1377060207","file0":"1377060152","file4":"1377060308","file5":"1377060321","file3":"1377060287"},"map_files_photo_id_array":[{"photo_id":"1377060321","filename":"file5"},{"photo_id":"1377060251","filename":"file2"},{"photo_id":"1377060308","filename":"file4"},{"photo_id":"1377060207","filename":"file1"},{"photo_id":"1377060152","filename":"file0"},{"photo_id":"1377060287","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060321":["hashtag1","hashtag2"]},{"1377060207":["hashtag1","hashtag2"]},{"1377060287":["hashtag1","hashtag2"]},{"1377060251":["hashtag1","hashtag2"]},{"1377060152":["hashtag1","hashtag2"]},{"1377060308":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060321, 1377060207, 1377060287, 1377060251, 1377060152, 1377060308)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.7872211933136 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:20:03.263192 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/03/image_14082025_09_03_38_10355.jpg', '/media/data/images/14082025/09/03/image_14082025_09_03_49_10426.jpg', '/media/data/images/14082025/09/03/image_14082025_09_03_58_9107.jpg', '/media/data/images/14082025/09/03/image_14082025_09_04_09_10738.jpg', '/media/data/images/14082025/09/04/image_14082025_09_04_18_9158.jpg', '/media/data/images/14082025/09/04/image_14082025_09_04_28_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/03/image_14082025_09_03_38_10355.jpg /media/data/images/14082025/09/03/image_14082025_09_03_49_10426.jpg /media/data/images/14082025/09/03/image_14082025_09_03_58_9107.jpg /media/data/images/14082025/09/03/image_14082025_09_04_09_10738.jpg /media/data/images/14082025/09/04/image_14082025_09_04_18_9158.jpg /media/data/images/14082025/09/04/image_14082025_09_04_28_10397.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060375","1377060371","1377060373","1377060367","1377060382","1377060379"],"photo_ids_order":["1377060367","1377060371","1377060373","1377060375","1377060379","1377060382"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0811530bd4eabc8fffcc72a1fd7f6f94.jpg","text":"TemporaryFile(/tmp/multipartBody2469801130870927074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188464247,"filename":"image_14082025_09_04_09_10738.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b76f05a192007f32bac50aacebfe6296.jpg","text":"TemporaryFile(/tmp/multipartBody4788700053654337844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188464247,"filename":"image_14082025_09_03_49_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/474726d377d11612ca6d952d07fb4678.jpg","text":"TemporaryFile(/tmp/multipartBody4275036894718508573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188464247,"filename":"image_14082025_09_03_58_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7b119f1d1a600816c222ea97a023c88c.jpg","text":"TemporaryFile(/tmp/multipartBody1411040918116914936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188464247,"filename":"image_14082025_09_03_38_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e2b60cc3af0d5f49b0414799b9b0fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1476309904275079049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188464247,"filename":"image_14082025_09_04_28_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/700da45f521100d126923116dbd9f524.jpg","text":"TemporaryFile(/tmp/multipartBody2534014132801239717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188464247,"filename":"image_14082025_09_04_18_9158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060373","file1":"1377060371","file0":"1377060367","file4":"1377060379","file5":"1377060382","file3":"1377060375"},"map_files_photo_id_array":[{"photo_id":"1377060382","filename":"file5"},{"photo_id":"1377060373","filename":"file2"},{"photo_id":"1377060379","filename":"file4"},{"photo_id":"1377060371","filename":"file1"},{"photo_id":"1377060367","filename":"file0"},{"photo_id":"1377060375","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060375":["hashtag1","hashtag2"]},{"1377060371":["hashtag1","hashtag2"]},{"1377060373":["hashtag1","hashtag2"]},{"1377060367":["hashtag1","hashtag2"]},{"1377060382":["hashtag1","hashtag2"]},{"1377060379":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060375, 1377060371, 1377060373, 1377060367, 1377060382, 1377060379)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.75577235221863 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:21:03.563366 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/04/image_14082025_09_04_39_10357.jpg', '/media/data/images/14082025/09/04/image_14082025_09_04_49_10329.jpg', '/media/data/images/14082025/09/04/image_14082025_09_04_58_9051.jpg', '/media/data/images/14082025/09/05/image_14082025_09_05_09_10593.jpg', '/media/data/images/14082025/09/05/image_14082025_09_05_19_10308.jpg', '/media/data/images/14082025/09/05/image_14082025_09_05_28_9032.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/04/image_14082025_09_04_39_10357.jpg /media/data/images/14082025/09/04/image_14082025_09_04_49_10329.jpg /media/data/images/14082025/09/04/image_14082025_09_04_58_9051.jpg /media/data/images/14082025/09/05/image_14082025_09_05_09_10593.jpg /media/data/images/14082025/09/05/image_14082025_09_05_19_10308.jpg /media/data/images/14082025/09/05/image_14082025_09_05_28_9032.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060429","1377060420","1377060417","1377060401","1377060424","1377060433"],"photo_ids_order":["1377060401","1377060417","1377060420","1377060424","1377060429","1377060433"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa1efa5ccb86bb6e8b9ad9f16034bebd.jpg","text":"TemporaryFile(/tmp/multipartBody3571761747477011001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188524617,"filename":"image_14082025_09_05_19_10308.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/012cd419314e83e94ec79d76fcfc3bdc.jpg","text":"TemporaryFile(/tmp/multipartBody9005682651934303241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188524617,"filename":"image_14082025_09_04_58_9051.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9c642c2c29470ab9665ddf04da8e2a7.jpg","text":"TemporaryFile(/tmp/multipartBody3821745317811577760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188524617,"filename":"image_14082025_09_04_49_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b59757a4cb41cb5436d49be08637e7b1.jpg","text":"TemporaryFile(/tmp/multipartBody3902418322314100915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188524617,"filename":"image_14082025_09_04_39_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be0c078474fc1b8f472cf2d26630d7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7017618083531267590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188524617,"filename":"image_14082025_09_05_09_10593.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da435c1e944ba65fe66a8da80f50b189.jpg","text":"TemporaryFile(/tmp/multipartBody4983232418770477961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188524617,"filename":"image_14082025_09_05_28_9032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060420","file1":"1377060417","file0":"1377060401","file4":"1377060429","file5":"1377060433","file3":"1377060424"},"map_files_photo_id_array":[{"photo_id":"1377060433","filename":"file5"},{"photo_id":"1377060420","filename":"file2"},{"photo_id":"1377060429","filename":"file4"},{"photo_id":"1377060417","filename":"file1"},{"photo_id":"1377060401","filename":"file0"},{"photo_id":"1377060424","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060429":["hashtag1","hashtag2"]},{"1377060420":["hashtag1","hashtag2"]},{"1377060417":["hashtag1","hashtag2"]},{"1377060401":["hashtag1","hashtag2"]},{"1377060424":["hashtag1","hashtag2"]},{"1377060433":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060429, 1377060420, 1377060417, 1377060401, 1377060424, 1377060433)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.01542925834656 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:22:02.506129 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/05/image_14082025_09_05_38_10374.jpg', '/media/data/images/14082025/09/05/image_14082025_09_05_49_10256.jpg', '/media/data/images/14082025/09/05/image_14082025_09_05_58_9359.jpg', '/media/data/images/14082025/09/05/image_14082025_09_06_09_10920.jpg', '/media/data/images/14082025/09/06/image_14082025_09_06_18_9340.jpg', '/media/data/images/14082025/09/06/image_14082025_09_06_29_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/05/image_14082025_09_05_38_10374.jpg /media/data/images/14082025/09/05/image_14082025_09_05_49_10256.jpg /media/data/images/14082025/09/05/image_14082025_09_05_58_9359.jpg /media/data/images/14082025/09/05/image_14082025_09_06_09_10920.jpg /media/data/images/14082025/09/06/image_14082025_09_06_18_9340.jpg /media/data/images/14082025/09/06/image_14082025_09_06_29_10339.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060447","1377060491","1377060458","1377060442","1377060451","1377060532"],"photo_ids_order":["1377060442","1377060447","1377060451","1377060458","1377060491","1377060532"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5420e16441cca00045b85feb99f4580.jpg","text":"TemporaryFile(/tmp/multipartBody5111825041089909671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188583623,"filename":"image_14082025_09_05_49_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94676f43feb9909f10f44ee1edcf02ed.jpg","text":"TemporaryFile(/tmp/multipartBody1601219974971286882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188583623,"filename":"image_14082025_09_06_18_9340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/203ee5a6b3b7cec6fa18e3b4c9a5142e.jpg","text":"TemporaryFile(/tmp/multipartBody3251479335981312050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188583623,"filename":"image_14082025_09_06_09_10920.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2104dae5c85535384498c0add0dd7bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1916790444145590622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188583623,"filename":"image_14082025_09_05_38_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/672b2d40dee1242a9b9a39c019574af6.jpg","text":"TemporaryFile(/tmp/multipartBody8940010698651433579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188583623,"filename":"image_14082025_09_05_58_9359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68de59e60d2cc54c9d3c3af6e90e414b.jpg","text":"TemporaryFile(/tmp/multipartBody6118272671127197945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188583623,"filename":"image_14082025_09_06_29_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060451","file1":"1377060447","file0":"1377060442","file4":"1377060491","file5":"1377060532","file3":"1377060458"},"map_files_photo_id_array":[{"photo_id":"1377060532","filename":"file5"},{"photo_id":"1377060451","filename":"file2"},{"photo_id":"1377060491","filename":"file4"},{"photo_id":"1377060447","filename":"file1"},{"photo_id":"1377060442","filename":"file0"},{"photo_id":"1377060458","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060447":["hashtag1","hashtag2"]},{"1377060491":["hashtag1","hashtag2"]},{"1377060458":["hashtag1","hashtag2"]},{"1377060442":["hashtag1","hashtag2"]},{"1377060451":["hashtag1","hashtag2"]},{"1377060532":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060447, 1377060491, 1377060458, 1377060442, 1377060451, 1377060532)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.32739019393921 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:23:02.860159 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/06/image_14082025_09_06_39_10264.jpg', '/media/data/images/14082025/09/06/image_14082025_09_06_48_9048.jpg', '/media/data/images/14082025/09/06/image_14082025_09_06_58_10279.jpg', '/media/data/images/14082025/09/07/image_14082025_09_07_08_10309.jpg', '/media/data/images/14082025/09/07/image_14082025_09_07_19_10438.jpg', '/media/data/images/14082025/09/07/image_14082025_09_07_28_9037.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/06/image_14082025_09_06_39_10264.jpg /media/data/images/14082025/09/06/image_14082025_09_06_48_9048.jpg /media/data/images/14082025/09/06/image_14082025_09_06_58_10279.jpg /media/data/images/14082025/09/07/image_14082025_09_07_08_10309.jpg /media/data/images/14082025/09/07/image_14082025_09_07_19_10438.jpg /media/data/images/14082025/09/07/image_14082025_09_07_28_9037.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060672","1377060741","1377060770","1377060702","1377060697","1377060694"],"photo_ids_order":["1377060672","1377060694","1377060697","1377060702","1377060741","1377060770"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc7c3730929ca78b03f87a7a435e2da0.jpg","text":"TemporaryFile(/tmp/multipartBody3231154072449119856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188643952,"filename":"image_14082025_09_06_39_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a556dac7bfeb53df72e0b0a51b043db.jpg","text":"TemporaryFile(/tmp/multipartBody8838819585249132404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188643952,"filename":"image_14082025_09_07_19_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/913361c8b7a87948c30db307a7f03f00.jpg","text":"TemporaryFile(/tmp/multipartBody5304809519842607316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188643952,"filename":"image_14082025_09_07_28_9037.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e784d21f79e8d91d0ec57bde092c4eb6.jpg","text":"TemporaryFile(/tmp/multipartBody792858915892272037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188643952,"filename":"image_14082025_09_07_08_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77e69bb88234788160d2738c2c647429.jpg","text":"TemporaryFile(/tmp/multipartBody8208739693938431102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188643952,"filename":"image_14082025_09_06_58_10279.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4687ca42bc48498592b5ac410fa088c1.jpg","text":"TemporaryFile(/tmp/multipartBody2800473166660693431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188643952,"filename":"image_14082025_09_06_48_9048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060697","file1":"1377060694","file0":"1377060672","file4":"1377060741","file5":"1377060770","file3":"1377060702"},"map_files_photo_id_array":[{"photo_id":"1377060770","filename":"file5"},{"photo_id":"1377060697","filename":"file2"},{"photo_id":"1377060741","filename":"file4"},{"photo_id":"1377060694","filename":"file1"},{"photo_id":"1377060672","filename":"file0"},{"photo_id":"1377060702","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060672":["hashtag1","hashtag2"]},{"1377060741":["hashtag1","hashtag2"]},{"1377060770":["hashtag1","hashtag2"]},{"1377060702":["hashtag1","hashtag2"]},{"1377060697":["hashtag1","hashtag2"]},{"1377060694":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060672, 1377060741, 1377060770, 1377060702, 1377060697, 1377060694)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.22074604034424 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:24:02.886920 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/07/image_14082025_09_07_38_10347.jpg', '/media/data/images/14082025/09/07/image_14082025_09_07_49_10340.jpg', '/media/data/images/14082025/09/07/image_14082025_09_07_59_10248.jpg', '/media/data/images/14082025/09/08/image_14082025_09_08_08_9244.jpg', '/media/data/images/14082025/09/08/image_14082025_09_08_18_10275.jpg', '/media/data/images/14082025/09/08/image_14082025_09_08_29_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/07/image_14082025_09_07_38_10347.jpg /media/data/images/14082025/09/07/image_14082025_09_07_49_10340.jpg /media/data/images/14082025/09/07/image_14082025_09_07_59_10248.jpg /media/data/images/14082025/09/08/image_14082025_09_08_08_9244.jpg /media/data/images/14082025/09/08/image_14082025_09_08_18_10275.jpg /media/data/images/14082025/09/08/image_14082025_09_08_29_10385.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060849","1377060840","1377060854","1377060836","1377060845","1377060859"],"photo_ids_order":["1377060836","1377060840","1377060845","1377060849","1377060854","1377060859"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5bc05a111f160f194cf06f6029dfb40f.jpg","text":"TemporaryFile(/tmp/multipartBody216873314674022499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188703966,"filename":"image_14082025_09_08_08_9244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/879a265ba94ac0b003b799dac3e1590d.jpg","text":"TemporaryFile(/tmp/multipartBody2522589636573589168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188703966,"filename":"image_14082025_09_07_49_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee1bac53b7b46dc77c03d522ae730d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2365114103941395274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188703966,"filename":"image_14082025_09_08_18_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1befb30a10c457c456eb75776a0078a7.jpg","text":"TemporaryFile(/tmp/multipartBody3674808224933377152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188703966,"filename":"image_14082025_09_07_38_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/91c4a216d07770b48add1e96b2dee446.jpg","text":"TemporaryFile(/tmp/multipartBody2830616336158729367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188703966,"filename":"image_14082025_09_07_59_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/867c6222ec69d029f7b642fe128c2056.jpg","text":"TemporaryFile(/tmp/multipartBody354764107345119772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188703966,"filename":"image_14082025_09_08_29_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060845","file1":"1377060840","file0":"1377060836","file4":"1377060854","file5":"1377060859","file3":"1377060849"},"map_files_photo_id_array":[{"photo_id":"1377060859","filename":"file5"},{"photo_id":"1377060845","filename":"file2"},{"photo_id":"1377060854","filename":"file4"},{"photo_id":"1377060840","filename":"file1"},{"photo_id":"1377060836","filename":"file0"},{"photo_id":"1377060849","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060849":["hashtag1","hashtag2"]},{"1377060840":["hashtag1","hashtag2"]},{"1377060854":["hashtag1","hashtag2"]},{"1377060836":["hashtag1","hashtag2"]},{"1377060845":["hashtag1","hashtag2"]},{"1377060859":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060849, 1377060840, 1377060854, 1377060836, 1377060845, 1377060859)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.03382158279419 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:25:03.066097 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/08/image_14082025_09_08_38_9266.jpg', '/media/data/images/14082025/09/08/image_14082025_09_08_48_10406.jpg', '/media/data/images/14082025/09/08/image_14082025_09_08_59_10287.jpg', '/media/data/images/14082025/09/09/image_14082025_09_09_09_10313.jpg', '/media/data/images/14082025/09/09/image_14082025_09_09_18_9129.jpg', '/media/data/images/14082025/09/09/image_14082025_09_09_29_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/08/image_14082025_09_08_38_9266.jpg /media/data/images/14082025/09/08/image_14082025_09_08_48_10406.jpg /media/data/images/14082025/09/08/image_14082025_09_08_59_10287.jpg /media/data/images/14082025/09/09/image_14082025_09_09_09_10313.jpg /media/data/images/14082025/09/09/image_14082025_09_09_18_9129.jpg /media/data/images/14082025/09/09/image_14082025_09_09_29_10402.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377060875","1377060938","1377060902","1377060880","1377060883","1377060886"],"photo_ids_order":["1377060875","1377060880","1377060883","1377060886","1377060902","1377060938"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9765ba194b8b01c13e433be37f81cf90.jpg","text":"TemporaryFile(/tmp/multipartBody8759706041323820337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188764106,"filename":"image_14082025_09_08_38_9266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f65b8b58ed5a2486cc56d35a55bc01df.jpg","text":"TemporaryFile(/tmp/multipartBody9065848931834534254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188764106,"filename":"image_14082025_09_09_29_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cb10c03047d3815e8e80a194cb43e13.jpg","text":"TemporaryFile(/tmp/multipartBody5400941438078542879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188764106,"filename":"image_14082025_09_09_18_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64ae177676fffc6903b251937ff7a171.jpg","text":"TemporaryFile(/tmp/multipartBody2200951982189587374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188764106,"filename":"image_14082025_09_08_48_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ddf2a2adbc4d55bbacbc2d80c219951.jpg","text":"TemporaryFile(/tmp/multipartBody1098499613597521254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188764106,"filename":"image_14082025_09_08_59_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f063674db9be6ba913dd4ca356a15fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8597156782260762497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188764106,"filename":"image_14082025_09_09_09_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377060883","file1":"1377060880","file0":"1377060875","file4":"1377060902","file5":"1377060938","file3":"1377060886"},"map_files_photo_id_array":[{"photo_id":"1377060938","filename":"file5"},{"photo_id":"1377060883","filename":"file2"},{"photo_id":"1377060902","filename":"file4"},{"photo_id":"1377060880","filename":"file1"},{"photo_id":"1377060875","filename":"file0"},{"photo_id":"1377060886","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377060875":["hashtag1","hashtag2"]},{"1377060938":["hashtag1","hashtag2"]},{"1377060902":["hashtag1","hashtag2"]},{"1377060880":["hashtag1","hashtag2"]},{"1377060883":["hashtag1","hashtag2"]},{"1377060886":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377060875, 1377060938, 1377060902, 1377060880, 1377060883, 1377060886)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.80856728553772 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:26:02.848470 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/09/image_14082025_09_09_39_10355.jpg', '/media/data/images/14082025/09/09/image_14082025_09_09_48_9141.jpg', '/media/data/images/14082025/09/09/image_14082025_09_09_58_10430.jpg', '/media/data/images/14082025/09/10/image_14082025_09_10_09_10436.jpg', '/media/data/images/14082025/09/10/image_14082025_09_10_18_9178.jpg', '/media/data/images/14082025/09/10/image_14082025_09_10_28_10385.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/09/image_14082025_09_09_39_10355.jpg /media/data/images/14082025/09/09/image_14082025_09_09_48_9141.jpg /media/data/images/14082025/09/09/image_14082025_09_09_58_10430.jpg /media/data/images/14082025/09/10/image_14082025_09_10_09_10436.jpg /media/data/images/14082025/09/10/image_14082025_09_10_18_9178.jpg /media/data/images/14082025/09/10/image_14082025_09_10_28_10385.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377061224","1377061125","1377061110","1377061130","1377061144","1377061179"],"photo_ids_order":["1377061110","1377061125","1377061130","1377061144","1377061179","1377061224"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20a4a666a1921ed74d68fef9349d35f0.jpg","text":"TemporaryFile(/tmp/multipartBody5877593413071502517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188826709,"filename":"image_14082025_09_10_28_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df930886028a484f255b22b4f22d12c7.jpg","text":"TemporaryFile(/tmp/multipartBody7944124772086519101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188826709,"filename":"image_14082025_09_09_48_9141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cbdc82a58a0677b2780036af90cb6ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5884616767299166677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188826709,"filename":"image_14082025_09_09_39_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/806ce84b2d57e0d32062937b1310fe5b.jpg","text":"TemporaryFile(/tmp/multipartBody7392787611699835786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188826709,"filename":"image_14082025_09_09_58_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c04764160ab6282e542516a986cb6d85.jpg","text":"TemporaryFile(/tmp/multipartBody5430497980698412899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188826709,"filename":"image_14082025_09_10_09_10436.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0cc96c7d59346763ce7bc7a835a2e894.jpg","text":"TemporaryFile(/tmp/multipartBody5044411428259284943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188826709,"filename":"image_14082025_09_10_18_9178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377061130","file1":"1377061125","file0":"1377061110","file4":"1377061179","file5":"1377061224","file3":"1377061144"},"map_files_photo_id_array":[{"photo_id":"1377061224","filename":"file5"},{"photo_id":"1377061130","filename":"file2"},{"photo_id":"1377061179","filename":"file4"},{"photo_id":"1377061125","filename":"file1"},{"photo_id":"1377061110","filename":"file0"},{"photo_id":"1377061144","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377061224":["hashtag1","hashtag2"]},{"1377061125":["hashtag1","hashtag2"]},{"1377061110":["hashtag1","hashtag2"]},{"1377061130":["hashtag1","hashtag2"]},{"1377061144":["hashtag1","hashtag2"]},{"1377061179":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377061224, 1377061125, 1377061110, 1377061130, 1377061144, 1377061179)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.06555700302124 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:27:03.235710 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/10/image_14082025_09_10_39_10380.jpg', '/media/data/images/14082025/09/10/image_14082025_09_10_48_9148.jpg', '/media/data/images/14082025/09/10/image_14082025_09_10_58_10366.jpg', '/media/data/images/14082025/09/11/image_14082025_09_11_09_10608.jpg', '/media/data/images/14082025/09/11/image_14082025_09_11_18_9181.jpg', '/media/data/images/14082025/09/11/image_14082025_09_11_29_10433.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/10/image_14082025_09_10_39_10380.jpg /media/data/images/14082025/09/10/image_14082025_09_10_48_9148.jpg /media/data/images/14082025/09/10/image_14082025_09_10_58_10366.jpg /media/data/images/14082025/09/11/image_14082025_09_11_09_10608.jpg /media/data/images/14082025/09/11/image_14082025_09_11_18_9181.jpg /media/data/images/14082025/09/11/image_14082025_09_11_29_10433.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377061308","1377061323","1377061319","1377061315","1377061312","1377061326"],"photo_ids_order":["1377061308","1377061312","1377061315","1377061319","1377061323","1377061326"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3776ba7e13cb7587cec14173402a2b69.jpg","text":"TemporaryFile(/tmp/multipartBody3792882143469429038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188886574,"filename":"image_14082025_09_10_39_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd62e2f1362b7a6f0ad764987ad8f3b8.jpg","text":"TemporaryFile(/tmp/multipartBody2647076644444212469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188886574,"filename":"image_14082025_09_11_18_9181.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/114998441a0728bbcd236cd56c428c67.jpg","text":"TemporaryFile(/tmp/multipartBody3524674139338709095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188886574,"filename":"image_14082025_09_11_09_10608.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5bbc86f19ee260832b522662f2fe82c.jpg","text":"TemporaryFile(/tmp/multipartBody9111804321201809918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188886574,"filename":"image_14082025_09_10_58_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51cb9d57da41eaf4337ceb7afac96487.jpg","text":"TemporaryFile(/tmp/multipartBody4923506473363723171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188886574,"filename":"image_14082025_09_10_48_9148.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f6078c283930f1d32dc32245de51319.jpg","text":"TemporaryFile(/tmp/multipartBody6751965151548133253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188886574,"filename":"image_14082025_09_11_29_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377061315","file1":"1377061312","file0":"1377061308","file4":"1377061323","file5":"1377061326","file3":"1377061319"},"map_files_photo_id_array":[{"photo_id":"1377061326","filename":"file5"},{"photo_id":"1377061315","filename":"file2"},{"photo_id":"1377061323","filename":"file4"},{"photo_id":"1377061312","filename":"file1"},{"photo_id":"1377061308","filename":"file0"},{"photo_id":"1377061319","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377061308":["hashtag1","hashtag2"]},{"1377061323":["hashtag1","hashtag2"]},{"1377061319":["hashtag1","hashtag2"]},{"1377061315":["hashtag1","hashtag2"]},{"1377061312":["hashtag1","hashtag2"]},{"1377061326":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377061308, 1377061323, 1377061319, 1377061315, 1377061312, 1377061326)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.06233191490173 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:28:03.221167 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/11/image_14082025_09_11_39_10417.jpg', '/media/data/images/14082025/09/11/image_14082025_09_11_48_9116.jpg', '/media/data/images/14082025/09/11/image_14082025_09_11_58_10358.jpg', '/media/data/images/14082025/09/12/image_14082025_09_12_09_10444.jpg', '/media/data/images/14082025/09/12/image_14082025_09_12_18_9095.jpg', '/media/data/images/14082025/09/12/image_14082025_09_12_28_10289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/11/image_14082025_09_11_39_10417.jpg /media/data/images/14082025/09/11/image_14082025_09_11_48_9116.jpg /media/data/images/14082025/09/11/image_14082025_09_11_58_10358.jpg /media/data/images/14082025/09/12/image_14082025_09_12_09_10444.jpg /media/data/images/14082025/09/12/image_14082025_09_12_18_9095.jpg /media/data/images/14082025/09/12/image_14082025_09_12_28_10289.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377061341","1377061335","1377061406","1377061372","1377061438","1377061345"],"photo_ids_order":["1377061335","1377061341","1377061345","1377061372","1377061406","1377061438"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c540c5c33cb12cdfc0f4f9ee2467c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody9112763347616666273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188944299,"filename":"image_14082025_09_11_48_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e8d24f051deb735c99b6ac8f8ec0489.jpg","text":"TemporaryFile(/tmp/multipartBody2219749509459916654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188944299,"filename":"image_14082025_09_11_39_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fbc1a1fa426826db3ca28f68d261041d.jpg","text":"TemporaryFile(/tmp/multipartBody3857720677352389397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188944299,"filename":"image_14082025_09_12_18_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d901cb8d2402632a722ddf7a358904d.jpg","text":"TemporaryFile(/tmp/multipartBody9121119066484902443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188944299,"filename":"image_14082025_09_12_09_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d770a0d132612cd0e49e99531da522b4.jpg","text":"TemporaryFile(/tmp/multipartBody6060407403712720320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188944299,"filename":"image_14082025_09_12_28_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f6dc0746fc129d6a8396dce48ee90829.jpg","text":"TemporaryFile(/tmp/multipartBody6151722558839016215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755188944299,"filename":"image_14082025_09_11_58_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377061345","file1":"1377061341","file0":"1377061335","file4":"1377061406","file5":"1377061438","file3":"1377061372"},"map_files_photo_id_array":[{"photo_id":"1377061438","filename":"file5"},{"photo_id":"1377061345","filename":"file2"},{"photo_id":"1377061406","filename":"file4"},{"photo_id":"1377061341","filename":"file1"},{"photo_id":"1377061335","filename":"file0"},{"photo_id":"1377061372","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377061341":["hashtag1","hashtag2"]},{"1377061335":["hashtag1","hashtag2"]},{"1377061406":["hashtag1","hashtag2"]},{"1377061372":["hashtag1","hashtag2"]},{"1377061438":["hashtag1","hashtag2"]},{"1377061345":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377061341, 1377061335, 1377061406, 1377061372, 1377061438, 1377061345)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.65487003326416 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:29:03.626463 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/12/image_14082025_09_12_39_10349.jpg', '/media/data/images/14082025/09/12/image_14082025_09_12_49_10317.jpg', '/media/data/images/14082025/09/12/image_14082025_09_12_58_9119.jpg', '/media/data/images/14082025/09/13/image_14082025_09_13_08_10243.jpg', '/media/data/images/14082025/09/13/image_14082025_09_13_19_10343.jpg', '/media/data/images/14082025/09/13/image_14082025_09_13_29_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/12/image_14082025_09_12_39_10349.jpg /media/data/images/14082025/09/12/image_14082025_09_12_49_10317.jpg /media/data/images/14082025/09/12/image_14082025_09_12_58_9119.jpg /media/data/images/14082025/09/13/image_14082025_09_13_08_10243.jpg /media/data/images/14082025/09/13/image_14082025_09_13_19_10343.jpg /media/data/images/14082025/09/13/image_14082025_09_13_29_10255.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377061568","1377061562","1377061627","1377061590","1377061641","1377061566"],"photo_ids_order":["1377061562","1377061566","1377061568","1377061590","1377061627","1377061641"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f40dc696cb72cfc31e2630b4cccd05a.jpg","text":"TemporaryFile(/tmp/multipartBody4668950496043555296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189004762,"filename":"image_14082025_09_12_58_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebadc1611df4c0d79ea47b9322ea10ed.jpg","text":"TemporaryFile(/tmp/multipartBody1823256093581740492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189004762,"filename":"image_14082025_09_12_39_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2368dd27560b8f0c7d7c76adf3d959ac.jpg","text":"TemporaryFile(/tmp/multipartBody1838980068747095104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189004762,"filename":"image_14082025_09_13_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/222fccecf04b665e865ed82944f8c32f.jpg","text":"TemporaryFile(/tmp/multipartBody7174082126643502851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189004762,"filename":"image_14082025_09_13_08_10243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c2221744966737cb2fd3218362738b6.jpg","text":"TemporaryFile(/tmp/multipartBody1051102757025060865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189004762,"filename":"image_14082025_09_13_29_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30c5ac1239a4b40d5c2080adbf72a492.jpg","text":"TemporaryFile(/tmp/multipartBody1745376560614313865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189004762,"filename":"image_14082025_09_12_49_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377061568","file1":"1377061566","file0":"1377061562","file4":"1377061627","file5":"1377061641","file3":"1377061590"},"map_files_photo_id_array":[{"photo_id":"1377061641","filename":"file5"},{"photo_id":"1377061568","filename":"file2"},{"photo_id":"1377061627","filename":"file4"},{"photo_id":"1377061566","filename":"file1"},{"photo_id":"1377061562","filename":"file0"},{"photo_id":"1377061590","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377061568":["hashtag1","hashtag2"]},{"1377061562":["hashtag1","hashtag2"]},{"1377061627":["hashtag1","hashtag2"]},{"1377061590":["hashtag1","hashtag2"]},{"1377061641":["hashtag1","hashtag2"]},{"1377061566":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377061568, 1377061562, 1377061627, 1377061590, 1377061641, 1377061566)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.800079584121704 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:30:03.505420 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/13/image_14082025_09_13_38_9025.jpg', '/media/data/images/14082025/09/13/image_14082025_09_13_48_10250.jpg', '/media/data/images/14082025/09/13/image_14082025_09_13_58_10239.jpg', '/media/data/images/14082025/09/14/image_14082025_09_14_09_10312.jpg', '/media/data/images/14082025/09/14/image_14082025_09_14_18_9110.jpg', '/media/data/images/14082025/09/14/image_14082025_09_14_28_10246.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/13/image_14082025_09_13_38_9025.jpg /media/data/images/14082025/09/13/image_14082025_09_13_48_10250.jpg /media/data/images/14082025/09/13/image_14082025_09_13_58_10239.jpg /media/data/images/14082025/09/14/image_14082025_09_14_09_10312.jpg /media/data/images/14082025/09/14/image_14082025_09_14_18_9110.jpg /media/data/images/14082025/09/14/image_14082025_09_14_28_10246.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377061754","1377061750","1377061738","1377061747","1377061752","1377061743"],"photo_ids_order":["1377061738","1377061743","1377061747","1377061750","1377061752","1377061754"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0bbdcae2d8e2f7097016ae8eab50a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5188255510237907542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189064619,"filename":"image_14082025_09_14_28_10246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5654cf3737a119cda667d71631bc5635.jpg","text":"TemporaryFile(/tmp/multipartBody7972607123461231862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189064619,"filename":"image_14082025_09_14_09_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6c53e80f4f03751d91a35fbfe6f1e059.jpg","text":"TemporaryFile(/tmp/multipartBody6381415624933040050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189064619,"filename":"image_14082025_09_13_38_9025.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b469a254048dc2daf3745d3c30be7951.jpg","text":"TemporaryFile(/tmp/multipartBody588348275112347259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189064619,"filename":"image_14082025_09_13_58_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed28070127d6ef3da1e6463740e8bff4.jpg","text":"TemporaryFile(/tmp/multipartBody6904925337234825775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189064619,"filename":"image_14082025_09_14_18_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0d2729edae2f16396b9ee0889858786.jpg","text":"TemporaryFile(/tmp/multipartBody1545671829090715809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189064619,"filename":"image_14082025_09_13_48_10250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377061747","file1":"1377061743","file0":"1377061738","file4":"1377061752","file5":"1377061754","file3":"1377061750"},"map_files_photo_id_array":[{"photo_id":"1377061754","filename":"file5"},{"photo_id":"1377061747","filename":"file2"},{"photo_id":"1377061752","filename":"file4"},{"photo_id":"1377061743","filename":"file1"},{"photo_id":"1377061738","filename":"file0"},{"photo_id":"1377061750","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377061754":["hashtag1","hashtag2"]},{"1377061750":["hashtag1","hashtag2"]},{"1377061738":["hashtag1","hashtag2"]},{"1377061747":["hashtag1","hashtag2"]},{"1377061752":["hashtag1","hashtag2"]},{"1377061743":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377061754, 1377061750, 1377061738, 1377061747, 1377061752, 1377061743)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.64896321296692 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:31:03.735545 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/14/image_14082025_09_14_38_10258.jpg', '/media/data/images/14082025/09/14/image_14082025_09_14_49_10353.jpg', '/media/data/images/14082025/09/14/image_14082025_09_14_58_9161.jpg', '/media/data/images/14082025/09/14/image_14082025_09_15_08_10561.jpg', '/media/data/images/14082025/09/15/image_14082025_09_15_19_10380.jpg', '/media/data/images/14082025/09/15/image_14082025_09_15_28_9029.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/14/image_14082025_09_14_38_10258.jpg /media/data/images/14082025/09/14/image_14082025_09_14_49_10353.jpg /media/data/images/14082025/09/14/image_14082025_09_14_58_9161.jpg /media/data/images/14082025/09/14/image_14082025_09_15_08_10561.jpg /media/data/images/14082025/09/15/image_14082025_09_15_19_10380.jpg /media/data/images/14082025/09/15/image_14082025_09_15_28_9029.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377061926","1377061847","1377061841","1377061894","1377061875","1377061821"],"photo_ids_order":["1377061821","1377061841","1377061847","1377061875","1377061894","1377061926"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4189d2b4dfeaf407c82b26eae629600c.jpg","text":"TemporaryFile(/tmp/multipartBody3116909606779864715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189124872,"filename":"image_14082025_09_15_28_9029.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/075b7dbd87331ef3a3fe343a020f3412.jpg","text":"TemporaryFile(/tmp/multipartBody3670131412185301331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189124872,"filename":"image_14082025_09_14_58_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed4fb626016dc22ecbe969d72edd2b5c.jpg","text":"TemporaryFile(/tmp/multipartBody380988891138507015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189124872,"filename":"image_14082025_09_14_49_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/546ca6cefe9159e10fbca13f005fb785.jpg","text":"TemporaryFile(/tmp/multipartBody7531837884664900312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189124872,"filename":"image_14082025_09_15_19_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/964d30920b2dd6a3089447c739d9cb37.jpg","text":"TemporaryFile(/tmp/multipartBody5903733453713600336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189124872,"filename":"image_14082025_09_15_08_10561.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d7f8fc2f1c84055d979e7562adc4142.jpg","text":"TemporaryFile(/tmp/multipartBody5747525874047964397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189124872,"filename":"image_14082025_09_14_38_10258.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377061847","file1":"1377061841","file0":"1377061821","file4":"1377061894","file5":"1377061926","file3":"1377061875"},"map_files_photo_id_array":[{"photo_id":"1377061926","filename":"file5"},{"photo_id":"1377061847","filename":"file2"},{"photo_id":"1377061894","filename":"file4"},{"photo_id":"1377061841","filename":"file1"},{"photo_id":"1377061821","filename":"file0"},{"photo_id":"1377061875","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377061926":["hashtag1","hashtag2"]},{"1377061847":["hashtag1","hashtag2"]},{"1377061841":["hashtag1","hashtag2"]},{"1377061894":["hashtag1","hashtag2"]},{"1377061875":["hashtag1","hashtag2"]},{"1377061821":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377061926, 1377061847, 1377061841, 1377061894, 1377061875, 1377061821)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.199190855026245 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:32:02.598042 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/15/image_14082025_09_15_38_10458.jpg', '/media/data/images/14082025/09/15/image_14082025_09_15_49_10288.jpg', '/media/data/images/14082025/09/15/image_14082025_09_15_59_10310.jpg', '/media/data/images/14082025/09/16/image_14082025_09_16_08_9168.jpg', '/media/data/images/14082025/09/16/image_14082025_09_16_18_10269.jpg', '/media/data/images/14082025/09/16/image_14082025_09_16_29_10410.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/15/image_14082025_09_15_38_10458.jpg /media/data/images/14082025/09/15/image_14082025_09_15_49_10288.jpg /media/data/images/14082025/09/15/image_14082025_09_15_59_10310.jpg /media/data/images/14082025/09/16/image_14082025_09_16_08_9168.jpg /media/data/images/14082025/09/16/image_14082025_09_16_18_10269.jpg /media/data/images/14082025/09/16/image_14082025_09_16_29_10410.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377062078","1377062045","1377062105","1377061999","1377062101","1377062010"],"photo_ids_order":["1377061999","1377062010","1377062045","1377062078","1377062101","1377062105"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3462f515c27326e4629bb844ae52fecf.jpg","text":"TemporaryFile(/tmp/multipartBody1339231560155497113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189183700,"filename":"image_14082025_09_16_08_9168.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a44f785721650427155f5d9f8d16db5e.jpg","text":"TemporaryFile(/tmp/multipartBody1980454068726390024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189183700,"filename":"image_14082025_09_15_59_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a84420fc5241a537754119ef37e73542.jpg","text":"TemporaryFile(/tmp/multipartBody8053548819090160177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189183700,"filename":"image_14082025_09_16_29_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2410fa61418112572197b19c45991ed.jpg","text":"TemporaryFile(/tmp/multipartBody1319811072164333596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189183700,"filename":"image_14082025_09_15_38_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20ce1399b4bedf83df50b641da3cdf23.jpg","text":"TemporaryFile(/tmp/multipartBody8734163714111433009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189183700,"filename":"image_14082025_09_16_18_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1433c692ff830a6f785f358ef1084ff1.jpg","text":"TemporaryFile(/tmp/multipartBody1733070622777853763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189183700,"filename":"image_14082025_09_15_49_10288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377062045","file1":"1377062010","file0":"1377061999","file4":"1377062101","file5":"1377062105","file3":"1377062078"},"map_files_photo_id_array":[{"photo_id":"1377062105","filename":"file5"},{"photo_id":"1377062045","filename":"file2"},{"photo_id":"1377062101","filename":"file4"},{"photo_id":"1377062010","filename":"file1"},{"photo_id":"1377061999","filename":"file0"},{"photo_id":"1377062078","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377062078":["hashtag1","hashtag2"]},{"1377062045":["hashtag1","hashtag2"]},{"1377062105":["hashtag1","hashtag2"]},{"1377061999":["hashtag1","hashtag2"]},{"1377062101":["hashtag1","hashtag2"]},{"1377062010":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377062078, 1377062045, 1377062105, 1377061999, 1377062101, 1377062010)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.90251159667969 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:33:02.892812 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/16/image_14082025_09_16_38_9158.jpg', '/media/data/images/14082025/09/16/image_14082025_09_16_48_10371.jpg', '/media/data/images/14082025/09/16/image_14082025_09_16_59_10243.jpg', '/media/data/images/14082025/09/17/image_14082025_09_17_09_10223.jpg', '/media/data/images/14082025/09/17/image_14082025_09_17_28_9077.jpg', '/media/data/images/14082025/09/17/image_14082025_09_17_39_10399.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/16/image_14082025_09_16_38_9158.jpg /media/data/images/14082025/09/16/image_14082025_09_16_48_10371.jpg /media/data/images/14082025/09/16/image_14082025_09_16_59_10243.jpg /media/data/images/14082025/09/17/image_14082025_09_17_09_10223.jpg /media/data/images/14082025/09/17/image_14082025_09_17_28_9077.jpg /media/data/images/14082025/09/17/image_14082025_09_17_39_10399.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377062249","1377062240","1377062243","1377062237","1377062246","1377062212"],"photo_ids_order":["1377062212","1377062237","1377062240","1377062243","1377062246","1377062249"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31c7bf96499a1eb5bed0372225f13d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2543545839907967206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189243936,"filename":"image_14082025_09_17_39_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d8fc736d67d5ab4fbf6c1d4c3e77668.jpg","text":"TemporaryFile(/tmp/multipartBody9185355244937961348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189243936,"filename":"image_14082025_09_16_59_10243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/328d39cddc9bcec7caf5c1a157552234.jpg","text":"TemporaryFile(/tmp/multipartBody8856839721618769400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189243936,"filename":"image_14082025_09_17_09_10223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6707bd96b152a0425d3c60727e954a07.jpg","text":"TemporaryFile(/tmp/multipartBody8757998001270960989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189243936,"filename":"image_14082025_09_16_48_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2dd7da922f658ba9c2a1bc499b37bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7705943451373544434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189243936,"filename":"image_14082025_09_17_28_9077.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/131aa09266a82b97a2fa68a4c68e11bd.jpg","text":"TemporaryFile(/tmp/multipartBody4628680423726926924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189243936,"filename":"image_14082025_09_16_38_9158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377062240","file1":"1377062237","file0":"1377062212","file4":"1377062246","file5":"1377062249","file3":"1377062243"},"map_files_photo_id_array":[{"photo_id":"1377062249","filename":"file5"},{"photo_id":"1377062240","filename":"file2"},{"photo_id":"1377062246","filename":"file4"},{"photo_id":"1377062237","filename":"file1"},{"photo_id":"1377062212","filename":"file0"},{"photo_id":"1377062243","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377062249":["hashtag1","hashtag2"]},{"1377062240":["hashtag1","hashtag2"]},{"1377062243":["hashtag1","hashtag2"]},{"1377062237":["hashtag1","hashtag2"]},{"1377062246":["hashtag1","hashtag2"]},{"1377062212":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377062249, 1377062240, 1377062243, 1377062237, 1377062246, 1377062212)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.64811682701111 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:34:02.647451 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/17/image_14082025_09_17_49_10371.jpg', '/media/data/images/14082025/09/17/image_14082025_09_17_58_9195.jpg', '/media/data/images/14082025/09/18/image_14082025_09_18_09_10469.jpg', '/media/data/images/14082025/09/18/image_14082025_09_18_19_10422.jpg', '/media/data/images/14082025/09/18/image_14082025_09_18_28_9160.jpg', '/media/data/images/14082025/09/18/image_14082025_09_18_39_10413.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/17/image_14082025_09_17_49_10371.jpg /media/data/images/14082025/09/17/image_14082025_09_17_58_9195.jpg /media/data/images/14082025/09/18/image_14082025_09_18_09_10469.jpg /media/data/images/14082025/09/18/image_14082025_09_18_19_10422.jpg /media/data/images/14082025/09/18/image_14082025_09_18_28_9160.jpg /media/data/images/14082025/09/18/image_14082025_09_18_39_10413.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377062267","1377062276","1377062264","1377062280","1377062271","1377062259"],"photo_ids_order":["1377062259","1377062264","1377062267","1377062271","1377062276","1377062280"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb100951ca9481a0c70e3cb3dc2a4eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7125785504673869096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189303642,"filename":"image_14082025_09_18_09_10469.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24d28211623322f428955fae390acf9f.jpg","text":"TemporaryFile(/tmp/multipartBody9038151745352903966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189303642,"filename":"image_14082025_09_18_28_9160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b80b61f6bfd593a97fc0c0d2ed364a10.jpg","text":"TemporaryFile(/tmp/multipartBody2002303962432719362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189303642,"filename":"image_14082025_09_17_58_9195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/168a8eea5fd92aa87b533acdb229ba3e.jpg","text":"TemporaryFile(/tmp/multipartBody9156641067851789386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189303642,"filename":"image_14082025_09_18_39_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d66eabdfb3780621c079d19d94fea81.jpg","text":"TemporaryFile(/tmp/multipartBody4597296698825758365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189303642,"filename":"image_14082025_09_18_19_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3885dd091c329adb02f5a86d9a01065.jpg","text":"TemporaryFile(/tmp/multipartBody1954222971242886512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189303642,"filename":"image_14082025_09_17_49_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377062267","file1":"1377062264","file0":"1377062259","file4":"1377062276","file5":"1377062280","file3":"1377062271"},"map_files_photo_id_array":[{"photo_id":"1377062280","filename":"file5"},{"photo_id":"1377062267","filename":"file2"},{"photo_id":"1377062276","filename":"file4"},{"photo_id":"1377062264","filename":"file1"},{"photo_id":"1377062259","filename":"file0"},{"photo_id":"1377062271","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377062267":["hashtag1","hashtag2"]},{"1377062276":["hashtag1","hashtag2"]},{"1377062264":["hashtag1","hashtag2"]},{"1377062280":["hashtag1","hashtag2"]},{"1377062271":["hashtag1","hashtag2"]},{"1377062259":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377062267, 1377062276, 1377062264, 1377062280, 1377062271, 1377062259)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.51831769943237 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:35:03.164579 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/18/image_14082025_09_18_49_10438.jpg', '/media/data/images/14082025/09/18/image_14082025_09_18_58_9073.jpg', '/media/data/images/14082025/09/19/image_14082025_09_19_09_10447.jpg', '/media/data/images/14082025/09/19/image_14082025_09_19_19_10360.jpg', '/media/data/images/14082025/09/19/image_14082025_09_19_28_9088.jpg', '/media/data/images/14082025/09/19/image_14082025_09_19_38_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/18/image_14082025_09_18_49_10438.jpg /media/data/images/14082025/09/18/image_14082025_09_18_58_9073.jpg /media/data/images/14082025/09/19/image_14082025_09_19_09_10447.jpg /media/data/images/14082025/09/19/image_14082025_09_19_19_10360.jpg /media/data/images/14082025/09/19/image_14082025_09_19_28_9088.jpg /media/data/images/14082025/09/19/image_14082025_09_19_38_10355.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377062294","1377062288","1377062306","1377062309","1377062302","1377062298"],"photo_ids_order":["1377062288","1377062294","1377062298","1377062302","1377062306","1377062309"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/920eaff2c9f880be58a66767a5ef4c7a.jpg","text":"TemporaryFile(/tmp/multipartBody179270635323277654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189364137,"filename":"image_14082025_09_18_58_9073.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8501c2f695f5618f3cd37c5cc7a7db8f.jpg","text":"TemporaryFile(/tmp/multipartBody1523798287200141453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189364137,"filename":"image_14082025_09_18_49_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/455da81db914778ad024fff68e646e9c.jpg","text":"TemporaryFile(/tmp/multipartBody3840634793769019366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189364137,"filename":"image_14082025_09_19_28_9088.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c70f9b5894b52e8aa08ff9e7ceb9ff89.jpg","text":"TemporaryFile(/tmp/multipartBody2935473494291935987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189364137,"filename":"image_14082025_09_19_38_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b2ab34482075b6dcaaebd7f51833f56.jpg","text":"TemporaryFile(/tmp/multipartBody6044856560149978159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189364137,"filename":"image_14082025_09_19_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3670af7c30f604812ee97035dea0ce63.jpg","text":"TemporaryFile(/tmp/multipartBody2102436379805995189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189364137,"filename":"image_14082025_09_19_09_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377062298","file1":"1377062294","file0":"1377062288","file4":"1377062306","file5":"1377062309","file3":"1377062302"},"map_files_photo_id_array":[{"photo_id":"1377062309","filename":"file5"},{"photo_id":"1377062298","filename":"file2"},{"photo_id":"1377062306","filename":"file4"},{"photo_id":"1377062294","filename":"file1"},{"photo_id":"1377062288","filename":"file0"},{"photo_id":"1377062302","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377062294":["hashtag1","hashtag2"]},{"1377062288":["hashtag1","hashtag2"]},{"1377062306":["hashtag1","hashtag2"]},{"1377062309":["hashtag1","hashtag2"]},{"1377062302":["hashtag1","hashtag2"]},{"1377062298":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377062294, 1377062288, 1377062306, 1377062309, 1377062302, 1377062298)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.2882924079895 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:36:03.130025 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/19/image_14082025_09_19_49_10374.jpg', '/media/data/images/14082025/09/19/image_14082025_09_19_59_10369.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_08_9095.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_19_10355.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_29_10356.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_38_9150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/19/image_14082025_09_19_49_10374.jpg /media/data/images/14082025/09/19/image_14082025_09_19_59_10369.jpg /media/data/images/14082025/09/20/image_14082025_09_20_08_9095.jpg /media/data/images/14082025/09/20/image_14082025_09_20_19_10355.jpg /media/data/images/14082025/09/20/image_14082025_09_20_29_10356.jpg /media/data/images/14082025/09/20/image_14082025_09_20_38_9150.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.552443265914917 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:36:22.342522 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/19/image_14082025_09_19_49_10374.jpg', '/media/data/images/14082025/09/19/image_14082025_09_19_59_10369.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_08_9095.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_19_10355.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_29_10356.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_38_9150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/19/image_14082025_09_19_49_10374.jpg /media/data/images/14082025/09/19/image_14082025_09_19_59_10369.jpg /media/data/images/14082025/09/20/image_14082025_09_20_08_9095.jpg /media/data/images/14082025/09/20/image_14082025_09_20_19_10355.jpg /media/data/images/14082025/09/20/image_14082025_09_20_29_10356.jpg /media/data/images/14082025/09/20/image_14082025_09_20_38_9150.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377062456","1377062422","1377062364","1377062523","1377062489","1377062384"],"photo_ids_order":["1377062364","1377062384","1377062422","1377062456","1377062489","1377062523"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/783c00409691a976321a9f37965fa533.jpg","text":"TemporaryFile(/tmp/multipartBody7458746801512133098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189443247,"filename":"image_14082025_09_20_19_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4420ffa2f84ed3e705ee1821dde49401.jpg","text":"TemporaryFile(/tmp/multipartBody8088384041340358918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189443247,"filename":"image_14082025_09_20_08_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/404283487deee8de2c761737df7edf4a.jpg","text":"TemporaryFile(/tmp/multipartBody4987278259374311363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189443247,"filename":"image_14082025_09_19_49_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0634e438a9439395b9225e0cea7f6769.jpg","text":"TemporaryFile(/tmp/multipartBody4605841545254789528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189443247,"filename":"image_14082025_09_20_38_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/053bb4b9cef83abb25671fcec061bff2.jpg","text":"TemporaryFile(/tmp/multipartBody375723151964134193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189443247,"filename":"image_14082025_09_20_29_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32cdc6c656507d5c3961600ac11fd974.jpg","text":"TemporaryFile(/tmp/multipartBody2800482055923003146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189443247,"filename":"image_14082025_09_19_59_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377062422","file1":"1377062384","file0":"1377062364","file4":"1377062489","file5":"1377062523","file3":"1377062456"},"map_files_photo_id_array":[{"photo_id":"1377062523","filename":"file5"},{"photo_id":"1377062422","filename":"file2"},{"photo_id":"1377062489","filename":"file4"},{"photo_id":"1377062384","filename":"file1"},{"photo_id":"1377062364","filename":"file0"},{"photo_id":"1377062456","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377062456":["hashtag1","hashtag2"]},{"1377062422":["hashtag1","hashtag2"]},{"1377062364":["hashtag1","hashtag2"]},{"1377062523":["hashtag1","hashtag2"]},{"1377062489":["hashtag1","hashtag2"]},{"1377062384":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377062456, 1377062422, 1377062364, 1377062523, 1377062489, 1377062384)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.4320182800293 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:37:22.402338 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/20/image_14082025_09_20_48_10345.jpg', '/media/data/images/14082025/09/20/image_14082025_09_20_59_10272.jpg', '/media/data/images/14082025/09/21/image_14082025_09_21_08_9340.jpg', '/media/data/images/14082025/09/21/image_14082025_09_21_18_10266.jpg', '/media/data/images/14082025/09/21/image_14082025_09_21_29_10401.jpg', '/media/data/images/14082025/09/21/image_14082025_09_21_39_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/20/image_14082025_09_20_48_10345.jpg /media/data/images/14082025/09/20/image_14082025_09_20_59_10272.jpg /media/data/images/14082025/09/21/image_14082025_09_21_08_9340.jpg /media/data/images/14082025/09/21/image_14082025_09_21_18_10266.jpg /media/data/images/14082025/09/21/image_14082025_09_21_29_10401.jpg /media/data/images/14082025/09/21/image_14082025_09_21_39_10383.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377063094","1377062953","1377063051","1377062865","1377062996","1377062907"],"photo_ids_order":["1377062865","1377062907","1377062953","1377062996","1377063051","1377063094"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/732340067ba66c9edf2cc3c3bd47dc64.jpg","text":"TemporaryFile(/tmp/multipartBody3122710017652609315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189503469,"filename":"image_14082025_09_21_39_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c03db700a8c30079b081c955267779c7.jpg","text":"TemporaryFile(/tmp/multipartBody4258982755345898583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189503469,"filename":"image_14082025_09_21_08_9340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4ef4faffa4d660105640f83d2e53ede.jpg","text":"TemporaryFile(/tmp/multipartBody2075323367336724384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189503469,"filename":"image_14082025_09_21_29_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5cd942a0bf83166125ed32033dc64dc.jpg","text":"TemporaryFile(/tmp/multipartBody7402337004498592900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189503469,"filename":"image_14082025_09_20_48_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0adfcdb2a7d8cc79e1abf54697cc6a2.jpg","text":"TemporaryFile(/tmp/multipartBody6531993177178147828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189503469,"filename":"image_14082025_09_21_18_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4fbfeb5fbffa88268e13a0c7f337a648.jpg","text":"TemporaryFile(/tmp/multipartBody5708382664396107263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189503469,"filename":"image_14082025_09_20_59_10272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377062953","file1":"1377062907","file0":"1377062865","file4":"1377063051","file5":"1377063094","file3":"1377062996"},"map_files_photo_id_array":[{"photo_id":"1377063094","filename":"file5"},{"photo_id":"1377062953","filename":"file2"},{"photo_id":"1377063051","filename":"file4"},{"photo_id":"1377062907","filename":"file1"},{"photo_id":"1377062865","filename":"file0"},{"photo_id":"1377062996","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377063094":["hashtag1","hashtag2"]},{"1377062953":["hashtag1","hashtag2"]},{"1377063051":["hashtag1","hashtag2"]},{"1377062865":["hashtag1","hashtag2"]},{"1377062996":["hashtag1","hashtag2"]},{"1377062907":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377063094, 1377062953, 1377063051, 1377062865, 1377062996, 1377062907)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.51540541648865 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:38:22.525750 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/21/image_14082025_09_21_48_9114.jpg', '/media/data/images/14082025/09/21/image_14082025_09_21_58_10280.jpg', '/media/data/images/14082025/09/22/image_14082025_09_22_09_10245.jpg', '/media/data/images/14082025/09/22/image_14082025_09_22_19_10295.jpg', '/media/data/images/14082025/09/22/image_14082025_09_22_28_9204.jpg', '/media/data/images/14082025/09/22/image_14082025_09_22_38_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/21/image_14082025_09_21_48_9114.jpg /media/data/images/14082025/09/21/image_14082025_09_21_58_10280.jpg /media/data/images/14082025/09/22/image_14082025_09_22_09_10245.jpg /media/data/images/14082025/09/22/image_14082025_09_22_19_10295.jpg /media/data/images/14082025/09/22/image_14082025_09_22_28_9204.jpg /media/data/images/14082025/09/22/image_14082025_09_22_38_10284.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377063125","1377063139","1377063127","1377063136","1377063132","1377063129"],"photo_ids_order":["1377063125","1377063127","1377063129","1377063132","1377063136","1377063139"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e679fdf9ec3729737c768cf98c0ffd0.jpg","text":"TemporaryFile(/tmp/multipartBody6869842390533558222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189563634,"filename":"image_14082025_09_21_48_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83426fa63362e4f10bcbabbc641aa2fb.jpg","text":"TemporaryFile(/tmp/multipartBody1258994409447672498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189563634,"filename":"image_14082025_09_22_38_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef08e84ae8b80e1fe70b48b21e3ee5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3928845880465878597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189563634,"filename":"image_14082025_09_21_58_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb2ea826bdf82a91fecc49872a6bdc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1947849369440518830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189563634,"filename":"image_14082025_09_22_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e615e2bf8f6715b69f780f3eed74ade5.jpg","text":"TemporaryFile(/tmp/multipartBody3064018760702629186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189563634,"filename":"image_14082025_09_22_19_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac907d6e207d7608709023f216905aa6.jpg","text":"TemporaryFile(/tmp/multipartBody943435290993104344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189563634,"filename":"image_14082025_09_22_09_10245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377063129","file1":"1377063127","file0":"1377063125","file4":"1377063136","file5":"1377063139","file3":"1377063132"},"map_files_photo_id_array":[{"photo_id":"1377063139","filename":"file5"},{"photo_id":"1377063129","filename":"file2"},{"photo_id":"1377063136","filename":"file4"},{"photo_id":"1377063127","filename":"file1"},{"photo_id":"1377063125","filename":"file0"},{"photo_id":"1377063132","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377063125":["hashtag1","hashtag2"]},{"1377063139":["hashtag1","hashtag2"]},{"1377063127":["hashtag1","hashtag2"]},{"1377063136":["hashtag1","hashtag2"]},{"1377063132":["hashtag1","hashtag2"]},{"1377063129":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377063125, 1377063139, 1377063127, 1377063136, 1377063132, 1377063129)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.42859625816345 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:39:22.632758 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/22/image_14082025_09_22_49_10319.jpg', '/media/data/images/14082025/09/22/image_14082025_09_22_58_9053.jpg', '/media/data/images/14082025/09/22/image_14082025_09_23_08_10596.jpg', '/media/data/images/14082025/09/23/image_14082025_09_23_19_10379.jpg', '/media/data/images/14082025/09/23/image_14082025_09_23_28_9082.jpg', '/media/data/images/14082025/09/23/image_14082025_09_23_38_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/22/image_14082025_09_22_49_10319.jpg /media/data/images/14082025/09/22/image_14082025_09_22_58_9053.jpg /media/data/images/14082025/09/22/image_14082025_09_23_08_10596.jpg /media/data/images/14082025/09/23/image_14082025_09_23_19_10379.jpg /media/data/images/14082025/09/23/image_14082025_09_23_28_9082.jpg /media/data/images/14082025/09/23/image_14082025_09_23_38_10284.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377063291","1377063393","1377063426","1377063327","1377063458","1377063359"],"photo_ids_order":["1377063291","1377063327","1377063359","1377063393","1377063426","1377063458"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8b0d95f9475c1d8318f1ef6cb070964.jpg","text":"TemporaryFile(/tmp/multipartBody7258542394998362608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189623707,"filename":"image_14082025_09_22_49_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2ecf02fdfa422ed3a3f51e3c0a906b3.jpg","text":"TemporaryFile(/tmp/multipartBody435136388349202365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189623707,"filename":"image_14082025_09_23_19_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51217654fd858e50627641f8f6eb269a.jpg","text":"TemporaryFile(/tmp/multipartBody8939947348595907623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189623707,"filename":"image_14082025_09_23_28_9082.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59f2c81f38c88fb96b883416da58ef3d.jpg","text":"TemporaryFile(/tmp/multipartBody7114018716634987037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189623707,"filename":"image_14082025_09_22_58_9053.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0145e6f0a66eb321b8d9295521c11e2f.jpg","text":"TemporaryFile(/tmp/multipartBody180702944315722161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189623707,"filename":"image_14082025_09_23_38_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ad87d5cf16b62153c7b52e82a5b0ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody3079996433474021904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189623707,"filename":"image_14082025_09_23_08_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377063359","file1":"1377063327","file0":"1377063291","file4":"1377063426","file5":"1377063458","file3":"1377063393"},"map_files_photo_id_array":[{"photo_id":"1377063458","filename":"file5"},{"photo_id":"1377063359","filename":"file2"},{"photo_id":"1377063426","filename":"file4"},{"photo_id":"1377063327","filename":"file1"},{"photo_id":"1377063291","filename":"file0"},{"photo_id":"1377063393","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377063291":["hashtag1","hashtag2"]},{"1377063393":["hashtag1","hashtag2"]},{"1377063426":["hashtag1","hashtag2"]},{"1377063327":["hashtag1","hashtag2"]},{"1377063458":["hashtag1","hashtag2"]},{"1377063359":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377063291, 1377063393, 1377063426, 1377063327, 1377063458, 1377063359)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.00043034553528 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:40:22.761001 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/23/image_14082025_09_23_48_10245.jpg', '/media/data/images/14082025/09/23/image_14082025_09_23_59_10429.jpg', '/media/data/images/14082025/09/24/image_14082025_09_24_08_9223.jpg', '/media/data/images/14082025/09/24/image_14082025_09_24_18_10274.jpg', '/media/data/images/14082025/09/24/image_14082025_09_24_29_10348.jpg', '/media/data/images/14082025/09/24/image_14082025_09_24_39_10269.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/23/image_14082025_09_23_48_10245.jpg /media/data/images/14082025/09/23/image_14082025_09_23_59_10429.jpg /media/data/images/14082025/09/24/image_14082025_09_24_08_9223.jpg /media/data/images/14082025/09/24/image_14082025_09_24_18_10274.jpg /media/data/images/14082025/09/24/image_14082025_09_24_29_10348.jpg /media/data/images/14082025/09/24/image_14082025_09_24_39_10269.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377063778","1377063658","1377063589","1377063780","1377063783","1377063723"],"photo_ids_order":["1377063589","1377063658","1377063723","1377063778","1377063780","1377063783"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0290b03eda741c473be1efcdf362cf17.jpg","text":"TemporaryFile(/tmp/multipartBody4479436135196143038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189683883,"filename":"image_14082025_09_24_18_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90ea6804c366f3b07b84f414de1de4d8.jpg","text":"TemporaryFile(/tmp/multipartBody5949578125383109709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189683883,"filename":"image_14082025_09_23_59_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/feac8f557abc8efbfeb14aa3ab8a62d8.jpg","text":"TemporaryFile(/tmp/multipartBody7323643446450780835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189683883,"filename":"image_14082025_09_23_48_10245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/296f9a6efdab641c6c0ca147a0c7c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7468188518510758606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189683883,"filename":"image_14082025_09_24_29_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e63d6ca091514f32770c24bbcb8edda3.jpg","text":"TemporaryFile(/tmp/multipartBody3746680120856243297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189683883,"filename":"image_14082025_09_24_39_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb7d6bc17244fa8401d326a7ef0092be.jpg","text":"TemporaryFile(/tmp/multipartBody2223485898439892182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189683883,"filename":"image_14082025_09_24_08_9223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377063723","file1":"1377063658","file0":"1377063589","file4":"1377063780","file5":"1377063783","file3":"1377063778"},"map_files_photo_id_array":[{"photo_id":"1377063783","filename":"file5"},{"photo_id":"1377063723","filename":"file2"},{"photo_id":"1377063780","filename":"file4"},{"photo_id":"1377063658","filename":"file1"},{"photo_id":"1377063589","filename":"file0"},{"photo_id":"1377063778","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377063778":["hashtag1","hashtag2"]},{"1377063658":["hashtag1","hashtag2"]},{"1377063589":["hashtag1","hashtag2"]},{"1377063780":["hashtag1","hashtag2"]},{"1377063783":["hashtag1","hashtag2"]},{"1377063723":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377063778, 1377063658, 1377063589, 1377063780, 1377063783, 1377063723)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.018949031829834 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:41:21.870847 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/24/image_14082025_09_24_48_9146.jpg', '/media/data/images/14082025/09/24/image_14082025_09_24_58_10262.jpg', '/media/data/images/14082025/09/25/image_14082025_09_25_11_10372.jpg', '/media/data/images/14082025/09/25/image_14082025_09_25_19_9980.jpg', '/media/data/images/14082025/09/25/image_14082025_09_25_28_9120.jpg', '/media/data/images/14082025/09/25/image_14082025_09_25_38_10298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/24/image_14082025_09_24_48_9146.jpg /media/data/images/14082025/09/24/image_14082025_09_24_58_10262.jpg /media/data/images/14082025/09/25/image_14082025_09_25_11_10372.jpg /media/data/images/14082025/09/25/image_14082025_09_25_19_9980.jpg /media/data/images/14082025/09/25/image_14082025_09_25_28_9120.jpg /media/data/images/14082025/09/25/image_14082025_09_25_38_10298.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064006","1377064149","1377063963","1377064196","1377064085","1377064043"],"photo_ids_order":["1377063963","1377064006","1377064043","1377064085","1377064149","1377064196"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0d6d1622e084b1d4467858fdbef250a.jpg","text":"TemporaryFile(/tmp/multipartBody632377341699439831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189742956,"filename":"image_14082025_09_24_58_10262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/740d8fd939b7776849aa576eb77e10c6.jpg","text":"TemporaryFile(/tmp/multipartBody6190902570211830511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189742956,"filename":"image_14082025_09_25_28_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a530ee7f302c060e47d6d1be9c6c3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7308465438944009546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189742956,"filename":"image_14082025_09_24_48_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0379a7f5a8f776643f981617a0e9968.jpg","text":"TemporaryFile(/tmp/multipartBody7791006033437274106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189742956,"filename":"image_14082025_09_25_38_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f38e5ff1f5f344e5ebdb6c863f0933b.jpg","text":"TemporaryFile(/tmp/multipartBody1817036234953981504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189742956,"filename":"image_14082025_09_25_19_9980.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0da45d9dbadd4d8018762a6e89fe065.jpg","text":"TemporaryFile(/tmp/multipartBody9167333796160791898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189742956,"filename":"image_14082025_09_25_11_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064043","file1":"1377064006","file0":"1377063963","file4":"1377064149","file5":"1377064196","file3":"1377064085"},"map_files_photo_id_array":[{"photo_id":"1377064196","filename":"file5"},{"photo_id":"1377064043","filename":"file2"},{"photo_id":"1377064149","filename":"file4"},{"photo_id":"1377064006","filename":"file1"},{"photo_id":"1377063963","filename":"file0"},{"photo_id":"1377064085","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064006":["hashtag1","hashtag2"]},{"1377064149":["hashtag1","hashtag2"]},{"1377063963":["hashtag1","hashtag2"]},{"1377064196":["hashtag1","hashtag2"]},{"1377064085":["hashtag1","hashtag2"]},{"1377064043":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064006, 1377064149, 1377063963, 1377064196, 1377064085, 1377064043)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.31594395637512 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:42:21.978494 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/25/image_14082025_09_25_48_10260.jpg', '/media/data/images/14082025/09/25/image_14082025_09_25_59_10259.jpg', '/media/data/images/14082025/09/26/image_14082025_09_26_09_10351.jpg', '/media/data/images/14082025/09/26/image_14082025_09_26_28_10278.jpg', '/media/data/images/14082025/09/26/image_14082025_09_26_39_10497.jpg', '/media/data/images/14082025/09/26/image_14082025_09_26_48_9106.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/25/image_14082025_09_25_48_10260.jpg /media/data/images/14082025/09/25/image_14082025_09_25_59_10259.jpg /media/data/images/14082025/09/26/image_14082025_09_26_09_10351.jpg /media/data/images/14082025/09/26/image_14082025_09_26_28_10278.jpg /media/data/images/14082025/09/26/image_14082025_09_26_39_10497.jpg /media/data/images/14082025/09/26/image_14082025_09_26_48_9106.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064225","1377064233","1377064236","1377064218","1377064238","1377064229"],"photo_ids_order":["1377064218","1377064225","1377064229","1377064233","1377064236","1377064238"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2874e984bbfed97fb87db9c3cf0ad0d.jpg","text":"TemporaryFile(/tmp/multipartBody1548685669630498672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189803029,"filename":"image_14082025_09_25_59_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3dc99d9c1f0439a442bf42ae73e3b90.jpg","text":"TemporaryFile(/tmp/multipartBody3152663116541760066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189803029,"filename":"image_14082025_09_26_28_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72ab4bc5f2c3f77cf65a37e04cf066fb.jpg","text":"TemporaryFile(/tmp/multipartBody7788318827399879005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189803029,"filename":"image_14082025_09_26_39_10497.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77edb00755784cb0343a6c4c3a1ec44c.jpg","text":"TemporaryFile(/tmp/multipartBody1067695705443852501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189803029,"filename":"image_14082025_09_25_48_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33e8a2c1b3241f9d94cc8c6dee00d00c.jpg","text":"TemporaryFile(/tmp/multipartBody1866843926321505439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189803029,"filename":"image_14082025_09_26_48_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10cf3199f15de3fb3e698314dd047242.jpg","text":"TemporaryFile(/tmp/multipartBody4430290122576369695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189803029,"filename":"image_14082025_09_26_09_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064229","file1":"1377064225","file0":"1377064218","file4":"1377064236","file5":"1377064238","file3":"1377064233"},"map_files_photo_id_array":[{"photo_id":"1377064238","filename":"file5"},{"photo_id":"1377064229","filename":"file2"},{"photo_id":"1377064236","filename":"file4"},{"photo_id":"1377064225","filename":"file1"},{"photo_id":"1377064218","filename":"file0"},{"photo_id":"1377064233","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064225":["hashtag1","hashtag2"]},{"1377064233":["hashtag1","hashtag2"]},{"1377064236":["hashtag1","hashtag2"]},{"1377064218":["hashtag1","hashtag2"]},{"1377064238":["hashtag1","hashtag2"]},{"1377064229":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064225, 1377064233, 1377064236, 1377064218, 1377064238, 1377064229)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.22546648979187 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:43:22.065192 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/26/image_14082025_09_26_58_10453.jpg', '/media/data/images/14082025/09/27/image_14082025_09_27_09_10351.jpg', '/media/data/images/14082025/09/27/image_14082025_09_27_18_9159.jpg', '/media/data/images/14082025/09/27/image_14082025_09_27_28_10391.jpg', '/media/data/images/14082025/09/27/image_14082025_09_27_39_10445.jpg', '/media/data/images/14082025/09/27/image_14082025_09_27_48_9157.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/26/image_14082025_09_26_58_10453.jpg /media/data/images/14082025/09/27/image_14082025_09_27_09_10351.jpg /media/data/images/14082025/09/27/image_14082025_09_27_18_9159.jpg /media/data/images/14082025/09/27/image_14082025_09_27_28_10391.jpg /media/data/images/14082025/09/27/image_14082025_09_27_39_10445.jpg /media/data/images/14082025/09/27/image_14082025_09_27_48_9157.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064441","1377064414","1377064438","1377064380","1377064434","1377064400"],"photo_ids_order":["1377064380","1377064400","1377064414","1377064434","1377064438","1377064441"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5dee5972e8a3afbcfd7abece3b9efead.jpg","text":"TemporaryFile(/tmp/multipartBody3944051270840993420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189863090,"filename":"image_14082025_09_27_48_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e04bd58b57de7173eba448d65cb10bd6.jpg","text":"TemporaryFile(/tmp/multipartBody3262190432068724263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189863090,"filename":"image_14082025_09_27_18_9159.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da3a93b36f85dc38b1b09fd9ef235a47.jpg","text":"TemporaryFile(/tmp/multipartBody4049219787950031688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189863090,"filename":"image_14082025_09_27_39_10445.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e68f29eb1a69e2b0daf491d3423d8c81.jpg","text":"TemporaryFile(/tmp/multipartBody6303324484401908327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189863090,"filename":"image_14082025_09_26_58_10453.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe761e9f434e676e84b294a0fa6641ea.jpg","text":"TemporaryFile(/tmp/multipartBody3638295878463839956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189863090,"filename":"image_14082025_09_27_28_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f668c967a64e20f5945f9cc6e7ac30c.jpg","text":"TemporaryFile(/tmp/multipartBody6415110639505968747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189863090,"filename":"image_14082025_09_27_09_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064414","file1":"1377064400","file0":"1377064380","file4":"1377064438","file5":"1377064441","file3":"1377064434"},"map_files_photo_id_array":[{"photo_id":"1377064441","filename":"file5"},{"photo_id":"1377064414","filename":"file2"},{"photo_id":"1377064438","filename":"file4"},{"photo_id":"1377064400","filename":"file1"},{"photo_id":"1377064380","filename":"file0"},{"photo_id":"1377064434","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064441":["hashtag1","hashtag2"]},{"1377064414":["hashtag1","hashtag2"]},{"1377064438":["hashtag1","hashtag2"]},{"1377064380":["hashtag1","hashtag2"]},{"1377064434":["hashtag1","hashtag2"]},{"1377064400":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064441, 1377064414, 1377064438, 1377064380, 1377064434, 1377064400)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.00615429878235 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:44:22.217115 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/27/image_14082025_09_27_58_10357.jpg', '/media/data/images/14082025/09/28/image_14082025_09_28_09_10523.jpg', '/media/data/images/14082025/09/28/image_14082025_09_28_18_9107.jpg', '/media/data/images/14082025/09/28/image_14082025_09_28_28_10373.jpg', '/media/data/images/14082025/09/28/image_14082025_09_28_39_10359.jpg', '/media/data/images/14082025/09/28/image_14082025_09_28_49_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/27/image_14082025_09_27_58_10357.jpg /media/data/images/14082025/09/28/image_14082025_09_28_09_10523.jpg /media/data/images/14082025/09/28/image_14082025_09_28_18_9107.jpg /media/data/images/14082025/09/28/image_14082025_09_28_28_10373.jpg /media/data/images/14082025/09/28/image_14082025_09_28_39_10359.jpg /media/data/images/14082025/09/28/image_14082025_09_28_49_10331.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064465","1377064468","1377064461","1377064472","1377064475","1377064457"],"photo_ids_order":["1377064457","1377064461","1377064465","1377064468","1377064472","1377064475"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb9ba7e2d7e163e8d3a25b5d5f8db780.jpg","text":"TemporaryFile(/tmp/multipartBody8201586089276722339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189923216,"filename":"image_14082025_09_28_18_9107.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/01328e9238026c17c2c7e28bb67f40d9.jpg","text":"TemporaryFile(/tmp/multipartBody1250644153609296025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189923216,"filename":"image_14082025_09_28_28_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/06b949f3b99c2071b35792dc09e62d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2714156218194261498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189923216,"filename":"image_14082025_09_28_09_10523.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abb1f2a637bf9aef5dd41c1cf87d567c.jpg","text":"TemporaryFile(/tmp/multipartBody3937265714278482529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189923216,"filename":"image_14082025_09_28_39_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c90f75277472dc612f49b8107cf02e6.jpg","text":"TemporaryFile(/tmp/multipartBody3281079517166872439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189923216,"filename":"image_14082025_09_28_49_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cde3cd62b58fdb2d921a56f0c08c49d7.jpg","text":"TemporaryFile(/tmp/multipartBody2313152183953024822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755189923216,"filename":"image_14082025_09_27_58_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064465","file1":"1377064461","file0":"1377064457","file4":"1377064472","file5":"1377064475","file3":"1377064468"},"map_files_photo_id_array":[{"photo_id":"1377064475","filename":"file5"},{"photo_id":"1377064465","filename":"file2"},{"photo_id":"1377064472","filename":"file4"},{"photo_id":"1377064461","filename":"file1"},{"photo_id":"1377064457","filename":"file0"},{"photo_id":"1377064468","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064465":["hashtag1","hashtag2"]},{"1377064468":["hashtag1","hashtag2"]},{"1377064461":["hashtag1","hashtag2"]},{"1377064472":["hashtag1","hashtag2"]},{"1377064475":["hashtag1","hashtag2"]},{"1377064457":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064465, 1377064468, 1377064461, 1377064472, 1377064475, 1377064457)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.240973711013794 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:45:22.312149 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/28/image_14082025_09_28_58_9163.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_08_10197.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_19_10343.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_29_10358.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_38_9160.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_49_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/28/image_14082025_09_28_58_9163.jpg /media/data/images/14082025/09/29/image_14082025_09_29_08_10197.jpg /media/data/images/14082025/09/29/image_14082025_09_29_19_10343.jpg /media/data/images/14082025/09/29/image_14082025_09_29_29_10358.jpg /media/data/images/14082025/09/29/image_14082025_09_29_38_9160.jpg /media/data/images/14082025/09/29/image_14082025_09_29_49_10397.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5291237831115723 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:45:42.284652 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/28/image_14082025_09_28_58_9163.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_08_10197.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_19_10343.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_29_10358.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_38_9160.jpg', '/media/data/images/14082025/09/29/image_14082025_09_29_49_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/28/image_14082025_09_28_58_9163.jpg /media/data/images/14082025/09/29/image_14082025_09_29_08_10197.jpg /media/data/images/14082025/09/29/image_14082025_09_29_19_10343.jpg /media/data/images/14082025/09/29/image_14082025_09_29_29_10358.jpg /media/data/images/14082025/09/29/image_14082025_09_29_38_9160.jpg /media/data/images/14082025/09/29/image_14082025_09_29_49_10397.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064564","1377064549","1377064581","1377064575","1377064571","1377064568"],"photo_ids_order":["1377064549","1377064564","1377064568","1377064571","1377064575","1377064581"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e853ffac6671a193b12cc6f6fc1f4708.jpg","text":"TemporaryFile(/tmp/multipartBody6580871044312930848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190003168,"filename":"image_14082025_09_29_08_10197.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49dfba91c9d88390e6e37ff45139e30e.jpg","text":"TemporaryFile(/tmp/multipartBody1555956869552608173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190003168,"filename":"image_14082025_09_28_58_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68d6b0826f4d00ab706cae9ca1411a56.jpg","text":"TemporaryFile(/tmp/multipartBody4342539164031727999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190003168,"filename":"image_14082025_09_29_49_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8989e74ef58e1460bff7f0e628d2d351.jpg","text":"TemporaryFile(/tmp/multipartBody8730239743648632484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190003168,"filename":"image_14082025_09_29_38_9160.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f90636d214edad3fe2b52af9f2968b8.jpg","text":"TemporaryFile(/tmp/multipartBody1177959700427562931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190003168,"filename":"image_14082025_09_29_29_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e25fc5d1042863c9b5c51757ab19120.jpg","text":"TemporaryFile(/tmp/multipartBody4679890705615229721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190003168,"filename":"image_14082025_09_29_19_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064568","file1":"1377064564","file0":"1377064549","file4":"1377064575","file5":"1377064581","file3":"1377064571"},"map_files_photo_id_array":[{"photo_id":"1377064581","filename":"file5"},{"photo_id":"1377064568","filename":"file2"},{"photo_id":"1377064575","filename":"file4"},{"photo_id":"1377064564","filename":"file1"},{"photo_id":"1377064549","filename":"file0"},{"photo_id":"1377064571","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064564":["hashtag1","hashtag2"]},{"1377064549":["hashtag1","hashtag2"]},{"1377064581":["hashtag1","hashtag2"]},{"1377064575":["hashtag1","hashtag2"]},{"1377064571":["hashtag1","hashtag2"]},{"1377064568":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064564, 1377064549, 1377064581, 1377064575, 1377064571, 1377064568)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.63285827636719 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:46:42.455927 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/29/image_14082025_09_29_59_10392.jpg', '/media/data/images/14082025/09/30/image_14082025_09_30_08_9432.jpg', '/media/data/images/14082025/09/30/image_14082025_09_30_19_10394.jpg', '/media/data/images/14082025/09/30/image_14082025_09_30_28_9153.jpg', '/media/data/images/14082025/09/30/image_14082025_09_30_38_10496.jpg', '/media/data/images/14082025/09/30/image_14082025_09_30_49_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/29/image_14082025_09_29_59_10392.jpg /media/data/images/14082025/09/30/image_14082025_09_30_08_9432.jpg /media/data/images/14082025/09/30/image_14082025_09_30_19_10394.jpg /media/data/images/14082025/09/30/image_14082025_09_30_28_9153.jpg /media/data/images/14082025/09/30/image_14082025_09_30_38_10496.jpg /media/data/images/14082025/09/30/image_14082025_09_30_49_10363.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064639","1377064612","1377064615","1377064635","1377064623","1377064619"],"photo_ids_order":["1377064612","1377064615","1377064619","1377064623","1377064635","1377064639"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/525e05d281dbb6222c4406419d01afd0.jpg","text":"TemporaryFile(/tmp/multipartBody8671064077128813400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190063445,"filename":"image_14082025_09_30_49_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/137ba251ef82993c9a1fc9d865426d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5309142605465940771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190063445,"filename":"image_14082025_09_29_59_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b19b1abdd7a16eb14540932ef6799f38.jpg","text":"TemporaryFile(/tmp/multipartBody5224261970164397999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190063445,"filename":"image_14082025_09_30_08_9432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2981a3513e9cf73630d581d97dca3ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4738768352709325069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190063445,"filename":"image_14082025_09_30_38_10496.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/040a977a1aab97c2df4a7e3b346d5d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3990315573570685573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190063445,"filename":"image_14082025_09_30_28_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59e9f91af4099bb5bd49af16548b7534.jpg","text":"TemporaryFile(/tmp/multipartBody8094943520142529957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190063445,"filename":"image_14082025_09_30_19_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064619","file1":"1377064615","file0":"1377064612","file4":"1377064635","file5":"1377064639","file3":"1377064623"},"map_files_photo_id_array":[{"photo_id":"1377064639","filename":"file5"},{"photo_id":"1377064619","filename":"file2"},{"photo_id":"1377064635","filename":"file4"},{"photo_id":"1377064615","filename":"file1"},{"photo_id":"1377064612","filename":"file0"},{"photo_id":"1377064623","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064639":["hashtag1","hashtag2"]},{"1377064612":["hashtag1","hashtag2"]},{"1377064615":["hashtag1","hashtag2"]},{"1377064635":["hashtag1","hashtag2"]},{"1377064623":["hashtag1","hashtag2"]},{"1377064619":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064639, 1377064612, 1377064615, 1377064635, 1377064623, 1377064619)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.02256631851196 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:47:42.559083 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/30/image_14082025_09_30_58_9169.jpg', '/media/data/images/14082025/09/30/image_14082025_09_31_08_10470.jpg', '/media/data/images/14082025/09/31/image_14082025_09_31_19_10408.jpg', '/media/data/images/14082025/09/31/image_14082025_09_31_28_9106.jpg', '/media/data/images/14082025/09/31/image_14082025_09_31_38_10306.jpg', '/media/data/images/14082025/09/31/image_14082025_09_31_49_10293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/30/image_14082025_09_30_58_9169.jpg /media/data/images/14082025/09/30/image_14082025_09_31_08_10470.jpg /media/data/images/14082025/09/31/image_14082025_09_31_19_10408.jpg /media/data/images/14082025/09/31/image_14082025_09_31_28_9106.jpg /media/data/images/14082025/09/31/image_14082025_09_31_38_10306.jpg /media/data/images/14082025/09/31/image_14082025_09_31_49_10293.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064672","1377064666","1377064667","1377064681","1377064675","1377064669"],"photo_ids_order":["1377064666","1377064667","1377064669","1377064672","1377064675","1377064681"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f4371d948cec46fe38514b3d04dc4e5f.jpg","text":"TemporaryFile(/tmp/multipartBody727183436619760587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190123569,"filename":"image_14082025_09_31_28_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/edf913beefd56244798d4169bb64b246.jpg","text":"TemporaryFile(/tmp/multipartBody108561640036401148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190123569,"filename":"image_14082025_09_30_58_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d70bf22b3ec00a859d840b3cb43e5bff.jpg","text":"TemporaryFile(/tmp/multipartBody8331280096936019524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190123569,"filename":"image_14082025_09_31_08_10470.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5965d631722b469d6d2eac9047d3d020.jpg","text":"TemporaryFile(/tmp/multipartBody8712414171040011653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190123569,"filename":"image_14082025_09_31_49_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9a49300f3094f42c0d3cf9e4e226529.jpg","text":"TemporaryFile(/tmp/multipartBody7483096998376934205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190123569,"filename":"image_14082025_09_31_38_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b648cd987d390defcbd5d6c03ecacc0.jpg","text":"TemporaryFile(/tmp/multipartBody1911620193293932069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190123569,"filename":"image_14082025_09_31_19_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064669","file1":"1377064667","file0":"1377064666","file4":"1377064675","file5":"1377064681","file3":"1377064672"},"map_files_photo_id_array":[{"photo_id":"1377064681","filename":"file5"},{"photo_id":"1377064669","filename":"file2"},{"photo_id":"1377064675","filename":"file4"},{"photo_id":"1377064667","filename":"file1"},{"photo_id":"1377064666","filename":"file0"},{"photo_id":"1377064672","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064672":["hashtag1","hashtag2"]},{"1377064666":["hashtag1","hashtag2"]},{"1377064667":["hashtag1","hashtag2"]},{"1377064681":["hashtag1","hashtag2"]},{"1377064675":["hashtag1","hashtag2"]},{"1377064669":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064672, 1377064666, 1377064667, 1377064681, 1377064675, 1377064669)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.17349195480347 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:48:42.701480 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/31/image_14082025_09_31_59_10317.jpg', '/media/data/images/14082025/09/32/image_14082025_09_32_08_9297.jpg', '/media/data/images/14082025/09/32/image_14082025_09_32_18_10297.jpg', '/media/data/images/14082025/09/32/image_14082025_09_32_29_10427.jpg', '/media/data/images/14082025/09/32/image_14082025_09_32_38_9103.jpg', '/media/data/images/14082025/09/32/image_14082025_09_32_48_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/31/image_14082025_09_31_59_10317.jpg /media/data/images/14082025/09/32/image_14082025_09_32_08_9297.jpg /media/data/images/14082025/09/32/image_14082025_09_32_18_10297.jpg /media/data/images/14082025/09/32/image_14082025_09_32_29_10427.jpg /media/data/images/14082025/09/32/image_14082025_09_32_38_9103.jpg /media/data/images/14082025/09/32/image_14082025_09_32_48_10250.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377064732","1377064728","1377064722","1377064725","1377064730","1377064748"],"photo_ids_order":["1377064722","1377064725","1377064728","1377064730","1377064732","1377064748"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc44d7a263bafb9e68d18c38117eaf0d.jpg","text":"TemporaryFile(/tmp/multipartBody8569049667168642803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190183741,"filename":"image_14082025_09_32_38_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee3f92014c7b29d7bdd37acc2f9b9b4a.jpg","text":"TemporaryFile(/tmp/multipartBody9035581545310290225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190183741,"filename":"image_14082025_09_32_18_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1dc2f4fdb3c2c95eb483082adfab5e70.jpg","text":"TemporaryFile(/tmp/multipartBody1007473958399268032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190183741,"filename":"image_14082025_09_31_59_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aaf79ad07dc2877c3823432a7b7d64ab.jpg","text":"TemporaryFile(/tmp/multipartBody8910081589189749219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190183741,"filename":"image_14082025_09_32_08_9297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7eef7fc46ad00e2d994b4f124c5d9c1.jpg","text":"TemporaryFile(/tmp/multipartBody2867456009271333998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190183741,"filename":"image_14082025_09_32_29_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/db150cd1bb507d79fc23b5ec66aea468.jpg","text":"TemporaryFile(/tmp/multipartBody6402004138612329481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190183741,"filename":"image_14082025_09_32_48_10250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377064728","file1":"1377064725","file0":"1377064722","file4":"1377064732","file5":"1377064748","file3":"1377064730"},"map_files_photo_id_array":[{"photo_id":"1377064748","filename":"file5"},{"photo_id":"1377064728","filename":"file2"},{"photo_id":"1377064732","filename":"file4"},{"photo_id":"1377064725","filename":"file1"},{"photo_id":"1377064722","filename":"file0"},{"photo_id":"1377064730","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377064732":["hashtag1","hashtag2"]},{"1377064728":["hashtag1","hashtag2"]},{"1377064722":["hashtag1","hashtag2"]},{"1377064725":["hashtag1","hashtag2"]},{"1377064730":["hashtag1","hashtag2"]},{"1377064748":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377064732, 1377064728, 1377064722, 1377064725, 1377064730, 1377064748)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.48247718811035 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:49:41.829936 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/32/image_14082025_09_32_59_10346.jpg', '/media/data/images/14082025/09/33/image_14082025_09_33_09_10170.jpg', '/media/data/images/14082025/09/33/image_14082025_09_33_19_10239.jpg', '/media/data/images/14082025/09/33/image_14082025_09_33_28_9097.jpg', '/media/data/images/14082025/09/33/image_14082025_09_33_38_10249.jpg', '/media/data/images/14082025/09/33/image_14082025_09_33_49_10262.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/32/image_14082025_09_32_59_10346.jpg /media/data/images/14082025/09/33/image_14082025_09_33_09_10170.jpg /media/data/images/14082025/09/33/image_14082025_09_33_19_10239.jpg /media/data/images/14082025/09/33/image_14082025_09_33_28_9097.jpg /media/data/images/14082025/09/33/image_14082025_09_33_38_10249.jpg /media/data/images/14082025/09/33/image_14082025_09_33_49_10262.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377065413","1377065305","1377065376","1377065229","1377065339","1377065152"],"photo_ids_order":["1377065152","1377065229","1377065305","1377065339","1377065376","1377065413"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b73270e218720b4cdf2fa8d098bbeda.jpg","text":"TemporaryFile(/tmp/multipartBody7893368947891515394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190242884,"filename":"image_14082025_09_33_49_10262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f970cae8d15e2dc69eca152f0904050.jpg","text":"TemporaryFile(/tmp/multipartBody2554607580840392526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190242884,"filename":"image_14082025_09_33_19_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b6348569e0686128a10a6fb44dfb37b.jpg","text":"TemporaryFile(/tmp/multipartBody2168412007817752012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190242884,"filename":"image_14082025_09_33_38_10249.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4378835d2e06398d3b18a104d52b3461.jpg","text":"TemporaryFile(/tmp/multipartBody9147771638423163568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190242884,"filename":"image_14082025_09_33_09_10170.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21d9690365241b8a6fd4929632d3b152.jpg","text":"TemporaryFile(/tmp/multipartBody1062486805592512597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190242884,"filename":"image_14082025_09_33_28_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7d931d2fc3633f51b6b1a0d19c71632.jpg","text":"TemporaryFile(/tmp/multipartBody3095156606743297522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190242884,"filename":"image_14082025_09_32_59_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377065305","file1":"1377065229","file0":"1377065152","file4":"1377065376","file5":"1377065413","file3":"1377065339"},"map_files_photo_id_array":[{"photo_id":"1377065413","filename":"file5"},{"photo_id":"1377065305","filename":"file2"},{"photo_id":"1377065376","filename":"file4"},{"photo_id":"1377065229","filename":"file1"},{"photo_id":"1377065152","filename":"file0"},{"photo_id":"1377065339","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377065413":["hashtag1","hashtag2"]},{"1377065305":["hashtag1","hashtag2"]},{"1377065376":["hashtag1","hashtag2"]},{"1377065229":["hashtag1","hashtag2"]},{"1377065339":["hashtag1","hashtag2"]},{"1377065152":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377065413, 1377065305, 1377065376, 1377065229, 1377065339, 1377065152)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.74308633804321 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:50:41.922177 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/33/image_14082025_09_33_59_10255.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_08_9222.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_18_10250.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_29_10344.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_39_10277.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_48_9116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/33/image_14082025_09_33_59_10255.jpg /media/data/images/14082025/09/34/image_14082025_09_34_08_9222.jpg /media/data/images/14082025/09/34/image_14082025_09_34_18_10250.jpg /media/data/images/14082025/09/34/image_14082025_09_34_29_10344.jpg /media/data/images/14082025/09/34/image_14082025_09_34_39_10277.jpg /media/data/images/14082025/09/34/image_14082025_09_34_48_9116.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6317446231842041 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:51:02.728907 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/33/image_14082025_09_33_59_10255.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_08_9222.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_18_10250.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_29_10344.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_39_10277.jpg', '/media/data/images/14082025/09/34/image_14082025_09_34_48_9116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/33/image_14082025_09_33_59_10255.jpg /media/data/images/14082025/09/34/image_14082025_09_34_08_9222.jpg /media/data/images/14082025/09/34/image_14082025_09_34_18_10250.jpg /media/data/images/14082025/09/34/image_14082025_09_34_29_10344.jpg /media/data/images/14082025/09/34/image_14082025_09_34_39_10277.jpg /media/data/images/14082025/09/34/image_14082025_09_34_48_9116.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377065904","1377065896","1377065900","1377065893","1377065887","1377065845"],"photo_ids_order":["1377065845","1377065887","1377065893","1377065896","1377065900","1377065904"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3d1dcd9c1b93c5352370970bf9caf2c.jpg","text":"TemporaryFile(/tmp/multipartBody2819419710554079917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190323792,"filename":"image_14082025_09_34_48_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/407b4abcb130696c8dfd1c7b914769c8.jpg","text":"TemporaryFile(/tmp/multipartBody5744828483794858701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190323792,"filename":"image_14082025_09_34_29_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e9afe949c35d157be2d4dd34ceac2e3.jpg","text":"TemporaryFile(/tmp/multipartBody6590231865143181869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190323792,"filename":"image_14082025_09_34_39_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/efa34a348703a2db94d9adf1d48f95e0.jpg","text":"TemporaryFile(/tmp/multipartBody6920665458096673534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190323792,"filename":"image_14082025_09_34_18_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe5201c2287284ec09d1671bb70a23f2.jpg","text":"TemporaryFile(/tmp/multipartBody1853934682775154190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190323792,"filename":"image_14082025_09_34_08_9222.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8beb05ae30c45b8a0b96bbefc7b93b21.jpg","text":"TemporaryFile(/tmp/multipartBody3656585716623732874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190323792,"filename":"image_14082025_09_33_59_10255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377065893","file1":"1377065887","file0":"1377065845","file4":"1377065900","file5":"1377065904","file3":"1377065896"},"map_files_photo_id_array":[{"photo_id":"1377065904","filename":"file5"},{"photo_id":"1377065893","filename":"file2"},{"photo_id":"1377065900","filename":"file4"},{"photo_id":"1377065887","filename":"file1"},{"photo_id":"1377065845","filename":"file0"},{"photo_id":"1377065896","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377065904":["hashtag1","hashtag2"]},{"1377065896":["hashtag1","hashtag2"]},{"1377065900":["hashtag1","hashtag2"]},{"1377065893":["hashtag1","hashtag2"]},{"1377065887":["hashtag1","hashtag2"]},{"1377065845":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377065904, 1377065896, 1377065900, 1377065893, 1377065887, 1377065845)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.6713502407074 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:52:02.779164 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/35/image_14082025_09_35_19_10248.jpg', '/media/data/images/14082025/09/35/image_14082025_09_35_28_9022.jpg', '/media/data/images/14082025/09/35/image_14082025_09_35_38_10341.jpg', '/media/data/images/14082025/09/35/image_14082025_09_35_49_10293.jpg', '/media/data/images/14082025/09/35/image_14082025_09_35_59_10233.jpg', '/media/data/images/14082025/09/36/image_14082025_09_36_08_9188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/35/image_14082025_09_35_19_10248.jpg /media/data/images/14082025/09/35/image_14082025_09_35_28_9022.jpg /media/data/images/14082025/09/35/image_14082025_09_35_38_10341.jpg /media/data/images/14082025/09/35/image_14082025_09_35_49_10293.jpg /media/data/images/14082025/09/35/image_14082025_09_35_59_10233.jpg /media/data/images/14082025/09/36/image_14082025_09_36_08_9188.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377066117","1377066213","1377066155","1377066067","1377066001","1377066264"],"photo_ids_order":["1377066001","1377066067","1377066117","1377066155","1377066213","1377066264"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb3b8015195bc7853da53a7fd1db8f3e.jpg","text":"TemporaryFile(/tmp/multipartBody246488320875039093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190383817,"filename":"image_14082025_09_35_38_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0aa0bcbfea576afe9f39e4e8bd1b6122.jpg","text":"TemporaryFile(/tmp/multipartBody3056974903501835159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190383817,"filename":"image_14082025_09_35_59_10233.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80aa9e4ba828a4e8fbd9e1c86bd00902.jpg","text":"TemporaryFile(/tmp/multipartBody8459493406560154173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190383817,"filename":"image_14082025_09_35_49_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2988df025b28ec5fce5618718a39f82f.jpg","text":"TemporaryFile(/tmp/multipartBody878667044671753063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190383817,"filename":"image_14082025_09_35_28_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba9a02116a4d518da61c1c470dc1545f.jpg","text":"TemporaryFile(/tmp/multipartBody8843138658482009545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190383817,"filename":"image_14082025_09_35_19_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2649aafa82f2b5ca31a0c267e261895.jpg","text":"TemporaryFile(/tmp/multipartBody1969048590609603982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190383817,"filename":"image_14082025_09_36_08_9188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377066117","file1":"1377066067","file0":"1377066001","file4":"1377066213","file5":"1377066264","file3":"1377066155"},"map_files_photo_id_array":[{"photo_id":"1377066264","filename":"file5"},{"photo_id":"1377066117","filename":"file2"},{"photo_id":"1377066213","filename":"file4"},{"photo_id":"1377066067","filename":"file1"},{"photo_id":"1377066001","filename":"file0"},{"photo_id":"1377066155","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377066117":["hashtag1","hashtag2"]},{"1377066213":["hashtag1","hashtag2"]},{"1377066155":["hashtag1","hashtag2"]},{"1377066067":["hashtag1","hashtag2"]},{"1377066001":["hashtag1","hashtag2"]},{"1377066264":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377066117, 1377066213, 1377066155, 1377066067, 1377066001, 1377066264)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.64702010154724 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:53:03.025698 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/36/image_14082025_09_36_19_10454.jpg', '/media/data/images/14082025/09/36/image_14082025_09_36_29_10318.jpg', '/media/data/images/14082025/09/36/image_14082025_09_36_38_9177.jpg', '/media/data/images/14082025/09/36/image_14082025_09_36_48_10342.jpg', '/media/data/images/14082025/09/36/image_14082025_09_36_59_10341.jpg', '/media/data/images/14082025/09/37/image_14082025_09_37_08_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/36/image_14082025_09_36_19_10454.jpg /media/data/images/14082025/09/36/image_14082025_09_36_29_10318.jpg /media/data/images/14082025/09/36/image_14082025_09_36_38_9177.jpg /media/data/images/14082025/09/36/image_14082025_09_36_48_10342.jpg /media/data/images/14082025/09/36/image_14082025_09_36_59_10341.jpg /media/data/images/14082025/09/37/image_14082025_09_37_08_9367.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377066546","1377066554","1377066548","1377066521","1377066551","1377066514"],"photo_ids_order":["1377066514","1377066521","1377066546","1377066548","1377066551","1377066554"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/901cc582360a7ddf43183088728dd49b.jpg","text":"TemporaryFile(/tmp/multipartBody8111001321506870954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190444035,"filename":"image_14082025_09_36_38_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44c744b77248840e5d330d82e701e213.jpg","text":"TemporaryFile(/tmp/multipartBody3638646056704919314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190444035,"filename":"image_14082025_09_37_08_9367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4397d8e21094f81ed1ae4a23ec089e44.jpg","text":"TemporaryFile(/tmp/multipartBody8056709861258489772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190444035,"filename":"image_14082025_09_36_48_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/454979da92eb4b62dfaa6afa6e16ff77.jpg","text":"TemporaryFile(/tmp/multipartBody8280647123063053185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190444035,"filename":"image_14082025_09_36_29_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc23341d2b5cf136f98cbd4ca2305322.jpg","text":"TemporaryFile(/tmp/multipartBody8064233390705706037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190444035,"filename":"image_14082025_09_36_59_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23d13875161b48d585a8a79a65e2defb.jpg","text":"TemporaryFile(/tmp/multipartBody6395479743353436489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190444035,"filename":"image_14082025_09_36_19_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377066546","file1":"1377066521","file0":"1377066514","file4":"1377066551","file5":"1377066554","file3":"1377066548"},"map_files_photo_id_array":[{"photo_id":"1377066554","filename":"file5"},{"photo_id":"1377066546","filename":"file2"},{"photo_id":"1377066551","filename":"file4"},{"photo_id":"1377066521","filename":"file1"},{"photo_id":"1377066514","filename":"file0"},{"photo_id":"1377066548","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377066546":["hashtag1","hashtag2"]},{"1377066554":["hashtag1","hashtag2"]},{"1377066548":["hashtag1","hashtag2"]},{"1377066521":["hashtag1","hashtag2"]},{"1377066551":["hashtag1","hashtag2"]},{"1377066514":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377066546, 1377066554, 1377066548, 1377066521, 1377066551, 1377066514)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.9983172416687 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:54:03.073643 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/37/image_14082025_09_37_18_10317.jpg', '/media/data/images/14082025/09/37/image_14082025_09_37_29_10363.jpg', '/media/data/images/14082025/09/37/image_14082025_09_37_38_9176.jpg', '/media/data/images/14082025/09/37/image_14082025_09_37_48_10369.jpg', '/media/data/images/14082025/09/37/image_14082025_09_37_59_10340.jpg', '/media/data/images/14082025/09/38/image_14082025_09_38_08_9373.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/37/image_14082025_09_37_18_10317.jpg /media/data/images/14082025/09/37/image_14082025_09_37_29_10363.jpg /media/data/images/14082025/09/37/image_14082025_09_37_38_9176.jpg /media/data/images/14082025/09/37/image_14082025_09_37_48_10369.jpg /media/data/images/14082025/09/37/image_14082025_09_37_59_10340.jpg /media/data/images/14082025/09/38/image_14082025_09_38_08_9373.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377066735","1377066708","1377066743","1377066739","1377066730","1377066727"],"photo_ids_order":["1377066708","1377066727","1377066730","1377066735","1377066739","1377066743"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c29eaf92574a7cde0151fab58d402174.jpg","text":"TemporaryFile(/tmp/multipartBody7593446042173860341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190504077,"filename":"image_14082025_09_37_48_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c216c3a2c707f9e4f31eef3528f74f9.jpg","text":"TemporaryFile(/tmp/multipartBody1319192385918330897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190504077,"filename":"image_14082025_09_37_18_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f32ddfbe184a52f3760b550f0c1ff009.jpg","text":"TemporaryFile(/tmp/multipartBody7814580572844190899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190504077,"filename":"image_14082025_09_38_08_9373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/883692bbbcd30d6746776d9c9d2ae54a.jpg","text":"TemporaryFile(/tmp/multipartBody4409350399902491534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190504077,"filename":"image_14082025_09_37_59_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8434d3f0ce0eba499eedfac8daa7369a.jpg","text":"TemporaryFile(/tmp/multipartBody492497875981733387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190504077,"filename":"image_14082025_09_37_38_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ad94aea53eed2c881d21df34280436b.jpg","text":"TemporaryFile(/tmp/multipartBody4359368071264872419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190504077,"filename":"image_14082025_09_37_29_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377066730","file1":"1377066727","file0":"1377066708","file4":"1377066739","file5":"1377066743","file3":"1377066735"},"map_files_photo_id_array":[{"photo_id":"1377066743","filename":"file5"},{"photo_id":"1377066730","filename":"file2"},{"photo_id":"1377066739","filename":"file4"},{"photo_id":"1377066727","filename":"file1"},{"photo_id":"1377066708","filename":"file0"},{"photo_id":"1377066735","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377066735":["hashtag1","hashtag2"]},{"1377066708":["hashtag1","hashtag2"]},{"1377066743":["hashtag1","hashtag2"]},{"1377066739":["hashtag1","hashtag2"]},{"1377066730":["hashtag1","hashtag2"]},{"1377066727":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377066735, 1377066708, 1377066743, 1377066739, 1377066730, 1377066727)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.88119578361511 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:55:03.113367 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/38/image_14082025_09_38_18_10380.jpg', '/media/data/images/14082025/09/38/image_14082025_09_38_29_10334.jpg', '/media/data/images/14082025/09/38/image_14082025_09_38_38_9096.jpg', '/media/data/images/14082025/09/38/image_14082025_09_38_48_10335.jpg', '/media/data/images/14082025/09/38/image_14082025_09_38_59_10335.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_08_9369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/38/image_14082025_09_38_18_10380.jpg /media/data/images/14082025/09/38/image_14082025_09_38_29_10334.jpg /media/data/images/14082025/09/38/image_14082025_09_38_38_9096.jpg /media/data/images/14082025/09/38/image_14082025_09_38_48_10335.jpg /media/data/images/14082025/09/38/image_14082025_09_38_59_10335.jpg /media/data/images/14082025/09/39/image_14082025_09_39_08_9369.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377067190","1377067097","1377067019","1377066962","1377066818","1377066873"],"photo_ids_order":["1377066818","1377066873","1377066962","1377067019","1377067097","1377067190"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d51191d5df3bde8cced1a48c6e33a24.jpg","text":"TemporaryFile(/tmp/multipartBody3082309246256272395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190564175,"filename":"image_14082025_09_39_08_9369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3943f124c358eda06ea32bf4563a324f.jpg","text":"TemporaryFile(/tmp/multipartBody1523417175816864986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190564175,"filename":"image_14082025_09_38_59_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0174010cbd6a484040b63c9e396adf62.jpg","text":"TemporaryFile(/tmp/multipartBody815859652346109436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190564175,"filename":"image_14082025_09_38_48_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27984b4ecc6f32cfec131da216ca9055.jpg","text":"TemporaryFile(/tmp/multipartBody8084365951898382182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190564175,"filename":"image_14082025_09_38_38_9096.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/545a8d0c349056a37132e8c825307923.jpg","text":"TemporaryFile(/tmp/multipartBody8220787255678723593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190564175,"filename":"image_14082025_09_38_18_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d73302524df5bd93542c28c47fd5cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody1962430441490143601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190564175,"filename":"image_14082025_09_38_29_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377066962","file1":"1377066873","file0":"1377066818","file4":"1377067097","file5":"1377067190","file3":"1377067019"},"map_files_photo_id_array":[{"photo_id":"1377067190","filename":"file5"},{"photo_id":"1377066962","filename":"file2"},{"photo_id":"1377067097","filename":"file4"},{"photo_id":"1377066873","filename":"file1"},{"photo_id":"1377066818","filename":"file0"},{"photo_id":"1377067019","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377067190":["hashtag1","hashtag2"]},{"1377067097":["hashtag1","hashtag2"]},{"1377067019":["hashtag1","hashtag2"]},{"1377066962":["hashtag1","hashtag2"]},{"1377066818":["hashtag1","hashtag2"]},{"1377066873":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377067190, 1377067097, 1377067019, 1377066962, 1377066818, 1377066873)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 50.06744575500488 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:56:03.220643 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/39/image_14082025_09_39_18_10329.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_29_10395.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_39_10331.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_48_9089.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_58_10339.jpg', '/media/data/images/14082025/09/40/image_14082025_09_40_09_10229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/39/image_14082025_09_39_18_10329.jpg /media/data/images/14082025/09/39/image_14082025_09_39_29_10395.jpg /media/data/images/14082025/09/39/image_14082025_09_39_39_10331.jpg /media/data/images/14082025/09/39/image_14082025_09_39_48_9089.jpg /media/data/images/14082025/09/39/image_14082025_09_39_58_10339.jpg /media/data/images/14082025/09/40/image_14082025_09_40_09_10229.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5340297222137451 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:56:22.589532 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/39/image_14082025_09_39_18_10329.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_29_10395.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_39_10331.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_48_9089.jpg', '/media/data/images/14082025/09/39/image_14082025_09_39_58_10339.jpg', '/media/data/images/14082025/09/40/image_14082025_09_40_09_10229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/39/image_14082025_09_39_18_10329.jpg /media/data/images/14082025/09/39/image_14082025_09_39_29_10395.jpg /media/data/images/14082025/09/39/image_14082025_09_39_39_10331.jpg /media/data/images/14082025/09/39/image_14082025_09_39_48_9089.jpg /media/data/images/14082025/09/39/image_14082025_09_39_58_10339.jpg /media/data/images/14082025/09/40/image_14082025_09_40_09_10229.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377067565","1377067646","1377067622","1377067590","1377067603","1377067575"],"photo_ids_order":["1377067565","1377067575","1377067590","1377067603","1377067622","1377067646"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/083670dca8206d87f31effa92cfbb45d.jpg","text":"TemporaryFile(/tmp/multipartBody3290947497028734712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190643465,"filename":"image_14082025_09_39_18_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4ac53965e6960a8d88f92140bfe596a.jpg","text":"TemporaryFile(/tmp/multipartBody230709314623011414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190643465,"filename":"image_14082025_09_40_09_10229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c03f95809e5f784d1487635fe95af0ca.jpg","text":"TemporaryFile(/tmp/multipartBody7407632349005290542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190643465,"filename":"image_14082025_09_39_58_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ec5b765595b529dec3a07dc028c0c12.jpg","text":"TemporaryFile(/tmp/multipartBody391840516826643328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190643465,"filename":"image_14082025_09_39_39_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a67c221f9efa6515395eb1ac792028b.jpg","text":"TemporaryFile(/tmp/multipartBody9115007770759087850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190643465,"filename":"image_14082025_09_39_48_9089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71deef2ebeb7fb0f56ffa2c76928ad97.jpg","text":"TemporaryFile(/tmp/multipartBody2588777020617334517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190643465,"filename":"image_14082025_09_39_29_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377067590","file1":"1377067575","file0":"1377067565","file4":"1377067622","file5":"1377067646","file3":"1377067603"},"map_files_photo_id_array":[{"photo_id":"1377067646","filename":"file5"},{"photo_id":"1377067590","filename":"file2"},{"photo_id":"1377067622","filename":"file4"},{"photo_id":"1377067575","filename":"file1"},{"photo_id":"1377067565","filename":"file0"},{"photo_id":"1377067603","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377067565":["hashtag1","hashtag2"]},{"1377067646":["hashtag1","hashtag2"]},{"1377067622":["hashtag1","hashtag2"]},{"1377067590":["hashtag1","hashtag2"]},{"1377067603":["hashtag1","hashtag2"]},{"1377067575":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377067565, 1377067646, 1377067622, 1377067590, 1377067603, 1377067575)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.69154691696167 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:57:22.652106 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/40/image_14082025_09_40_19_10348.jpg', '/media/data/images/14082025/09/40/image_14082025_09_40_28_9195.jpg', '/media/data/images/14082025/09/40/image_14082025_09_40_39_10402.jpg', '/media/data/images/14082025/09/40/image_14082025_09_40_49_10315.jpg', '/media/data/images/14082025/09/40/image_14082025_09_40_58_9070.jpg', '/media/data/images/14082025/09/40/image_14082025_09_41_08_10409.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/40/image_14082025_09_40_19_10348.jpg /media/data/images/14082025/09/40/image_14082025_09_40_28_9195.jpg /media/data/images/14082025/09/40/image_14082025_09_40_39_10402.jpg /media/data/images/14082025/09/40/image_14082025_09_40_49_10315.jpg /media/data/images/14082025/09/40/image_14082025_09_40_58_9070.jpg /media/data/images/14082025/09/40/image_14082025_09_41_08_10409.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377067742","1377067745","1377067735","1377067738","1377067732","1377067728"],"photo_ids_order":["1377067728","1377067732","1377067735","1377067738","1377067742","1377067745"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3aa37887a92ab169d817889ebab11929.jpg","text":"TemporaryFile(/tmp/multipartBody5019745655343037572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190703637,"filename":"image_14082025_09_40_58_9070.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21614c8a50ab0f2136dce5fbbbfeabc5.jpg","text":"TemporaryFile(/tmp/multipartBody2180918515292116255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190703637,"filename":"image_14082025_09_41_08_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8768ab40875967ab70ab1164c20a1ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5621874208610852560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190703637,"filename":"image_14082025_09_40_39_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44300a3f7773ae55c9fe9fc263b90d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1476188216368892210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190703637,"filename":"image_14082025_09_40_49_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d7dcbca28e39118857f48a1b19f1b98.jpg","text":"TemporaryFile(/tmp/multipartBody2859268832892555771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190703637,"filename":"image_14082025_09_40_28_9195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47b00aba6a34f932d709b1967da17942.jpg","text":"TemporaryFile(/tmp/multipartBody1348732343851504794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190703637,"filename":"image_14082025_09_40_19_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377067735","file1":"1377067732","file0":"1377067728","file4":"1377067742","file5":"1377067745","file3":"1377067738"},"map_files_photo_id_array":[{"photo_id":"1377067745","filename":"file5"},{"photo_id":"1377067735","filename":"file2"},{"photo_id":"1377067742","filename":"file4"},{"photo_id":"1377067732","filename":"file1"},{"photo_id":"1377067728","filename":"file0"},{"photo_id":"1377067738","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377067742":["hashtag1","hashtag2"]},{"1377067745":["hashtag1","hashtag2"]},{"1377067735":["hashtag1","hashtag2"]},{"1377067738":["hashtag1","hashtag2"]},{"1377067732":["hashtag1","hashtag2"]},{"1377067728":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377067742, 1377067745, 1377067735, 1377067738, 1377067732, 1377067728)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.446534156799316 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 18:59:03.294068 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/41/image_14082025_09_41_19_10265.jpg', '/media/data/images/14082025/09/41/image_14082025_09_41_29_10310.jpg', '/media/data/images/14082025/09/41/image_14082025_09_41_38_9084.jpg', '/media/data/images/14082025/09/41/image_14082025_09_41_48_10256.jpg', '/media/data/images/14082025/09/41/image_14082025_09_41_58_10247.jpg', '/media/data/images/14082025/09/42/image_14082025_09_42_09_10226.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/41/image_14082025_09_41_19_10265.jpg /media/data/images/14082025/09/41/image_14082025_09_41_29_10310.jpg /media/data/images/14082025/09/41/image_14082025_09_41_38_9084.jpg /media/data/images/14082025/09/41/image_14082025_09_41_48_10256.jpg /media/data/images/14082025/09/41/image_14082025_09_41_58_10247.jpg /media/data/images/14082025/09/42/image_14082025_09_42_09_10226.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377068009","1377067925","1377068047","1377067888","1377068085","1377067977"],"photo_ids_order":["1377067888","1377067925","1377067977","1377068009","1377068047","1377068085"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebdc6ce91dcc7873ab8b819dc26228a0.jpg","text":"TemporaryFile(/tmp/multipartBody3642832525616653894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190804358,"filename":"image_14082025_09_41_48_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c60b84c33109c2412f82d661bd2aa8f.jpg","text":"TemporaryFile(/tmp/multipartBody8395946699119273944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190804358,"filename":"image_14082025_09_41_29_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f8ba4ab9a0764fc157c8568c5e72229.jpg","text":"TemporaryFile(/tmp/multipartBody4805974888267454525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190804358,"filename":"image_14082025_09_41_58_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5da90efec69c7c638fe8722dbbe4b77.jpg","text":"TemporaryFile(/tmp/multipartBody4163808420618583453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190804358,"filename":"image_14082025_09_41_19_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d0d5b168c740748a1d7606d0804ff50.jpg","text":"TemporaryFile(/tmp/multipartBody2245756897874138730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190804358,"filename":"image_14082025_09_42_09_10226.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07414d58608c754035e0fa25d04c2e62.jpg","text":"TemporaryFile(/tmp/multipartBody6365578930383161009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190804358,"filename":"image_14082025_09_41_38_9084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377067977","file1":"1377067925","file0":"1377067888","file4":"1377068047","file5":"1377068085","file3":"1377068009"},"map_files_photo_id_array":[{"photo_id":"1377068085","filename":"file5"},{"photo_id":"1377067977","filename":"file2"},{"photo_id":"1377068047","filename":"file4"},{"photo_id":"1377067925","filename":"file1"},{"photo_id":"1377067888","filename":"file0"},{"photo_id":"1377068009","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377068009":["hashtag1","hashtag2"]},{"1377067925":["hashtag1","hashtag2"]},{"1377068047":["hashtag1","hashtag2"]},{"1377067888":["hashtag1","hashtag2"]},{"1377068085":["hashtag1","hashtag2"]},{"1377067977":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377068009, 1377067925, 1377068047, 1377067888, 1377068085, 1377067977)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.71067452430725 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:00:03.314066 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/42/image_14082025_09_42_28_10267.jpg', '/media/data/images/14082025/09/42/image_14082025_09_42_38_10284.jpg', '/media/data/images/14082025/09/42/image_14082025_09_42_49_10472.jpg', '/media/data/images/14082025/09/42/image_14082025_09_42_58_9035.jpg', '/media/data/images/14082025/09/42/image_14082025_09_43_09_10701.jpg', '/media/data/images/14082025/09/43/image_14082025_09_43_18_9221.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/42/image_14082025_09_42_28_10267.jpg /media/data/images/14082025/09/42/image_14082025_09_42_38_10284.jpg /media/data/images/14082025/09/42/image_14082025_09_42_49_10472.jpg /media/data/images/14082025/09/42/image_14082025_09_42_58_9035.jpg /media/data/images/14082025/09/42/image_14082025_09_43_09_10701.jpg /media/data/images/14082025/09/43/image_14082025_09_43_18_9221.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377068432","1377068467","1377068398","1377068365","1377068326","1377068500"],"photo_ids_order":["1377068326","1377068365","1377068398","1377068432","1377068467","1377068500"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dbf578d81539ebffe476b412a359853c.jpg","text":"TemporaryFile(/tmp/multipartBody5073063028658544225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190864414,"filename":"image_14082025_09_42_58_9035.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75179ef35d77e663ebb990ba820c4766.jpg","text":"TemporaryFile(/tmp/multipartBody8674873228371045577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190864414,"filename":"image_14082025_09_43_09_10701.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2498e842f4a81e109f92bc80aac9019a.jpg","text":"TemporaryFile(/tmp/multipartBody5033321014420504266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190864414,"filename":"image_14082025_09_42_49_10472.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60aa63e9054fa061be3b44592ac66e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1615068982005775451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190864414,"filename":"image_14082025_09_42_38_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17512ed5649cfd3b62db5c557a3a24ce.jpg","text":"TemporaryFile(/tmp/multipartBody6508137411941121762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190864414,"filename":"image_14082025_09_42_28_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf2b072e216e160aa7f1033b0c74a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody6453491902252676395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190864414,"filename":"image_14082025_09_43_18_9221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377068398","file1":"1377068365","file0":"1377068326","file4":"1377068467","file5":"1377068500","file3":"1377068432"},"map_files_photo_id_array":[{"photo_id":"1377068500","filename":"file5"},{"photo_id":"1377068398","filename":"file2"},{"photo_id":"1377068467","filename":"file4"},{"photo_id":"1377068365","filename":"file1"},{"photo_id":"1377068326","filename":"file0"},{"photo_id":"1377068432","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377068432":["hashtag1","hashtag2"]},{"1377068467":["hashtag1","hashtag2"]},{"1377068398":["hashtag1","hashtag2"]},{"1377068365":["hashtag1","hashtag2"]},{"1377068326":["hashtag1","hashtag2"]},{"1377068500":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377068432, 1377068467, 1377068398, 1377068365, 1377068326, 1377068500)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.62477922439575 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:01:03.518037 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/43/image_14082025_09_43_28_10446.jpg', '/media/data/images/14082025/09/43/image_14082025_09_43_39_10383.jpg', '/media/data/images/14082025/09/43/image_14082025_09_43_49_10309.jpg', '/media/data/images/14082025/09/43/image_14082025_09_43_58_9050.jpg', '/media/data/images/14082025/09/43/image_14082025_09_44_09_10778.jpg', '/media/data/images/14082025/09/44/image_14082025_09_44_18_9238.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/43/image_14082025_09_43_28_10446.jpg /media/data/images/14082025/09/43/image_14082025_09_43_39_10383.jpg /media/data/images/14082025/09/43/image_14082025_09_43_49_10309.jpg /media/data/images/14082025/09/43/image_14082025_09_43_58_9050.jpg /media/data/images/14082025/09/43/image_14082025_09_44_09_10778.jpg /media/data/images/14082025/09/44/image_14082025_09_44_18_9238.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377068828","1377068717","1377068831","1377068833","1377068760","1377068799"],"photo_ids_order":["1377068717","1377068760","1377068799","1377068828","1377068831","1377068833"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d5a013990654e781bfd5cb47ab2742c.jpg","text":"TemporaryFile(/tmp/multipartBody5952465329554876933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190924549,"filename":"image_14082025_09_43_58_9050.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9263e135bbf2d866dc6be3475ef249e2.jpg","text":"TemporaryFile(/tmp/multipartBody4314834319004499211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190924549,"filename":"image_14082025_09_43_28_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83c5c3d0b739e3fe054279d85bd65762.jpg","text":"TemporaryFile(/tmp/multipartBody4850389315844055654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190924549,"filename":"image_14082025_09_44_09_10778.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8da64e68e03d1e9f3ba585a5995999fd.jpg","text":"TemporaryFile(/tmp/multipartBody895363996082950090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190924549,"filename":"image_14082025_09_44_18_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72127d15147dc3a78220d602a371ef2e.jpg","text":"TemporaryFile(/tmp/multipartBody1479806418761209968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190924549,"filename":"image_14082025_09_43_39_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/78cc205663461ce52004eb4d6d9d6ddd.jpg","text":"TemporaryFile(/tmp/multipartBody3861416287732237596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190924549,"filename":"image_14082025_09_43_49_10309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377068799","file1":"1377068760","file0":"1377068717","file4":"1377068831","file5":"1377068833","file3":"1377068828"},"map_files_photo_id_array":[{"photo_id":"1377068833","filename":"file5"},{"photo_id":"1377068799","filename":"file2"},{"photo_id":"1377068831","filename":"file4"},{"photo_id":"1377068760","filename":"file1"},{"photo_id":"1377068717","filename":"file0"},{"photo_id":"1377068828","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377068828":["hashtag1","hashtag2"]},{"1377068717":["hashtag1","hashtag2"]},{"1377068831":["hashtag1","hashtag2"]},{"1377068833":["hashtag1","hashtag2"]},{"1377068760":["hashtag1","hashtag2"]},{"1377068799":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377068828, 1377068717, 1377068831, 1377068833, 1377068760, 1377068799)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.88683843612671 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:02:03.271561 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/44/image_14082025_09_44_28_10259.jpg', '/media/data/images/14082025/09/44/image_14082025_09_44_39_10362.jpg', '/media/data/images/14082025/09/44/image_14082025_09_44_49_10344.jpg', '/media/data/images/14082025/09/44/image_14082025_09_44_58_9090.jpg', '/media/data/images/14082025/09/45/image_14082025_09_45_08_10295.jpg', '/media/data/images/14082025/09/45/image_14082025_09_45_19_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/44/image_14082025_09_44_28_10259.jpg /media/data/images/14082025/09/44/image_14082025_09_44_39_10362.jpg /media/data/images/14082025/09/44/image_14082025_09_44_49_10344.jpg /media/data/images/14082025/09/44/image_14082025_09_44_58_9090.jpg /media/data/images/14082025/09/45/image_14082025_09_45_08_10295.jpg /media/data/images/14082025/09/45/image_14082025_09_45_19_10402.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377069011","1377069196","1377069079","1377069044","1377069128","1377069008"],"photo_ids_order":["1377069008","1377069011","1377069044","1377069079","1377069128","1377069196"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea073af640457824a91a7213b88a67e1.jpg","text":"TemporaryFile(/tmp/multipartBody3035009554216226009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190984306,"filename":"image_14082025_09_44_39_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d45a53f4e01dd80594fcb62c32d87d3e.jpg","text":"TemporaryFile(/tmp/multipartBody644363087619907942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190984306,"filename":"image_14082025_09_45_19_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73cff61bb20a3eccb514c6100649411a.jpg","text":"TemporaryFile(/tmp/multipartBody70469079914013817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190984306,"filename":"image_14082025_09_44_58_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/259bc870ed75b83cce02caae3856c771.jpg","text":"TemporaryFile(/tmp/multipartBody1654680767354862260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190984306,"filename":"image_14082025_09_44_49_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8045ae5051a758c8088091d0cbaca041.jpg","text":"TemporaryFile(/tmp/multipartBody2625292844130563037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190984306,"filename":"image_14082025_09_45_08_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4cb78bf77733041e65face028960d736.jpg","text":"TemporaryFile(/tmp/multipartBody4750208962373086598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755190984306,"filename":"image_14082025_09_44_28_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377069044","file1":"1377069011","file0":"1377069008","file4":"1377069128","file5":"1377069196","file3":"1377069079"},"map_files_photo_id_array":[{"photo_id":"1377069196","filename":"file5"},{"photo_id":"1377069044","filename":"file2"},{"photo_id":"1377069128","filename":"file4"},{"photo_id":"1377069011","filename":"file1"},{"photo_id":"1377069008","filename":"file0"},{"photo_id":"1377069079","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377069011":["hashtag1","hashtag2"]},{"1377069196":["hashtag1","hashtag2"]},{"1377069079":["hashtag1","hashtag2"]},{"1377069044":["hashtag1","hashtag2"]},{"1377069128":["hashtag1","hashtag2"]},{"1377069008":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377069011, 1377069196, 1377069079, 1377069044, 1377069128, 1377069008)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.12144589424133 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:03:02.673715 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/45/image_14082025_09_45_28_9141.jpg', '/media/data/images/14082025/09/45/image_14082025_09_45_38_10356.jpg', '/media/data/images/14082025/09/45/image_14082025_09_45_49_10333.jpg', '/media/data/images/14082025/09/45/image_14082025_09_45_59_10393.jpg', '/media/data/images/14082025/09/46/image_14082025_09_46_08_9142.jpg', '/media/data/images/14082025/09/46/image_14082025_09_46_19_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/45/image_14082025_09_45_28_9141.jpg /media/data/images/14082025/09/45/image_14082025_09_45_38_10356.jpg /media/data/images/14082025/09/45/image_14082025_09_45_49_10333.jpg /media/data/images/14082025/09/45/image_14082025_09_45_59_10393.jpg /media/data/images/14082025/09/46/image_14082025_09_46_08_9142.jpg /media/data/images/14082025/09/46/image_14082025_09_46_19_10398.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377069877","1377069679","1377069571","1377069637","1377069750","1377069815"],"photo_ids_order":["1377069571","1377069637","1377069679","1377069750","1377069815","1377069877"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/281cb76293b708fea8fd8b045ada9a48.jpg","text":"TemporaryFile(/tmp/multipartBody7305622467140626349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191043645,"filename":"image_14082025_09_46_19_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e9b4608d71655cfa56bd82e114552e5.jpg","text":"TemporaryFile(/tmp/multipartBody4010242966041387588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191043645,"filename":"image_14082025_09_45_49_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e98021d76c9e94fdf96f26e6150f16a8.jpg","text":"TemporaryFile(/tmp/multipartBody277709791925228826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191043645,"filename":"image_14082025_09_45_28_9141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50064794544cb6b0dbb50938252b8983.jpg","text":"TemporaryFile(/tmp/multipartBody8926345152730442213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191043645,"filename":"image_14082025_09_45_38_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d3b3a3b5a85d6d537f4862254b3a9fd.jpg","text":"TemporaryFile(/tmp/multipartBody3423959252665158425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191043645,"filename":"image_14082025_09_45_59_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c557820d769378c4f0880d1f3f8f081.jpg","text":"TemporaryFile(/tmp/multipartBody3921711014835481597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191043645,"filename":"image_14082025_09_46_08_9142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377069679","file1":"1377069637","file0":"1377069571","file4":"1377069815","file5":"1377069877","file3":"1377069750"},"map_files_photo_id_array":[{"photo_id":"1377069877","filename":"file5"},{"photo_id":"1377069679","filename":"file2"},{"photo_id":"1377069815","filename":"file4"},{"photo_id":"1377069637","filename":"file1"},{"photo_id":"1377069571","filename":"file0"},{"photo_id":"1377069750","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377069877":["hashtag1","hashtag2"]},{"1377069679":["hashtag1","hashtag2"]},{"1377069571":["hashtag1","hashtag2"]},{"1377069637":["hashtag1","hashtag2"]},{"1377069750":["hashtag1","hashtag2"]},{"1377069815":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377069877, 1377069679, 1377069571, 1377069637, 1377069750, 1377069815)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.882017374038696 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:04:02.764268 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/46/image_14082025_09_46_29_10476.jpg', '/media/data/images/14082025/09/46/image_14082025_09_46_38_9103.jpg', '/media/data/images/14082025/09/46/image_14082025_09_46_48_10324.jpg', '/media/data/images/14082025/09/46/image_14082025_09_46_59_10384.jpg', '/media/data/images/14082025/09/47/image_14082025_09_47_08_9163.jpg', '/media/data/images/14082025/09/47/image_14082025_09_47_18_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/46/image_14082025_09_46_29_10476.jpg /media/data/images/14082025/09/46/image_14082025_09_46_38_9103.jpg /media/data/images/14082025/09/46/image_14082025_09_46_48_10324.jpg /media/data/images/14082025/09/46/image_14082025_09_46_59_10384.jpg /media/data/images/14082025/09/47/image_14082025_09_47_08_9163.jpg /media/data/images/14082025/09/47/image_14082025_09_47_18_10357.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377070448","1377070226","1377070384","1377070546","1377070315","1377070485"],"photo_ids_order":["1377070226","1377070315","1377070384","1377070448","1377070485","1377070546"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c171d58c2d1d6f3c687507815937edf.jpg","text":"TemporaryFile(/tmp/multipartBody1822132372077230897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191103740,"filename":"image_14082025_09_46_59_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84f81f8afb273ce8430ab51263739499.jpg","text":"TemporaryFile(/tmp/multipartBody7664823578884780211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191103740,"filename":"image_14082025_09_46_29_10476.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38df2fd942254d05a241fe7bab8c85b2.jpg","text":"TemporaryFile(/tmp/multipartBody6342960185825940072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191103740,"filename":"image_14082025_09_46_48_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/405234c3189f88c666c60bde6e009615.jpg","text":"TemporaryFile(/tmp/multipartBody2265145940229505727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191103740,"filename":"image_14082025_09_47_18_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf41db501f32b16711cb4e9915ce849c.jpg","text":"TemporaryFile(/tmp/multipartBody5385875644351031725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191103740,"filename":"image_14082025_09_46_38_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bedbe9789d0ef311eade36beb9aab541.jpg","text":"TemporaryFile(/tmp/multipartBody7182576637166234713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191103740,"filename":"image_14082025_09_47_08_9163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377070384","file1":"1377070315","file0":"1377070226","file4":"1377070485","file5":"1377070546","file3":"1377070448"},"map_files_photo_id_array":[{"photo_id":"1377070546","filename":"file5"},{"photo_id":"1377070384","filename":"file2"},{"photo_id":"1377070485","filename":"file4"},{"photo_id":"1377070315","filename":"file1"},{"photo_id":"1377070226","filename":"file0"},{"photo_id":"1377070448","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377070448":["hashtag1","hashtag2"]},{"1377070226":["hashtag1","hashtag2"]},{"1377070384":["hashtag1","hashtag2"]},{"1377070546":["hashtag1","hashtag2"]},{"1377070315":["hashtag1","hashtag2"]},{"1377070485":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377070448, 1377070226, 1377070384, 1377070546, 1377070315, 1377070485)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.75554943084717 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:05:02.895563 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/47/image_14082025_09_47_29_10331.jpg', '/media/data/images/14082025/09/47/image_14082025_09_47_39_10319.jpg', '/media/data/images/14082025/09/47/image_14082025_09_47_48_9081.jpg', '/media/data/images/14082025/09/47/image_14082025_09_47_59_10446.jpg', '/media/data/images/14082025/09/48/image_14082025_09_48_08_9327.jpg', '/media/data/images/14082025/09/48/image_14082025_09_48_18_10289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/47/image_14082025_09_47_29_10331.jpg /media/data/images/14082025/09/47/image_14082025_09_47_39_10319.jpg /media/data/images/14082025/09/47/image_14082025_09_47_48_9081.jpg /media/data/images/14082025/09/47/image_14082025_09_47_59_10446.jpg /media/data/images/14082025/09/48/image_14082025_09_48_08_9327.jpg /media/data/images/14082025/09/48/image_14082025_09_48_18_10289.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377070865","1377070934","1377070798","1377070969","1377070899","1377070830"],"photo_ids_order":["1377070798","1377070830","1377070865","1377070899","1377070934","1377070969"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83c8292b499e455b620aac59fe885b90.jpg","text":"TemporaryFile(/tmp/multipartBody3590405862549031558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191163902,"filename":"image_14082025_09_47_48_9081.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ad5cc83d47cc6775cc94147f996d351.jpg","text":"TemporaryFile(/tmp/multipartBody7269709677085302193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191163902,"filename":"image_14082025_09_48_08_9327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f341822093018e797dfbff0f0840134.jpg","text":"TemporaryFile(/tmp/multipartBody169007442892873173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191163902,"filename":"image_14082025_09_47_29_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6135f2430398b77ce240723fc4d7401.jpg","text":"TemporaryFile(/tmp/multipartBody3119930775966071288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191163902,"filename":"image_14082025_09_48_18_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8bd3010eb9a3ffced875799ec9057698.jpg","text":"TemporaryFile(/tmp/multipartBody8846952509335252411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191163902,"filename":"image_14082025_09_47_59_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e3da877294d623ca2d3b1f5c47f41f7.jpg","text":"TemporaryFile(/tmp/multipartBody7120726818522099698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191163902,"filename":"image_14082025_09_47_39_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377070865","file1":"1377070830","file0":"1377070798","file4":"1377070934","file5":"1377070969","file3":"1377070899"},"map_files_photo_id_array":[{"photo_id":"1377070969","filename":"file5"},{"photo_id":"1377070865","filename":"file2"},{"photo_id":"1377070934","filename":"file4"},{"photo_id":"1377070830","filename":"file1"},{"photo_id":"1377070798","filename":"file0"},{"photo_id":"1377070899","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377070865":["hashtag1","hashtag2"]},{"1377070934":["hashtag1","hashtag2"]},{"1377070798":["hashtag1","hashtag2"]},{"1377070969":["hashtag1","hashtag2"]},{"1377070899":["hashtag1","hashtag2"]},{"1377070830":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377070865, 1377070934, 1377070798, 1377070969, 1377070899, 1377070830)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.57752561569214 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:06:02.735288 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/48/image_14082025_09_48_29_10352.jpg', '/media/data/images/14082025/09/48/image_14082025_09_48_39_10314.jpg', '/media/data/images/14082025/09/48/image_14082025_09_48_48_9151.jpg', '/media/data/images/14082025/09/48/image_14082025_09_48_58_10321.jpg', '/media/data/images/14082025/09/49/image_14082025_09_49_09_10231.jpg', '/media/data/images/14082025/09/49/image_14082025_09_49_19_10439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/48/image_14082025_09_48_29_10352.jpg /media/data/images/14082025/09/48/image_14082025_09_48_39_10314.jpg /media/data/images/14082025/09/48/image_14082025_09_48_48_9151.jpg /media/data/images/14082025/09/48/image_14082025_09_48_58_10321.jpg /media/data/images/14082025/09/49/image_14082025_09_49_09_10231.jpg /media/data/images/14082025/09/49/image_14082025_09_49_19_10439.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377071386","1377071470","1377071538","1377071310","1377071505","1377071438"],"photo_ids_order":["1377071310","1377071386","1377071438","1377071470","1377071505","1377071538"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46b392c791a05d5f1d8a4c158421bfef.jpg","text":"TemporaryFile(/tmp/multipartBody1465342092521143241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191223749,"filename":"image_14082025_09_48_39_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/131e40df946793df122596ff70ed047e.jpg","text":"TemporaryFile(/tmp/multipartBody3668381483012853081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191223749,"filename":"image_14082025_09_48_58_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d08fc030c9d9a0fd42770d172d179c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1701925687962366658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191223749,"filename":"image_14082025_09_49_19_10439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71993eb27f7e0520938e1457e143d138.jpg","text":"TemporaryFile(/tmp/multipartBody8811061454998528524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191223749,"filename":"image_14082025_09_48_29_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1cca44650f38db69fa887f9ac238721b.jpg","text":"TemporaryFile(/tmp/multipartBody4407724353330079632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191223749,"filename":"image_14082025_09_49_09_10231.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fbf4b0ebe18f5657b5e51990c5f70d27.jpg","text":"TemporaryFile(/tmp/multipartBody4870655632935107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191223749,"filename":"image_14082025_09_48_48_9151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377071438","file1":"1377071386","file0":"1377071310","file4":"1377071505","file5":"1377071538","file3":"1377071470"},"map_files_photo_id_array":[{"photo_id":"1377071538","filename":"file5"},{"photo_id":"1377071438","filename":"file2"},{"photo_id":"1377071505","filename":"file4"},{"photo_id":"1377071386","filename":"file1"},{"photo_id":"1377071310","filename":"file0"},{"photo_id":"1377071470","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377071386":["hashtag1","hashtag2"]},{"1377071470":["hashtag1","hashtag2"]},{"1377071538":["hashtag1","hashtag2"]},{"1377071310":["hashtag1","hashtag2"]},{"1377071505":["hashtag1","hashtag2"]},{"1377071438":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377071386, 1377071470, 1377071538, 1377071310, 1377071505, 1377071438)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.69380855560303 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:07:03.258050 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/49/image_14082025_09_49_28_9125.jpg', '/media/data/images/14082025/09/49/image_14082025_09_49_38_10278.jpg', '/media/data/images/14082025/09/49/image_14082025_09_49_49_10353.jpg', '/media/data/images/14082025/09/49/image_14082025_09_49_59_10252.jpg', '/media/data/images/14082025/09/50/image_14082025_09_50_08_9286.jpg', '/media/data/images/14082025/09/50/image_14082025_09_50_19_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/49/image_14082025_09_49_28_9125.jpg /media/data/images/14082025/09/49/image_14082025_09_49_38_10278.jpg /media/data/images/14082025/09/49/image_14082025_09_49_49_10353.jpg /media/data/images/14082025/09/49/image_14082025_09_49_59_10252.jpg /media/data/images/14082025/09/50/image_14082025_09_50_08_9286.jpg /media/data/images/14082025/09/50/image_14082025_09_50_19_10398.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377071793","1377072021","1377071751","1377071897","1377071834","1377071957"],"photo_ids_order":["1377071751","1377071793","1377071834","1377071897","1377071957","1377072021"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11a8b7b4383009e58be522d94d5fa065.jpg","text":"TemporaryFile(/tmp/multipartBody781349068798890128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191284330,"filename":"image_14082025_09_49_38_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dfb44252d63834fd9b6cd0b8ed124360.jpg","text":"TemporaryFile(/tmp/multipartBody7103858407349894337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191284330,"filename":"image_14082025_09_50_19_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5db6c6b0c8763ca1955e12bb57a96aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4305444497883173380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191284330,"filename":"image_14082025_09_49_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/662f82e9719d77fa52fe54c5c349c072.jpg","text":"TemporaryFile(/tmp/multipartBody3370374364310256651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191284330,"filename":"image_14082025_09_49_59_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a53fc23d91e37cef6b47557e08b1bef3.jpg","text":"TemporaryFile(/tmp/multipartBody293732601447716196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191284330,"filename":"image_14082025_09_49_49_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5477e8c354a521af3c2dcd92d5a0a18.jpg","text":"TemporaryFile(/tmp/multipartBody1656101568939215631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191284330,"filename":"image_14082025_09_50_08_9286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377071834","file1":"1377071793","file0":"1377071751","file4":"1377071957","file5":"1377072021","file3":"1377071897"},"map_files_photo_id_array":[{"photo_id":"1377072021","filename":"file5"},{"photo_id":"1377071834","filename":"file2"},{"photo_id":"1377071957","filename":"file4"},{"photo_id":"1377071793","filename":"file1"},{"photo_id":"1377071751","filename":"file0"},{"photo_id":"1377071897","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377071793":["hashtag1","hashtag2"]},{"1377072021":["hashtag1","hashtag2"]},{"1377071751":["hashtag1","hashtag2"]},{"1377071897":["hashtag1","hashtag2"]},{"1377071834":["hashtag1","hashtag2"]},{"1377071957":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377071793, 1377072021, 1377071751, 1377071897, 1377071834, 1377071957)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.58115530014038 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:08:03.110961 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/50/image_14082025_09_50_29_10259.jpg', '/media/data/images/14082025/09/50/image_14082025_09_50_38_9119.jpg', '/media/data/images/14082025/09/50/image_14082025_09_50_48_10423.jpg', '/media/data/images/14082025/09/50/image_14082025_09_50_59_10254.jpg', '/media/data/images/14082025/09/51/image_14082025_09_51_08_9119.jpg', '/media/data/images/14082025/09/51/image_14082025_09_51_18_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/50/image_14082025_09_50_29_10259.jpg /media/data/images/14082025/09/50/image_14082025_09_50_38_9119.jpg /media/data/images/14082025/09/50/image_14082025_09_50_48_10423.jpg /media/data/images/14082025/09/50/image_14082025_09_50_59_10254.jpg /media/data/images/14082025/09/51/image_14082025_09_51_08_9119.jpg /media/data/images/14082025/09/51/image_14082025_09_51_18_10350.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377072766","1377072532","1377072831","1377072677","1377072593","1377072461"],"photo_ids_order":["1377072461","1377072532","1377072593","1377072677","1377072766","1377072831"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e99b940895f767963e4ae27ac94b1e1.jpg","text":"TemporaryFile(/tmp/multipartBody1438046895713054935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191344181,"filename":"image_14082025_09_51_08_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/edf825697d787f8189aee9b57db270a0.jpg","text":"TemporaryFile(/tmp/multipartBody6521813871087325575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191344181,"filename":"image_14082025_09_50_38_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc72b58f0f2a18f30e4d01f5258eb0aa.jpg","text":"TemporaryFile(/tmp/multipartBody7362110251152544732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191344181,"filename":"image_14082025_09_51_18_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/557de0e6d84439f865e9a67a89e1db1f.jpg","text":"TemporaryFile(/tmp/multipartBody4358639531380915887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191344181,"filename":"image_14082025_09_50_59_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92af2876c173924cbbff51082eb4c2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7402477186308436092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191344181,"filename":"image_14082025_09_50_48_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2ab4d6c697f75ebff93b9e8f566de2d.jpg","text":"TemporaryFile(/tmp/multipartBody690081703317703808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191344181,"filename":"image_14082025_09_50_29_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377072593","file1":"1377072532","file0":"1377072461","file4":"1377072766","file5":"1377072831","file3":"1377072677"},"map_files_photo_id_array":[{"photo_id":"1377072831","filename":"file5"},{"photo_id":"1377072593","filename":"file2"},{"photo_id":"1377072766","filename":"file4"},{"photo_id":"1377072532","filename":"file1"},{"photo_id":"1377072461","filename":"file0"},{"photo_id":"1377072677","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377072766":["hashtag1","hashtag2"]},{"1377072532":["hashtag1","hashtag2"]},{"1377072831":["hashtag1","hashtag2"]},{"1377072677":["hashtag1","hashtag2"]},{"1377072593":["hashtag1","hashtag2"]},{"1377072461":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377072766, 1377072532, 1377072831, 1377072677, 1377072593, 1377072461)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.60378360748291 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:09:03.545041 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/51/image_14082025_09_51_29_10341.jpg', '/media/data/images/14082025/09/51/image_14082025_09_51_39_10274.jpg', '/media/data/images/14082025/09/51/image_14082025_09_51_48_9048.jpg', '/media/data/images/14082025/09/51/image_14082025_09_51_58_10263.jpg', '/media/data/images/14082025/09/52/image_14082025_09_52_09_10409.jpg', '/media/data/images/14082025/09/52/image_14082025_09_52_19_10249.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/51/image_14082025_09_51_29_10341.jpg /media/data/images/14082025/09/51/image_14082025_09_51_39_10274.jpg /media/data/images/14082025/09/51/image_14082025_09_51_48_9048.jpg /media/data/images/14082025/09/51/image_14082025_09_51_58_10263.jpg /media/data/images/14082025/09/52/image_14082025_09_52_09_10409.jpg /media/data/images/14082025/09/52/image_14082025_09_52_19_10249.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377073233","1377073308","1377073199","1377073268","1377073208","1377073342"],"photo_ids_order":["1377073199","1377073208","1377073233","1377073268","1377073308","1377073342"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/297fcb4303ca948cdff7b82993298b6c.jpg","text":"TemporaryFile(/tmp/multipartBody1081036468034805148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191404631,"filename":"image_14082025_09_51_48_9048.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/82480cf2f7a0adad3630f2109dbca9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8086755181154151309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191404631,"filename":"image_14082025_09_52_09_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39ca15aca5a30ccc2d13c186b88aa4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1701957801765845117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191404631,"filename":"image_14082025_09_51_29_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c703dffb5088d9769b2c80f33836268.jpg","text":"TemporaryFile(/tmp/multipartBody1844959905841942196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191404631,"filename":"image_14082025_09_51_58_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7fe3607ffb5b2555f9a2bb96439cc837.jpg","text":"TemporaryFile(/tmp/multipartBody648516434721855303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191404631,"filename":"image_14082025_09_51_39_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a778441149e63a3443ec7b4699285b35.jpg","text":"TemporaryFile(/tmp/multipartBody4925199857820090788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191404631,"filename":"image_14082025_09_52_19_10249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377073233","file1":"1377073208","file0":"1377073199","file4":"1377073308","file5":"1377073342","file3":"1377073268"},"map_files_photo_id_array":[{"photo_id":"1377073342","filename":"file5"},{"photo_id":"1377073233","filename":"file2"},{"photo_id":"1377073308","filename":"file4"},{"photo_id":"1377073208","filename":"file1"},{"photo_id":"1377073199","filename":"file0"},{"photo_id":"1377073268","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377073233":["hashtag1","hashtag2"]},{"1377073308":["hashtag1","hashtag2"]},{"1377073199":["hashtag1","hashtag2"]},{"1377073268":["hashtag1","hashtag2"]},{"1377073208":["hashtag1","hashtag2"]},{"1377073342":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377073233, 1377073308, 1377073199, 1377073268, 1377073208, 1377073342)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.865700244903564 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:10:03.363236 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/52/image_14082025_09_52_28_9171.jpg', '/media/data/images/14082025/09/52/image_14082025_09_52_38_10489.jpg', '/media/data/images/14082025/09/52/image_14082025_09_52_49_10440.jpg', '/media/data/images/14082025/09/52/image_14082025_09_52_58_9037.jpg', '/media/data/images/14082025/09/52/image_14082025_09_53_08_10486.jpg', '/media/data/images/14082025/09/53/image_14082025_09_53_19_10278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/52/image_14082025_09_52_28_9171.jpg /media/data/images/14082025/09/52/image_14082025_09_52_38_10489.jpg /media/data/images/14082025/09/52/image_14082025_09_52_49_10440.jpg /media/data/images/14082025/09/52/image_14082025_09_52_58_9037.jpg /media/data/images/14082025/09/52/image_14082025_09_53_08_10486.jpg /media/data/images/14082025/09/53/image_14082025_09_53_19_10278.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377073603","1377073752","1377073539","1377073592","1377073652","1377073475"],"photo_ids_order":["1377073475","1377073539","1377073592","1377073603","1377073652","1377073752"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6da04c474550d21669324bd82639fd7f.jpg","text":"TemporaryFile(/tmp/multipartBody1615168269251983961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191464426,"filename":"image_14082025_09_52_58_9037.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1ef7cc5717c951cd993b4d31239aae5.jpg","text":"TemporaryFile(/tmp/multipartBody3720190073714141904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191464426,"filename":"image_14082025_09_53_19_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/889001e38fec1924496dc93a9dfa5c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5369934332357066318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191464426,"filename":"image_14082025_09_52_38_10489.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2eacb1092cddc32408ac4a8af9153c5.jpg","text":"TemporaryFile(/tmp/multipartBody137201697984807915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191464426,"filename":"image_14082025_09_52_49_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d4fea3a22489af971a9d6e9e1bc3882.jpg","text":"TemporaryFile(/tmp/multipartBody1754718504887966219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191464426,"filename":"image_14082025_09_53_08_10486.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d350297f89dd1d9735f5fd480d441ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7033088279645289644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191464426,"filename":"image_14082025_09_52_28_9171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377073592","file1":"1377073539","file0":"1377073475","file4":"1377073652","file5":"1377073752","file3":"1377073603"},"map_files_photo_id_array":[{"photo_id":"1377073752","filename":"file5"},{"photo_id":"1377073592","filename":"file2"},{"photo_id":"1377073652","filename":"file4"},{"photo_id":"1377073539","filename":"file1"},{"photo_id":"1377073475","filename":"file0"},{"photo_id":"1377073603","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377073603":["hashtag1","hashtag2"]},{"1377073752":["hashtag1","hashtag2"]},{"1377073539":["hashtag1","hashtag2"]},{"1377073592":["hashtag1","hashtag2"]},{"1377073652":["hashtag1","hashtag2"]},{"1377073475":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377073603, 1377073752, 1377073539, 1377073592, 1377073652, 1377073475)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.8441698551178 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:11:02.832471 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/53/image_14082025_09_53_28_9180.jpg', '/media/data/images/14082025/09/53/image_14082025_09_53_38_10285.jpg', '/media/data/images/14082025/09/53/image_14082025_09_53_48_10316.jpg', '/media/data/images/14082025/09/53/image_14082025_09_53_59_10283.jpg', '/media/data/images/14082025/09/54/image_14082025_09_54_08_9265.jpg', '/media/data/images/14082025/09/54/image_14082025_09_54_19_10670.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/53/image_14082025_09_53_28_9180.jpg /media/data/images/14082025/09/53/image_14082025_09_53_38_10285.jpg /media/data/images/14082025/09/53/image_14082025_09_53_48_10316.jpg /media/data/images/14082025/09/53/image_14082025_09_53_59_10283.jpg /media/data/images/14082025/09/54/image_14082025_09_54_08_9265.jpg /media/data/images/14082025/09/54/image_14082025_09_54_19_10670.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074217","1377074319","1377074285","1377074252","1377074144","1377074182"],"photo_ids_order":["1377074144","1377074182","1377074217","1377074252","1377074285","1377074319"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba702604954e0be087baa427bd5a7d96.jpg","text":"TemporaryFile(/tmp/multipartBody5945825630653352523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191523866,"filename":"image_14082025_09_53_48_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30fdb35edbf9ba8e685df8d4b53a4952.jpg","text":"TemporaryFile(/tmp/multipartBody7929697174741247863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191523866,"filename":"image_14082025_09_54_19_10670.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30c2f8bc45469c6764075300bedc4b12.jpg","text":"TemporaryFile(/tmp/multipartBody4497976528002456636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191523866,"filename":"image_14082025_09_54_08_9265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8fb8e2f481a34a8f79610155d6cbfd83.jpg","text":"TemporaryFile(/tmp/multipartBody3499321380995615742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191523866,"filename":"image_14082025_09_53_59_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13ed9b8a008d75d3e77af03f26adb8a7.jpg","text":"TemporaryFile(/tmp/multipartBody604316785651932787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191523866,"filename":"image_14082025_09_53_28_9180.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/463995337935a28a9f4bc199b8cf902c.jpg","text":"TemporaryFile(/tmp/multipartBody4183912132087054505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191523866,"filename":"image_14082025_09_53_38_10285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074217","file1":"1377074182","file0":"1377074144","file4":"1377074285","file5":"1377074319","file3":"1377074252"},"map_files_photo_id_array":[{"photo_id":"1377074319","filename":"file5"},{"photo_id":"1377074217","filename":"file2"},{"photo_id":"1377074285","filename":"file4"},{"photo_id":"1377074182","filename":"file1"},{"photo_id":"1377074144","filename":"file0"},{"photo_id":"1377074252","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074217":["hashtag1","hashtag2"]},{"1377074319":["hashtag1","hashtag2"]},{"1377074285":["hashtag1","hashtag2"]},{"1377074252":["hashtag1","hashtag2"]},{"1377074144":["hashtag1","hashtag2"]},{"1377074182":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074217, 1377074319, 1377074285, 1377074252, 1377074144, 1377074182)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.46458387374878 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:12:02.442294 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/54/image_14082025_09_54_28_9211.jpg', '/media/data/images/14082025/09/54/image_14082025_09_54_38_10399.jpg', '/media/data/images/14082025/09/54/image_14082025_09_54_49_10429.jpg', '/media/data/images/14082025/09/54/image_14082025_09_54_59_10296.jpg', '/media/data/images/14082025/09/55/image_14082025_09_55_08_9273.jpg', '/media/data/images/14082025/09/55/image_14082025_09_55_19_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/54/image_14082025_09_54_28_9211.jpg /media/data/images/14082025/09/54/image_14082025_09_54_38_10399.jpg /media/data/images/14082025/09/54/image_14082025_09_54_49_10429.jpg /media/data/images/14082025/09/54/image_14082025_09_54_59_10296.jpg /media/data/images/14082025/09/55/image_14082025_09_55_08_9273.jpg /media/data/images/14082025/09/55/image_14082025_09_55_19_10384.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074421","1377074429","1377074417","1377074425","1377074419","1377074413"],"photo_ids_order":["1377074413","1377074417","1377074419","1377074421","1377074425","1377074429"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90fcdde3ae16ab9038f20286402a82b0.jpg","text":"TemporaryFile(/tmp/multipartBody5530873117749446867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191583424,"filename":"image_14082025_09_54_59_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72522fc3df1d8463673016c8d32a3dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4277081858082785952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191583424,"filename":"image_14082025_09_55_19_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/335527bced9b77ac0c482b08241f656a.jpg","text":"TemporaryFile(/tmp/multipartBody1110235533256272735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191583424,"filename":"image_14082025_09_54_38_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b64259e5583d7067d973cd7b44ddd771.jpg","text":"TemporaryFile(/tmp/multipartBody1790744715695947109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191583424,"filename":"image_14082025_09_55_08_9273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16b1ed6d99e4242183cb13ff3ee2a00c.jpg","text":"TemporaryFile(/tmp/multipartBody3510641759043990748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191583424,"filename":"image_14082025_09_54_49_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b59beb273585b3fa4cdcf753f89e718a.jpg","text":"TemporaryFile(/tmp/multipartBody3790241580999887614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191583424,"filename":"image_14082025_09_54_28_9211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074419","file1":"1377074417","file0":"1377074413","file4":"1377074425","file5":"1377074429","file3":"1377074421"},"map_files_photo_id_array":[{"photo_id":"1377074429","filename":"file5"},{"photo_id":"1377074419","filename":"file2"},{"photo_id":"1377074425","filename":"file4"},{"photo_id":"1377074417","filename":"file1"},{"photo_id":"1377074413","filename":"file0"},{"photo_id":"1377074421","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074421":["hashtag1","hashtag2"]},{"1377074429":["hashtag1","hashtag2"]},{"1377074417":["hashtag1","hashtag2"]},{"1377074425":["hashtag1","hashtag2"]},{"1377074419":["hashtag1","hashtag2"]},{"1377074413":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074421, 1377074429, 1377074417, 1377074425, 1377074419, 1377074413)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.19663405418396 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:13:02.910181 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/55/image_14082025_09_55_29_10317.jpg', '/media/data/images/14082025/09/55/image_14082025_09_55_38_9079.jpg', '/media/data/images/14082025/09/55/image_14082025_09_55_48_10321.jpg', '/media/data/images/14082025/09/55/image_14082025_09_55_59_10333.jpg', '/media/data/images/14082025/09/56/image_14082025_09_56_08_9225.jpg', '/media/data/images/14082025/09/56/image_14082025_09_56_18_10463.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/55/image_14082025_09_55_29_10317.jpg /media/data/images/14082025/09/55/image_14082025_09_55_38_9079.jpg /media/data/images/14082025/09/55/image_14082025_09_55_48_10321.jpg /media/data/images/14082025/09/55/image_14082025_09_55_59_10333.jpg /media/data/images/14082025/09/56/image_14082025_09_56_08_9225.jpg /media/data/images/14082025/09/56/image_14082025_09_56_18_10463.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074457","1377074450","1377074453","1377074447","1377074441","1377074461"],"photo_ids_order":["1377074441","1377074447","1377074450","1377074453","1377074457","1377074461"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/670a2e7b5d23c6a5ea4f573e3c471103.jpg","text":"TemporaryFile(/tmp/multipartBody7853183522492809837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191647483,"filename":"image_14082025_09_56_08_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ae5410fdcbb475e3bd48a09df3703b2.jpg","text":"TemporaryFile(/tmp/multipartBody4167311994873941113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191647483,"filename":"image_14082025_09_55_48_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a00f0ac5d54b53ece4105fa471bec34d.jpg","text":"TemporaryFile(/tmp/multipartBody578799014245745036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191647483,"filename":"image_14082025_09_55_59_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c03305bb7ac03a3aae548c9988ed9a2.jpg","text":"TemporaryFile(/tmp/multipartBody7987837335107747250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191647483,"filename":"image_14082025_09_55_38_9079.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/302934488d54865bb5e4d0b135a3fb2f.jpg","text":"TemporaryFile(/tmp/multipartBody3085223248581879038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191647483,"filename":"image_14082025_09_55_29_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc729c7221017305f15dbec145296617.jpg","text":"TemporaryFile(/tmp/multipartBody7716914963586700257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191647483,"filename":"image_14082025_09_56_18_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074450","file1":"1377074447","file0":"1377074441","file4":"1377074457","file5":"1377074461","file3":"1377074453"},"map_files_photo_id_array":[{"photo_id":"1377074461","filename":"file5"},{"photo_id":"1377074450","filename":"file2"},{"photo_id":"1377074457","filename":"file4"},{"photo_id":"1377074447","filename":"file1"},{"photo_id":"1377074441","filename":"file0"},{"photo_id":"1377074453","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074457":["hashtag1","hashtag2"]},{"1377074450":["hashtag1","hashtag2"]},{"1377074453":["hashtag1","hashtag2"]},{"1377074447":["hashtag1","hashtag2"]},{"1377074441":["hashtag1","hashtag2"]},{"1377074461":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074457, 1377074450, 1377074453, 1377074447, 1377074441, 1377074461)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.7679386138916 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:14:02.960503 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/56/image_14082025_09_56_29_10380.jpg', '/media/data/images/14082025/09/56/image_14082025_09_56_38_9081.jpg', '/media/data/images/14082025/09/56/image_14082025_09_56_48_10298.jpg', '/media/data/images/14082025/09/56/image_14082025_09_56_59_10402.jpg', '/media/data/images/14082025/09/57/image_14082025_09_57_09_10372.jpg', '/media/data/images/14082025/09/57/image_14082025_09_57_18_9098.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/56/image_14082025_09_56_29_10380.jpg /media/data/images/14082025/09/56/image_14082025_09_56_38_9081.jpg /media/data/images/14082025/09/56/image_14082025_09_56_48_10298.jpg /media/data/images/14082025/09/56/image_14082025_09_56_59_10402.jpg /media/data/images/14082025/09/57/image_14082025_09_57_09_10372.jpg /media/data/images/14082025/09/57/image_14082025_09_57_18_9098.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074497","1377074479","1377074494","1377074490","1377074484","1377074487"],"photo_ids_order":["1377074479","1377074484","1377074487","1377074490","1377074494","1377074497"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15dd40d36d4725df9c819f3e8a081e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2580331324671249810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191704128,"filename":"image_14082025_09_57_18_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99bf711022d8181873ee041de789e5f3.jpg","text":"TemporaryFile(/tmp/multipartBody4738071239168837380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191704128,"filename":"image_14082025_09_56_29_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d31064d04b9b21c10788c0ad919c2e90.jpg","text":"TemporaryFile(/tmp/multipartBody933725741823133293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191704128,"filename":"image_14082025_09_57_09_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21f91909af1d0f570e2f02e28919d252.jpg","text":"TemporaryFile(/tmp/multipartBody2696452436864117159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191704128,"filename":"image_14082025_09_56_59_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af406e06f1cf9811e4cce4768ccb5f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8968284070274454754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191704128,"filename":"image_14082025_09_56_38_9081.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b0d683af53fb68a5d296105609a424c.jpg","text":"TemporaryFile(/tmp/multipartBody1721740810765011705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191704128,"filename":"image_14082025_09_56_48_10298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074487","file1":"1377074484","file0":"1377074479","file4":"1377074494","file5":"1377074497","file3":"1377074490"},"map_files_photo_id_array":[{"photo_id":"1377074497","filename":"file5"},{"photo_id":"1377074487","filename":"file2"},{"photo_id":"1377074494","filename":"file4"},{"photo_id":"1377074484","filename":"file1"},{"photo_id":"1377074479","filename":"file0"},{"photo_id":"1377074490","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074497":["hashtag1","hashtag2"]},{"1377074479":["hashtag1","hashtag2"]},{"1377074494":["hashtag1","hashtag2"]},{"1377074490":["hashtag1","hashtag2"]},{"1377074484":["hashtag1","hashtag2"]},{"1377074487":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074497, 1377074479, 1377074494, 1377074490, 1377074484, 1377074487)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.76198363304138 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:15:02.968589 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/57/image_14082025_09_57_28_10387.jpg', '/media/data/images/14082025/09/57/image_14082025_09_57_39_10261.jpg', '/media/data/images/14082025/09/57/image_14082025_09_57_48_9135.jpg', '/media/data/images/14082025/09/57/image_14082025_09_57_58_10399.jpg', '/media/data/images/14082025/09/58/image_14082025_09_58_09_10373.jpg', '/media/data/images/14082025/09/58/image_14082025_09_58_19_10268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/57/image_14082025_09_57_28_10387.jpg /media/data/images/14082025/09/57/image_14082025_09_57_39_10261.jpg /media/data/images/14082025/09/57/image_14082025_09_57_48_9135.jpg /media/data/images/14082025/09/57/image_14082025_09_57_58_10399.jpg /media/data/images/14082025/09/58/image_14082025_09_58_09_10373.jpg /media/data/images/14082025/09/58/image_14082025_09_58_19_10268.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074526","1377074523","1377074528","1377074521","1377074515","1377074530"],"photo_ids_order":["1377074515","1377074521","1377074523","1377074526","1377074528","1377074530"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cbc83b5d4c1d6771031fbd3d668e334.jpg","text":"TemporaryFile(/tmp/multipartBody3360415829184029517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191764108,"filename":"image_14082025_09_57_58_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38b8f3c960753a7f7529c3d21702f577.jpg","text":"TemporaryFile(/tmp/multipartBody87269273217083886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191764108,"filename":"image_14082025_09_57_48_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9036d5ee510ff42478016a3a75363b15.jpg","text":"TemporaryFile(/tmp/multipartBody3242916848401096043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191764108,"filename":"image_14082025_09_58_09_10373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/838c1a777418e67731e9e34a856e36a2.jpg","text":"TemporaryFile(/tmp/multipartBody7138915128632538368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191764108,"filename":"image_14082025_09_57_39_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/19411be9ee1c97220f0637766d140bdd.jpg","text":"TemporaryFile(/tmp/multipartBody5392699405639551127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191764108,"filename":"image_14082025_09_57_28_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b93eab16c042210e678d20f51cd30d5.jpg","text":"TemporaryFile(/tmp/multipartBody4228160603602787275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191764108,"filename":"image_14082025_09_58_19_10268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074523","file1":"1377074521","file0":"1377074515","file4":"1377074528","file5":"1377074530","file3":"1377074526"},"map_files_photo_id_array":[{"photo_id":"1377074530","filename":"file5"},{"photo_id":"1377074523","filename":"file2"},{"photo_id":"1377074528","filename":"file4"},{"photo_id":"1377074521","filename":"file1"},{"photo_id":"1377074515","filename":"file0"},{"photo_id":"1377074526","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074526":["hashtag1","hashtag2"]},{"1377074523":["hashtag1","hashtag2"]},{"1377074528":["hashtag1","hashtag2"]},{"1377074521":["hashtag1","hashtag2"]},{"1377074515":["hashtag1","hashtag2"]},{"1377074530":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074526, 1377074523, 1377074528, 1377074521, 1377074515, 1377074530)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.26632595062256 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:16:03.155614 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/58/image_14082025_09_58_28_9069.jpg', '/media/data/images/14082025/09/58/image_14082025_09_58_38_10315.jpg', '/media/data/images/14082025/09/58/image_14082025_09_58_49_10328.jpg', '/media/data/images/14082025/09/58/image_14082025_09_58_59_10320.jpg', '/media/data/images/14082025/09/59/image_14082025_09_59_09_10060.jpg', '/media/data/images/14082025/09/59/image_14082025_09_59_18_9022.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/58/image_14082025_09_58_28_9069.jpg /media/data/images/14082025/09/58/image_14082025_09_58_38_10315.jpg /media/data/images/14082025/09/58/image_14082025_09_58_49_10328.jpg /media/data/images/14082025/09/58/image_14082025_09_58_59_10320.jpg /media/data/images/14082025/09/59/image_14082025_09_59_09_10060.jpg /media/data/images/14082025/09/59/image_14082025_09_59_18_9022.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074613","1377074645","1377074683","1377074650","1377074581","1377074638"],"photo_ids_order":["1377074581","1377074613","1377074638","1377074645","1377074650","1377074683"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b373b8c8a2deaad52ac9404e2c3aee8.jpg","text":"TemporaryFile(/tmp/multipartBody5237789216597151447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191824232,"filename":"image_14082025_09_58_38_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9099046fe498b63daa5f959b6b812ae9.jpg","text":"TemporaryFile(/tmp/multipartBody7966992444100859485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191824232,"filename":"image_14082025_09_58_59_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d28b7f0b4ef4cf036a64f14193bcdc54.jpg","text":"TemporaryFile(/tmp/multipartBody9185237277296247333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191824232,"filename":"image_14082025_09_59_18_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b89a3fa03a0c0471bc78d576f17d824c.jpg","text":"TemporaryFile(/tmp/multipartBody637644491499411404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191824232,"filename":"image_14082025_09_59_09_10060.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b9216b0c90677de6bd77b6bd091f5e4.jpg","text":"TemporaryFile(/tmp/multipartBody5580216696624844648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191824232,"filename":"image_14082025_09_58_28_9069.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d55bce634d3f218fbde6481f63446870.jpg","text":"TemporaryFile(/tmp/multipartBody7761516708414420147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191824232,"filename":"image_14082025_09_58_49_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074638","file1":"1377074613","file0":"1377074581","file4":"1377074650","file5":"1377074683","file3":"1377074645"},"map_files_photo_id_array":[{"photo_id":"1377074683","filename":"file5"},{"photo_id":"1377074638","filename":"file2"},{"photo_id":"1377074650","filename":"file4"},{"photo_id":"1377074613","filename":"file1"},{"photo_id":"1377074581","filename":"file0"},{"photo_id":"1377074645","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074613":["hashtag1","hashtag2"]},{"1377074645":["hashtag1","hashtag2"]},{"1377074683":["hashtag1","hashtag2"]},{"1377074650":["hashtag1","hashtag2"]},{"1377074581":["hashtag1","hashtag2"]},{"1377074638":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074613, 1377074645, 1377074683, 1377074650, 1377074581, 1377074638)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.22739124298096 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:17:03.413973 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/09/59/image_14082025_09_59_28_10429.jpg', '/media/data/images/14082025/09/59/image_14082025_09_59_39_10255.jpg', '/media/data/images/14082025/09/59/image_14082025_09_59_48_9171.jpg', '/media/data/images/14082025/09/59/image_14082025_09_59_58_10280.jpg', '/media/data/images/14082025/10/00/image_14082025_10_00_09_10380.jpg', '/media/data/images/14082025/10/00/image_14082025_10_00_19_10489.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/09/59/image_14082025_09_59_28_10429.jpg /media/data/images/14082025/09/59/image_14082025_09_59_39_10255.jpg /media/data/images/14082025/09/59/image_14082025_09_59_48_9171.jpg /media/data/images/14082025/09/59/image_14082025_09_59_58_10280.jpg /media/data/images/14082025/10/00/image_14082025_10_00_09_10380.jpg /media/data/images/14082025/10/00/image_14082025_10_00_19_10489.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377074786","1377074774","1377074777","1377074781","1377074769","1377074784"],"photo_ids_order":["1377074769","1377074774","1377074777","1377074781","1377074784","1377074786"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0921b1297dd9ec4d7b2cd1f9eb174be8.jpg","text":"TemporaryFile(/tmp/multipartBody3137039264595442767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191884508,"filename":"image_14082025_10_00_19_10489.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8fedfa05acb6de5a20de1a07d5ad5ed.jpg","text":"TemporaryFile(/tmp/multipartBody3059697474513514874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191884508,"filename":"image_14082025_09_59_39_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4986f9530a17618cc2339bc79c8a8141.jpg","text":"TemporaryFile(/tmp/multipartBody5407257482610713428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191884508,"filename":"image_14082025_09_59_48_9171.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a0ea1dae3da73dfac9502e43a75c107.jpg","text":"TemporaryFile(/tmp/multipartBody1453549097179136382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191884508,"filename":"image_14082025_09_59_58_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80c945a404ea392e7290584d6472dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1895277458064293021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191884508,"filename":"image_14082025_09_59_28_10429.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/057649a7444c0b80175b0fef952ffa8e.jpg","text":"TemporaryFile(/tmp/multipartBody461739746361174384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191884508,"filename":"image_14082025_10_00_09_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377074777","file1":"1377074774","file0":"1377074769","file4":"1377074784","file5":"1377074786","file3":"1377074781"},"map_files_photo_id_array":[{"photo_id":"1377074786","filename":"file5"},{"photo_id":"1377074777","filename":"file2"},{"photo_id":"1377074784","filename":"file4"},{"photo_id":"1377074774","filename":"file1"},{"photo_id":"1377074769","filename":"file0"},{"photo_id":"1377074781","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377074786":["hashtag1","hashtag2"]},{"1377074774":["hashtag1","hashtag2"]},{"1377074777":["hashtag1","hashtag2"]},{"1377074781":["hashtag1","hashtag2"]},{"1377074769":["hashtag1","hashtag2"]},{"1377074784":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377074786, 1377074774, 1377074777, 1377074781, 1377074769, 1377074784)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.00434446334839 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:18:03.337744 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/00/image_14082025_10_00_28_9018.jpg', '/media/data/images/14082025/10/00/image_14082025_10_00_38_10268.jpg', '/media/data/images/14082025/10/00/image_14082025_10_00_49_10243.jpg', '/media/data/images/14082025/10/00/image_14082025_10_00_59_10241.jpg', '/media/data/images/14082025/10/01/image_14082025_10_01_08_9258.jpg', '/media/data/images/14082025/10/01/image_14082025_10_01_18_10241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/00/image_14082025_10_00_28_9018.jpg /media/data/images/14082025/10/00/image_14082025_10_00_38_10268.jpg /media/data/images/14082025/10/00/image_14082025_10_00_49_10243.jpg /media/data/images/14082025/10/00/image_14082025_10_00_59_10241.jpg /media/data/images/14082025/10/01/image_14082025_10_01_08_9258.jpg /media/data/images/14082025/10/01/image_14082025_10_01_18_10241.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377075071","1377075107","1377075038","1377075005","1377074971","1377075141"],"photo_ids_order":["1377074971","1377075005","1377075038","1377075071","1377075107","1377075141"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/029b430861a8dc04424eab093a78c25b.jpg","text":"TemporaryFile(/tmp/multipartBody2289398875929952570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191944421,"filename":"image_14082025_10_00_59_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af06872fe167b0ec2e0f793e7ac8b7bf.jpg","text":"TemporaryFile(/tmp/multipartBody2233046758989137504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191944421,"filename":"image_14082025_10_01_08_9258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e8cf76f6b161a0a2073aa1277032d52.jpg","text":"TemporaryFile(/tmp/multipartBody8547771624095740821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191944421,"filename":"image_14082025_10_00_49_10243.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c85236a6f5f672b9f04f179c53218e0.jpg","text":"TemporaryFile(/tmp/multipartBody4039161817747098054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191944421,"filename":"image_14082025_10_00_38_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/19b31d6ea700649fe13be1447581f1f1.jpg","text":"TemporaryFile(/tmp/multipartBody8635945737200988911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191944421,"filename":"image_14082025_10_00_28_9018.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e69e1abeaf42a5cbd1326c561798dd2a.jpg","text":"TemporaryFile(/tmp/multipartBody5865938050205474906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755191944421,"filename":"image_14082025_10_01_18_10241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377075038","file1":"1377075005","file0":"1377074971","file4":"1377075107","file5":"1377075141","file3":"1377075071"},"map_files_photo_id_array":[{"photo_id":"1377075141","filename":"file5"},{"photo_id":"1377075038","filename":"file2"},{"photo_id":"1377075107","filename":"file4"},{"photo_id":"1377075005","filename":"file1"},{"photo_id":"1377074971","filename":"file0"},{"photo_id":"1377075071","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377075071":["hashtag1","hashtag2"]},{"1377075107":["hashtag1","hashtag2"]},{"1377075038":["hashtag1","hashtag2"]},{"1377075005":["hashtag1","hashtag2"]},{"1377074971":["hashtag1","hashtag2"]},{"1377075141":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377075071, 1377075107, 1377075038, 1377075005, 1377074971, 1377075141)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.77684426307678 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:19:03.800136 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/01/image_14082025_10_01_29_10283.jpg', '/media/data/images/14082025/10/01/image_14082025_10_01_39_10398.jpg', '/media/data/images/14082025/10/01/image_14082025_10_01_48_9010.jpg', '/media/data/images/14082025/10/01/image_14082025_10_01_58_10242.jpg', '/media/data/images/14082025/10/02/image_14082025_10_02_09_10333.jpg', '/media/data/images/14082025/10/02/image_14082025_10_02_19_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/01/image_14082025_10_01_29_10283.jpg /media/data/images/14082025/10/01/image_14082025_10_01_39_10398.jpg /media/data/images/14082025/10/01/image_14082025_10_01_48_9010.jpg /media/data/images/14082025/10/01/image_14082025_10_01_58_10242.jpg /media/data/images/14082025/10/02/image_14082025_10_02_09_10333.jpg /media/data/images/14082025/10/02/image_14082025_10_02_19_10324.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377075365","1377075598","1377075499","1377075643","1377075433","1377075564"],"photo_ids_order":["1377075365","1377075433","1377075499","1377075564","1377075598","1377075643"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/02c15f4784087c848cb71a874df751c0.jpg","text":"TemporaryFile(/tmp/multipartBody7707754550075459447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192004904,"filename":"image_14082025_10_01_29_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6797b77d5234657aaa36737870f6bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody3742170706645567134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192004904,"filename":"image_14082025_10_02_09_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67d230469c5762014d755d6e4121a745.jpg","text":"TemporaryFile(/tmp/multipartBody8252240904424027496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192004904,"filename":"image_14082025_10_01_48_9010.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/690df6c2586d221cc295e78ec35709aa.jpg","text":"TemporaryFile(/tmp/multipartBody3578230621410307563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192004904,"filename":"image_14082025_10_02_19_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1263d65a072a8b680ddf2c1c0d1edd35.jpg","text":"TemporaryFile(/tmp/multipartBody3927161296752822594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192004904,"filename":"image_14082025_10_01_39_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8231283a299c2681556e7b3a9b40f9df.jpg","text":"TemporaryFile(/tmp/multipartBody2256618578586814096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192004904,"filename":"image_14082025_10_01_58_10242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377075499","file1":"1377075433","file0":"1377075365","file4":"1377075598","file5":"1377075643","file3":"1377075564"},"map_files_photo_id_array":[{"photo_id":"1377075643","filename":"file5"},{"photo_id":"1377075499","filename":"file2"},{"photo_id":"1377075598","filename":"file4"},{"photo_id":"1377075433","filename":"file1"},{"photo_id":"1377075365","filename":"file0"},{"photo_id":"1377075564","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377075365":["hashtag1","hashtag2"]},{"1377075598":["hashtag1","hashtag2"]},{"1377075499":["hashtag1","hashtag2"]},{"1377075643":["hashtag1","hashtag2"]},{"1377075433":["hashtag1","hashtag2"]},{"1377075564":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377075365, 1377075598, 1377075499, 1377075643, 1377075433, 1377075564)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.49192690849304 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:20:02.562064 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/02/image_14082025_10_02_28_9014.jpg', '/media/data/images/14082025/10/02/image_14082025_10_02_38_10328.jpg', '/media/data/images/14082025/10/02/image_14082025_10_02_49_10345.jpg', '/media/data/images/14082025/10/02/image_14082025_10_02_59_10258.jpg', '/media/data/images/14082025/10/03/image_14082025_10_03_09_10127.jpg', '/media/data/images/14082025/10/03/image_14082025_10_03_18_9097.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/02/image_14082025_10_02_28_9014.jpg /media/data/images/14082025/10/02/image_14082025_10_02_38_10328.jpg /media/data/images/14082025/10/02/image_14082025_10_02_49_10345.jpg /media/data/images/14082025/10/02/image_14082025_10_02_59_10258.jpg /media/data/images/14082025/10/03/image_14082025_10_03_09_10127.jpg /media/data/images/14082025/10/03/image_14082025_10_03_18_9097.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377076004","1377075971","1377076018","1377075934","1377076009","1377076014"],"photo_ids_order":["1377075934","1377075971","1377076004","1377076009","1377076014","1377076018"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b277e6dbdb1232da5accb7e062f8b983.jpg","text":"TemporaryFile(/tmp/multipartBody9091658068448459702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192063660,"filename":"image_14082025_10_02_49_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83db4bab385867e437d036c519527e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5724416242619130318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192063660,"filename":"image_14082025_10_02_38_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/353589dc3841a37f511e9808d4b50799.jpg","text":"TemporaryFile(/tmp/multipartBody9163116619881456369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192063660,"filename":"image_14082025_10_03_18_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15f00c68464826211cb184f5cfb2e028.jpg","text":"TemporaryFile(/tmp/multipartBody5524164174386963344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192063660,"filename":"image_14082025_10_02_28_9014.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/263a70c6930b1f23316cba5001b1ff91.jpg","text":"TemporaryFile(/tmp/multipartBody6141047553689380491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192063660,"filename":"image_14082025_10_02_59_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22e3884ebedcbf63a234abf1886d3fec.jpg","text":"TemporaryFile(/tmp/multipartBody6697008432374471922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192063660,"filename":"image_14082025_10_03_09_10127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377076004","file1":"1377075971","file0":"1377075934","file4":"1377076014","file5":"1377076018","file3":"1377076009"},"map_files_photo_id_array":[{"photo_id":"1377076018","filename":"file5"},{"photo_id":"1377076004","filename":"file2"},{"photo_id":"1377076014","filename":"file4"},{"photo_id":"1377075971","filename":"file1"},{"photo_id":"1377075934","filename":"file0"},{"photo_id":"1377076009","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377076004":["hashtag1","hashtag2"]},{"1377075971":["hashtag1","hashtag2"]},{"1377076018":["hashtag1","hashtag2"]},{"1377075934":["hashtag1","hashtag2"]},{"1377076009":["hashtag1","hashtag2"]},{"1377076014":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377076004, 1377075971, 1377076018, 1377075934, 1377076009, 1377076014)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.8563597202301 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:21:02.738446 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/03/image_14082025_10_03_28_10240.jpg', '/media/data/images/14082025/10/03/image_14082025_10_03_39_10292.jpg', '/media/data/images/14082025/10/03/image_14082025_10_03_49_10337.jpg', '/media/data/images/14082025/10/03/image_14082025_10_03_58_9021.jpg', '/media/data/images/14082025/10/03/image_14082025_10_04_08_10509.jpg', '/media/data/images/14082025/10/04/image_14082025_10_04_19_10304.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/03/image_14082025_10_03_28_10240.jpg /media/data/images/14082025/10/03/image_14082025_10_03_39_10292.jpg /media/data/images/14082025/10/03/image_14082025_10_03_49_10337.jpg /media/data/images/14082025/10/03/image_14082025_10_03_58_9021.jpg /media/data/images/14082025/10/03/image_14082025_10_04_08_10509.jpg /media/data/images/14082025/10/04/image_14082025_10_04_19_10304.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377076034","1377076051","1377076048","1377076044","1377076038","1377076053"],"photo_ids_order":["1377076034","1377076038","1377076044","1377076048","1377076051","1377076053"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c1e8567b13221a784f8c5427d2542d2.jpg","text":"TemporaryFile(/tmp/multipartBody8999809913180275617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192123800,"filename":"image_14082025_10_03_28_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92d818a8b0acca34e278b1344c54a4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1989420665815121150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192123800,"filename":"image_14082025_10_04_08_10509.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de59a05b03e3bbbdf693b6080b1f0a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1211580921985134289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192123800,"filename":"image_14082025_10_03_58_9021.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65546a39eb501bb2151cc7896895013d.jpg","text":"TemporaryFile(/tmp/multipartBody4825779349416965548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192123800,"filename":"image_14082025_10_03_49_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab31be1a25a46b89acd186e4be19b449.jpg","text":"TemporaryFile(/tmp/multipartBody6169363208871732316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192123800,"filename":"image_14082025_10_03_39_10292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2c3b7190aab484a596150d7071a6429.jpg","text":"TemporaryFile(/tmp/multipartBody331590918044018244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192123800,"filename":"image_14082025_10_04_19_10304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377076044","file1":"1377076038","file0":"1377076034","file4":"1377076051","file5":"1377076053","file3":"1377076048"},"map_files_photo_id_array":[{"photo_id":"1377076053","filename":"file5"},{"photo_id":"1377076044","filename":"file2"},{"photo_id":"1377076051","filename":"file4"},{"photo_id":"1377076038","filename":"file1"},{"photo_id":"1377076034","filename":"file0"},{"photo_id":"1377076048","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377076034":["hashtag1","hashtag2"]},{"1377076051":["hashtag1","hashtag2"]},{"1377076048":["hashtag1","hashtag2"]},{"1377076044":["hashtag1","hashtag2"]},{"1377076038":["hashtag1","hashtag2"]},{"1377076053":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377076034, 1377076051, 1377076048, 1377076044, 1377076038, 1377076053)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.47455358505249 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:22:02.516801 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/04/image_14082025_10_04_28_9092.jpg', '/media/data/images/14082025/10/04/image_14082025_10_04_38_10251.jpg', '/media/data/images/14082025/10/04/image_14082025_10_04_48_10377.jpg', '/media/data/images/14082025/10/04/image_14082025_10_04_59_10235.jpg', '/media/data/images/14082025/10/05/image_14082025_10_05_08_9115.jpg', '/media/data/images/14082025/10/05/image_14082025_10_05_18_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/04/image_14082025_10_04_28_9092.jpg /media/data/images/14082025/10/04/image_14082025_10_04_38_10251.jpg /media/data/images/14082025/10/04/image_14082025_10_04_48_10377.jpg /media/data/images/14082025/10/04/image_14082025_10_04_59_10235.jpg /media/data/images/14082025/10/05/image_14082025_10_05_08_9115.jpg /media/data/images/14082025/10/05/image_14082025_10_05_18_10362.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377076226","1377076297","1377076156","1377076120","1377076263","1377076190"],"photo_ids_order":["1377076120","1377076156","1377076190","1377076226","1377076263","1377076297"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2cba04459d3cc7b724543a153226975.jpg","text":"TemporaryFile(/tmp/multipartBody6938002640045728689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192183690,"filename":"image_14082025_10_04_59_10235.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89a25f488738ec278b80111b8da60006.jpg","text":"TemporaryFile(/tmp/multipartBody2264432494808456660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192183690,"filename":"image_14082025_10_05_18_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3dc35c4d8e0fad853cb37a20e8d695c8.jpg","text":"TemporaryFile(/tmp/multipartBody7620147255615679958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192183690,"filename":"image_14082025_10_04_38_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d0bae245c29d73ae65d187100333361.jpg","text":"TemporaryFile(/tmp/multipartBody3659593041637660747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192183690,"filename":"image_14082025_10_04_28_9092.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52c52a44658d2438e44385657fedd516.jpg","text":"TemporaryFile(/tmp/multipartBody6654367538916434612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192183690,"filename":"image_14082025_10_05_08_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87408ff519d98b7d612e3a32fa535955.jpg","text":"TemporaryFile(/tmp/multipartBody4961169721557396370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192183690,"filename":"image_14082025_10_04_48_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377076190","file1":"1377076156","file0":"1377076120","file4":"1377076263","file5":"1377076297","file3":"1377076226"},"map_files_photo_id_array":[{"photo_id":"1377076297","filename":"file5"},{"photo_id":"1377076190","filename":"file2"},{"photo_id":"1377076263","filename":"file4"},{"photo_id":"1377076156","filename":"file1"},{"photo_id":"1377076120","filename":"file0"},{"photo_id":"1377076226","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377076226":["hashtag1","hashtag2"]},{"1377076297":["hashtag1","hashtag2"]},{"1377076156":["hashtag1","hashtag2"]},{"1377076120":["hashtag1","hashtag2"]},{"1377076263":["hashtag1","hashtag2"]},{"1377076190":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377076226, 1377076297, 1377076156, 1377076120, 1377076263, 1377076190)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.30744743347168 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:23:03.087318 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/05/image_14082025_10_05_28_10253.jpg', '/media/data/images/14082025/10/05/image_14082025_10_05_39_10237.jpg', '/media/data/images/14082025/10/05/image_14082025_10_05_49_10244.jpg', '/media/data/images/14082025/10/05/image_14082025_10_05_58_9013.jpg', '/media/data/images/14082025/10/05/image_14082025_10_06_08_10438.jpg', '/media/data/images/14082025/10/06/image_14082025_10_06_19_10586.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/05/image_14082025_10_05_28_10253.jpg /media/data/images/14082025/10/05/image_14082025_10_05_39_10237.jpg /media/data/images/14082025/10/05/image_14082025_10_05_49_10244.jpg /media/data/images/14082025/10/05/image_14082025_10_05_58_9013.jpg /media/data/images/14082025/10/05/image_14082025_10_06_08_10438.jpg /media/data/images/14082025/10/06/image_14082025_10_06_19_10586.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377076582","1377076549","1377076600","1377076605","1377076595","1377076512"],"photo_ids_order":["1377076512","1377076549","1377076582","1377076595","1377076600","1377076605"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1eff757d47801f7abc7bde3f6499998a.jpg","text":"TemporaryFile(/tmp/multipartBody4791774128227904964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192244147,"filename":"image_14082025_10_05_49_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ded8b9c7676cd9a182684ecbac2dbd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6154722607184837795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192244147,"filename":"image_14082025_10_05_39_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73be615f6e8b0d4f06581e89030e6cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8109641063117534974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192244147,"filename":"image_14082025_10_06_08_10438.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/55482c979db53e6a3fa97f792380363e.jpg","text":"TemporaryFile(/tmp/multipartBody6741408106443987405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192244147,"filename":"image_14082025_10_06_19_10586.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ecf852d57380b593bc32cd65e0bd7279.jpg","text":"TemporaryFile(/tmp/multipartBody4939803340364004878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192244147,"filename":"image_14082025_10_05_58_9013.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e8f9a9d62311f2e59a4b5a3173ceb56.jpg","text":"TemporaryFile(/tmp/multipartBody4440844038151737377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192244147,"filename":"image_14082025_10_05_28_10253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377076582","file1":"1377076549","file0":"1377076512","file4":"1377076600","file5":"1377076605","file3":"1377076595"},"map_files_photo_id_array":[{"photo_id":"1377076605","filename":"file5"},{"photo_id":"1377076582","filename":"file2"},{"photo_id":"1377076600","filename":"file4"},{"photo_id":"1377076549","filename":"file1"},{"photo_id":"1377076512","filename":"file0"},{"photo_id":"1377076595","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377076582":["hashtag1","hashtag2"]},{"1377076549":["hashtag1","hashtag2"]},{"1377076600":["hashtag1","hashtag2"]},{"1377076605":["hashtag1","hashtag2"]},{"1377076595":["hashtag1","hashtag2"]},{"1377076512":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377076582, 1377076549, 1377076600, 1377076605, 1377076595, 1377076512)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.3711097240448 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:24:03.115037 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/06/image_14082025_10_06_28_9015.jpg', '/media/data/images/14082025/10/06/image_14082025_10_06_38_10241.jpg', '/media/data/images/14082025/10/06/image_14082025_10_06_48_10257.jpg', '/media/data/images/14082025/10/06/image_14082025_10_06_59_10359.jpg', '/media/data/images/14082025/10/07/image_14082025_10_07_08_9199.jpg', '/media/data/images/14082025/10/07/image_14082025_10_07_18_10317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/06/image_14082025_10_06_28_9015.jpg /media/data/images/14082025/10/06/image_14082025_10_06_38_10241.jpg /media/data/images/14082025/10/06/image_14082025_10_06_48_10257.jpg /media/data/images/14082025/10/06/image_14082025_10_06_59_10359.jpg /media/data/images/14082025/10/07/image_14082025_10_07_08_9199.jpg /media/data/images/14082025/10/07/image_14082025_10_07_18_10317.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377076724","1377076690","1377076758","1377076620","1377076815","1377076655"],"photo_ids_order":["1377076620","1377076655","1377076690","1377076724","1377076758","1377076815"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a031885f228e41c0b4525841677c2b92.jpg","text":"TemporaryFile(/tmp/multipartBody112802891087410312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192304139,"filename":"image_14082025_10_06_59_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/901a07ca5bc172dae6d3029d734e9e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2401615990490777235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192304139,"filename":"image_14082025_10_06_48_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/180ac180d3798555e6be20f8d472b9f9.jpg","text":"TemporaryFile(/tmp/multipartBody8016445688774436594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192304139,"filename":"image_14082025_10_07_08_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f4dbc3a517a852898ad491405b0e1e8.jpg","text":"TemporaryFile(/tmp/multipartBody8370285968037639483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192304139,"filename":"image_14082025_10_06_28_9015.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0251a8144f78df22e49c5002167e1061.jpg","text":"TemporaryFile(/tmp/multipartBody2823495211789847243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192304139,"filename":"image_14082025_10_07_18_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d99f749d98d53cb486f762767889291.jpg","text":"TemporaryFile(/tmp/multipartBody3039167007925478110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192304139,"filename":"image_14082025_10_06_38_10241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377076690","file1":"1377076655","file0":"1377076620","file4":"1377076758","file5":"1377076815","file3":"1377076724"},"map_files_photo_id_array":[{"photo_id":"1377076815","filename":"file5"},{"photo_id":"1377076690","filename":"file2"},{"photo_id":"1377076758","filename":"file4"},{"photo_id":"1377076655","filename":"file1"},{"photo_id":"1377076620","filename":"file0"},{"photo_id":"1377076724","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377076724":["hashtag1","hashtag2"]},{"1377076690":["hashtag1","hashtag2"]},{"1377076758":["hashtag1","hashtag2"]},{"1377076620":["hashtag1","hashtag2"]},{"1377076815":["hashtag1","hashtag2"]},{"1377076655":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377076724, 1377076690, 1377076758, 1377076620, 1377076815, 1377076655)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.91673159599304 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:25:03.072986 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/07/image_14082025_10_07_29_10296.jpg', '/media/data/images/14082025/10/07/image_14082025_10_07_39_10305.jpg', '/media/data/images/14082025/10/07/image_14082025_10_07_48_9077.jpg', '/media/data/images/14082025/10/07/image_14082025_10_07_58_10305.jpg', '/media/data/images/14082025/10/08/image_14082025_10_08_09_10209.jpg', '/media/data/images/14082025/10/08/image_14082025_10_08_19_10301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/07/image_14082025_10_07_29_10296.jpg /media/data/images/14082025/10/07/image_14082025_10_07_39_10305.jpg /media/data/images/14082025/10/07/image_14082025_10_07_48_9077.jpg /media/data/images/14082025/10/07/image_14082025_10_07_58_10305.jpg /media/data/images/14082025/10/08/image_14082025_10_08_09_10209.jpg /media/data/images/14082025/10/08/image_14082025_10_08_19_10301.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377077083","1377076996","1377077053","1377077035","1377077092","1377077045"],"photo_ids_order":["1377076996","1377077035","1377077045","1377077053","1377077083","1377077092"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d39ff4356e0001104389b52fe7f9945.jpg","text":"TemporaryFile(/tmp/multipartBody2749885235233902681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192364094,"filename":"image_14082025_10_08_09_10209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e88c54d494b4701add9b7082df78110.jpg","text":"TemporaryFile(/tmp/multipartBody9128406541416710749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192364094,"filename":"image_14082025_10_07_29_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35b5ae538aac4cfb96d72d4762bb9b38.jpg","text":"TemporaryFile(/tmp/multipartBody6809417828574050771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192364094,"filename":"image_14082025_10_07_58_10305.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2339b86f0e327e9559759fb35ed0711.jpg","text":"TemporaryFile(/tmp/multipartBody1711251962803303677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192364094,"filename":"image_14082025_10_07_39_10305.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/990b995b079110fad61a7bf5e65b8a59.jpg","text":"TemporaryFile(/tmp/multipartBody240708103801378244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192364094,"filename":"image_14082025_10_08_19_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ddbd2cfb34ccff0d05b09b3c167e55e.jpg","text":"TemporaryFile(/tmp/multipartBody8660657691358170376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192364094,"filename":"image_14082025_10_07_48_9077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377077045","file1":"1377077035","file0":"1377076996","file4":"1377077083","file5":"1377077092","file3":"1377077053"},"map_files_photo_id_array":[{"photo_id":"1377077092","filename":"file5"},{"photo_id":"1377077045","filename":"file2"},{"photo_id":"1377077083","filename":"file4"},{"photo_id":"1377077035","filename":"file1"},{"photo_id":"1377076996","filename":"file0"},{"photo_id":"1377077053","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377077083":["hashtag1","hashtag2"]},{"1377076996":["hashtag1","hashtag2"]},{"1377077053":["hashtag1","hashtag2"]},{"1377077035":["hashtag1","hashtag2"]},{"1377077092":["hashtag1","hashtag2"]},{"1377077045":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377077083, 1377076996, 1377077053, 1377077035, 1377077092, 1377077045)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.74243998527527 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:26:03.124497 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/08/image_14082025_10_08_28_9144.jpg', '/media/data/images/14082025/10/08/image_14082025_10_08_38_10401.jpg', '/media/data/images/14082025/10/08/image_14082025_10_08_49_10412.jpg', '/media/data/images/14082025/10/08/image_14082025_10_08_58_9098.jpg', '/media/data/images/14082025/10/08/image_14082025_10_09_08_10565.jpg', '/media/data/images/14082025/10/09/image_14082025_10_09_19_10398.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/08/image_14082025_10_08_28_9144.jpg /media/data/images/14082025/10/08/image_14082025_10_08_38_10401.jpg /media/data/images/14082025/10/08/image_14082025_10_08_49_10412.jpg /media/data/images/14082025/10/08/image_14082025_10_08_58_9098.jpg /media/data/images/14082025/10/08/image_14082025_10_09_08_10565.jpg /media/data/images/14082025/10/09/image_14082025_10_09_19_10398.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377077417","1377077407","1377077373","1377077411","1377077414","1377077336"],"photo_ids_order":["1377077336","1377077373","1377077407","1377077411","1377077414","1377077417"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a6852c7aa3699462f3da278a4dfd807.jpg","text":"TemporaryFile(/tmp/multipartBody15323332286465595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192424125,"filename":"image_14082025_10_09_19_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cacba4e1f968dc9e09a50cde3889be91.jpg","text":"TemporaryFile(/tmp/multipartBody2831444862731748386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192424125,"filename":"image_14082025_10_08_49_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12d617884b0c5a551d2aaa3ae7f3c467.jpg","text":"TemporaryFile(/tmp/multipartBody6805050437002630712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192424125,"filename":"image_14082025_10_08_38_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2dab18359416734bac31c9f093e4d87.jpg","text":"TemporaryFile(/tmp/multipartBody3625442306242373016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192424125,"filename":"image_14082025_10_08_58_9098.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/656427784bc97069622fa6063eb42aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5344200705632960105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192424125,"filename":"image_14082025_10_09_08_10565.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e486e16885c0480d870e46632cc87514.jpg","text":"TemporaryFile(/tmp/multipartBody8328545395489107338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192424125,"filename":"image_14082025_10_08_28_9144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377077407","file1":"1377077373","file0":"1377077336","file4":"1377077414","file5":"1377077417","file3":"1377077411"},"map_files_photo_id_array":[{"photo_id":"1377077417","filename":"file5"},{"photo_id":"1377077407","filename":"file2"},{"photo_id":"1377077414","filename":"file4"},{"photo_id":"1377077373","filename":"file1"},{"photo_id":"1377077336","filename":"file0"},{"photo_id":"1377077411","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377077417":["hashtag1","hashtag2"]},{"1377077407":["hashtag1","hashtag2"]},{"1377077373":["hashtag1","hashtag2"]},{"1377077411":["hashtag1","hashtag2"]},{"1377077414":["hashtag1","hashtag2"]},{"1377077336":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377077417, 1377077407, 1377077373, 1377077411, 1377077414, 1377077336)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.76523017883301 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:27:03.648074 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/09/image_14082025_10_09_28_9177.jpg', '/media/data/images/14082025/10/09/image_14082025_10_09_38_10335.jpg', '/media/data/images/14082025/10/09/image_14082025_10_09_49_10329.jpg', '/media/data/images/14082025/10/09/image_14082025_10_09_58_9131.jpg', '/media/data/images/14082025/10/09/image_14082025_10_10_09_10707.jpg', '/media/data/images/14082025/10/10/image_14082025_10_10_19_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/09/image_14082025_10_09_28_9177.jpg /media/data/images/14082025/10/09/image_14082025_10_09_38_10335.jpg /media/data/images/14082025/10/09/image_14082025_10_09_49_10329.jpg /media/data/images/14082025/10/09/image_14082025_10_09_58_9131.jpg /media/data/images/14082025/10/09/image_14082025_10_10_09_10707.jpg /media/data/images/14082025/10/10/image_14082025_10_10_19_10333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377077527","1377077623","1377077592","1377077492","1377077654","1377077558"],"photo_ids_order":["1377077492","1377077527","1377077558","1377077592","1377077623","1377077654"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f0033762cfffd312aa1009204a5ca495.jpg","text":"TemporaryFile(/tmp/multipartBody6177926278237635516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192484653,"filename":"image_14082025_10_09_38_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/620d84ce6d2a4ba25d706af276d23aad.jpg","text":"TemporaryFile(/tmp/multipartBody8982098164524250373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192484653,"filename":"image_14082025_10_10_09_10707.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9c12fe80ad45d0e527a6a22cab0db8a.jpg","text":"TemporaryFile(/tmp/multipartBody2908006321123568914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192484653,"filename":"image_14082025_10_09_58_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/917fafae5c5ff57d13b56bd34e19e127.jpg","text":"TemporaryFile(/tmp/multipartBody6691336542437078705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192484653,"filename":"image_14082025_10_09_28_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e82538efe67ec814bfcdac926396c97.jpg","text":"TemporaryFile(/tmp/multipartBody7810093484827109751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192484653,"filename":"image_14082025_10_10_19_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49ecf45af68025142843e2bf65266d05.jpg","text":"TemporaryFile(/tmp/multipartBody187601576609926774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192484653,"filename":"image_14082025_10_09_49_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377077558","file1":"1377077527","file0":"1377077492","file4":"1377077623","file5":"1377077654","file3":"1377077592"},"map_files_photo_id_array":[{"photo_id":"1377077654","filename":"file5"},{"photo_id":"1377077558","filename":"file2"},{"photo_id":"1377077623","filename":"file4"},{"photo_id":"1377077527","filename":"file1"},{"photo_id":"1377077492","filename":"file0"},{"photo_id":"1377077592","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377077527":["hashtag1","hashtag2"]},{"1377077623":["hashtag1","hashtag2"]},{"1377077592":["hashtag1","hashtag2"]},{"1377077492":["hashtag1","hashtag2"]},{"1377077654":["hashtag1","hashtag2"]},{"1377077558":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377077527, 1377077623, 1377077592, 1377077492, 1377077654, 1377077558)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.54561901092529 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:28:03.531300 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/10/image_14082025_10_10_28_9064.jpg', '/media/data/images/14082025/10/10/image_14082025_10_10_38_10506.jpg', '/media/data/images/14082025/10/10/image_14082025_10_10_49_10333.jpg', '/media/data/images/14082025/10/10/image_14082025_10_10_58_9113.jpg', '/media/data/images/14082025/10/10/image_14082025_10_11_09_10654.jpg', '/media/data/images/14082025/10/11/image_14082025_10_11_19_10365.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/10/image_14082025_10_10_28_9064.jpg /media/data/images/14082025/10/10/image_14082025_10_10_38_10506.jpg /media/data/images/14082025/10/10/image_14082025_10_10_49_10333.jpg /media/data/images/14082025/10/10/image_14082025_10_10_58_9113.jpg /media/data/images/14082025/10/10/image_14082025_10_11_09_10654.jpg /media/data/images/14082025/10/11/image_14082025_10_11_19_10365.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377078162","1377078069","1377078033","1377077970","1377078128","1377077899"],"photo_ids_order":["1377077899","1377077970","1377078033","1377078069","1377078128","1377078162"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/996c44822532e423760eba6a62227082.jpg","text":"TemporaryFile(/tmp/multipartBody1265036378406299931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192544548,"filename":"image_14082025_10_11_19_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7aad5899944939013e77cc8121b95d0.jpg","text":"TemporaryFile(/tmp/multipartBody6796722562211357976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192544548,"filename":"image_14082025_10_10_58_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c3b27b2eea5fc41b52be561cb51a138.jpg","text":"TemporaryFile(/tmp/multipartBody4526197778984876090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192544548,"filename":"image_14082025_10_10_49_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/778980560442abe4fa04b8b63b1d96b6.jpg","text":"TemporaryFile(/tmp/multipartBody3257105747933012416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192544548,"filename":"image_14082025_10_10_38_10506.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f10c6b6d8755d9f872e39f9ef697db7b.jpg","text":"TemporaryFile(/tmp/multipartBody7006642424308980939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192544548,"filename":"image_14082025_10_11_09_10654.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5b8d3deb144f3e34d19aea25963d2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2557403019310896883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192544548,"filename":"image_14082025_10_10_28_9064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377078033","file1":"1377077970","file0":"1377077899","file4":"1377078128","file5":"1377078162","file3":"1377078069"},"map_files_photo_id_array":[{"photo_id":"1377078162","filename":"file5"},{"photo_id":"1377078033","filename":"file2"},{"photo_id":"1377078128","filename":"file4"},{"photo_id":"1377077970","filename":"file1"},{"photo_id":"1377077899","filename":"file0"},{"photo_id":"1377078069","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377078162":["hashtag1","hashtag2"]},{"1377078069":["hashtag1","hashtag2"]},{"1377078033":["hashtag1","hashtag2"]},{"1377077970":["hashtag1","hashtag2"]},{"1377078128":["hashtag1","hashtag2"]},{"1377077899":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377078162, 1377078069, 1377078033, 1377077970, 1377078128, 1377077899)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.73325061798096 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:29:02.915031 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/11/image_14082025_10_11_28_9016.jpg', '/media/data/images/14082025/10/11/image_14082025_10_11_38_10237.jpg', '/media/data/images/14082025/10/11/image_14082025_10_11_48_10251.jpg', '/media/data/images/14082025/10/11/image_14082025_10_11_59_10327.jpg', '/media/data/images/14082025/10/12/image_14082025_10_12_08_9161.jpg', '/media/data/images/14082025/10/12/image_14082025_10_12_18_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/11/image_14082025_10_11_28_9016.jpg /media/data/images/14082025/10/11/image_14082025_10_11_38_10237.jpg /media/data/images/14082025/10/11/image_14082025_10_11_48_10251.jpg /media/data/images/14082025/10/11/image_14082025_10_11_59_10327.jpg /media/data/images/14082025/10/12/image_14082025_10_12_08_9161.jpg /media/data/images/14082025/10/12/image_14082025_10_12_18_10350.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377078597","1377078529","1377078456","1377078563","1377078493","1377078419"],"photo_ids_order":["1377078419","1377078456","1377078493","1377078529","1377078563","1377078597"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b379d442c416ca76e6a1b9d8f9982b27.jpg","text":"TemporaryFile(/tmp/multipartBody8541631332046876778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192604028,"filename":"image_14082025_10_12_18_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1983a7b65692d5db64df882169ead152.jpg","text":"TemporaryFile(/tmp/multipartBody1135413248320501443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192604028,"filename":"image_14082025_10_11_59_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67749e4295c5f5f691d8baae37054b43.jpg","text":"TemporaryFile(/tmp/multipartBody4252727439273765241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192604028,"filename":"image_14082025_10_11_38_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/843e92c8aa4c41071e9bbf7ba5434c83.jpg","text":"TemporaryFile(/tmp/multipartBody5259996791993076542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192604028,"filename":"image_14082025_10_12_08_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d79b3fd33e0ecfb17ec14eda738d06e6.jpg","text":"TemporaryFile(/tmp/multipartBody7403222822004448385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192604028,"filename":"image_14082025_10_11_48_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdcc4bc5dcd68714f4dcd8480714e59c.jpg","text":"TemporaryFile(/tmp/multipartBody1165370416732935868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192604028,"filename":"image_14082025_10_11_28_9016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377078493","file1":"1377078456","file0":"1377078419","file4":"1377078563","file5":"1377078597","file3":"1377078529"},"map_files_photo_id_array":[{"photo_id":"1377078597","filename":"file5"},{"photo_id":"1377078493","filename":"file2"},{"photo_id":"1377078563","filename":"file4"},{"photo_id":"1377078456","filename":"file1"},{"photo_id":"1377078419","filename":"file0"},{"photo_id":"1377078529","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377078597":["hashtag1","hashtag2"]},{"1377078529":["hashtag1","hashtag2"]},{"1377078456":["hashtag1","hashtag2"]},{"1377078563":["hashtag1","hashtag2"]},{"1377078493":["hashtag1","hashtag2"]},{"1377078419":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377078597, 1377078529, 1377078456, 1377078563, 1377078493, 1377078419)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.438905000686646 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:30:02.733483 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/12/image_14082025_10_12_29_10290.jpg', '/media/data/images/14082025/10/12/image_14082025_10_12_39_10258.jpg', '/media/data/images/14082025/10/12/image_14082025_10_12_48_9028.jpg', '/media/data/images/14082025/10/12/image_14082025_10_12_58_10251.jpg', '/media/data/images/14082025/10/13/image_14082025_10_13_08_10119.jpg', '/media/data/images/14082025/10/13/image_14082025_10_13_39_10237.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/12/image_14082025_10_12_29_10290.jpg /media/data/images/14082025/10/12/image_14082025_10_12_39_10258.jpg /media/data/images/14082025/10/12/image_14082025_10_12_48_9028.jpg /media/data/images/14082025/10/12/image_14082025_10_12_58_10251.jpg /media/data/images/14082025/10/13/image_14082025_10_13_08_10119.jpg /media/data/images/14082025/10/13/image_14082025_10_13_39_10237.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377078712","1377078709","1377078703","1377078720","1377078707","1377078716"],"photo_ids_order":["1377078703","1377078707","1377078709","1377078712","1377078716","1377078720"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ef96ee72c6be09361729aa2ad30ac5e.jpg","text":"TemporaryFile(/tmp/multipartBody2534897611456550147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192663840,"filename":"image_14082025_10_12_58_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f05e754c77c6d96a940ec77187e9d3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1335773688944459227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192663840,"filename":"image_14082025_10_12_48_9028.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/734b3d5c28583fd0f9115c75786bcd45.jpg","text":"TemporaryFile(/tmp/multipartBody3953423024031972532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192663840,"filename":"image_14082025_10_12_29_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0d826225131273235d9d3f92961ecb1.jpg","text":"TemporaryFile(/tmp/multipartBody5937320585068276186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192663840,"filename":"image_14082025_10_13_39_10237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0abc58ff54eaa3e4f481ef026e137584.jpg","text":"TemporaryFile(/tmp/multipartBody1407830389877080328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192663840,"filename":"image_14082025_10_12_39_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4c8cb7d7e1c505d4731b4a471b1aaab.jpg","text":"TemporaryFile(/tmp/multipartBody28703481528201570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192663840,"filename":"image_14082025_10_13_08_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377078709","file1":"1377078707","file0":"1377078703","file4":"1377078716","file5":"1377078720","file3":"1377078712"},"map_files_photo_id_array":[{"photo_id":"1377078720","filename":"file5"},{"photo_id":"1377078709","filename":"file2"},{"photo_id":"1377078716","filename":"file4"},{"photo_id":"1377078707","filename":"file1"},{"photo_id":"1377078703","filename":"file0"},{"photo_id":"1377078712","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377078712":["hashtag1","hashtag2"]},{"1377078709":["hashtag1","hashtag2"]},{"1377078703":["hashtag1","hashtag2"]},{"1377078720":["hashtag1","hashtag2"]},{"1377078707":["hashtag1","hashtag2"]},{"1377078716":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377078712, 1377078709, 1377078703, 1377078720, 1377078707, 1377078716)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.91927218437195 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:31:03.072037 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/13/image_14082025_10_13_48_9100.jpg', '/media/data/images/14082025/10/13/image_14082025_10_13_58_10328.jpg', '/media/data/images/14082025/10/14/image_14082025_10_14_09_10571.jpg', '/media/data/images/14082025/10/14/image_14082025_10_14_18_9028.jpg', '/media/data/images/14082025/10/14/image_14082025_10_14_28_10350.jpg', '/media/data/images/14082025/10/14/image_14082025_10_14_39_10317.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/13/image_14082025_10_13_48_9100.jpg /media/data/images/14082025/10/13/image_14082025_10_13_58_10328.jpg /media/data/images/14082025/10/14/image_14082025_10_14_09_10571.jpg /media/data/images/14082025/10/14/image_14082025_10_14_18_9028.jpg /media/data/images/14082025/10/14/image_14082025_10_14_28_10350.jpg /media/data/images/14082025/10/14/image_14082025_10_14_39_10317.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377079686","1377079393","1377079846","1377079555","1377079066","1377079246"],"photo_ids_order":["1377079066","1377079246","1377079393","1377079555","1377079686","1377079846"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d053d02ea1f72da10635701ef574d48.jpg","text":"TemporaryFile(/tmp/multipartBody2756761234957184977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192724151,"filename":"image_14082025_10_14_28_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab5f11886cfe13bcdc12fc5671feb22b.jpg","text":"TemporaryFile(/tmp/multipartBody573070204504547075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192724151,"filename":"image_14082025_10_14_09_10571.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/643c189c52c31e57d4f7ba015e0e35c6.jpg","text":"TemporaryFile(/tmp/multipartBody3374047586631423009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192724151,"filename":"image_14082025_10_14_39_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e9ad744ea04cf8c8dcefdc714ccb0a3.jpg","text":"TemporaryFile(/tmp/multipartBody7919224759768245208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192724151,"filename":"image_14082025_10_14_18_9028.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66cde22098f6e599c7ddf78d94b9ac67.jpg","text":"TemporaryFile(/tmp/multipartBody3817134796108043137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192724151,"filename":"image_14082025_10_13_48_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a607edab08080e0e2174434164af9bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8479202518052886003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192724151,"filename":"image_14082025_10_13_58_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377079393","file1":"1377079246","file0":"1377079066","file4":"1377079686","file5":"1377079846","file3":"1377079555"},"map_files_photo_id_array":[{"photo_id":"1377079846","filename":"file5"},{"photo_id":"1377079393","filename":"file2"},{"photo_id":"1377079686","filename":"file4"},{"photo_id":"1377079246","filename":"file1"},{"photo_id":"1377079066","filename":"file0"},{"photo_id":"1377079555","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377079686":["hashtag1","hashtag2"]},{"1377079393":["hashtag1","hashtag2"]},{"1377079846":["hashtag1","hashtag2"]},{"1377079555":["hashtag1","hashtag2"]},{"1377079066":["hashtag1","hashtag2"]},{"1377079246":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377079686, 1377079393, 1377079846, 1377079555, 1377079066, 1377079246)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.21537470817566 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:32:02.966963 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/14/image_14082025_10_14_49_10238.jpg', '/media/data/images/14082025/10/14/image_14082025_10_14_58_9097.jpg', '/media/data/images/14082025/10/14/image_14082025_10_15_08_10401.jpg', '/media/data/images/14082025/10/15/image_14082025_10_15_19_10335.jpg', '/media/data/images/14082025/10/15/image_14082025_10_15_28_9133.jpg', '/media/data/images/14082025/10/15/image_14082025_10_15_38_10250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/14/image_14082025_10_14_49_10238.jpg /media/data/images/14082025/10/14/image_14082025_10_14_58_9097.jpg /media/data/images/14082025/10/14/image_14082025_10_15_08_10401.jpg /media/data/images/14082025/10/15/image_14082025_10_15_19_10335.jpg /media/data/images/14082025/10/15/image_14082025_10_15_28_9133.jpg /media/data/images/14082025/10/15/image_14082025_10_15_38_10250.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377080577","1377080706","1377080622","1377080516","1377080674","1377080455"],"photo_ids_order":["1377080455","1377080516","1377080577","1377080622","1377080674","1377080706"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/463585ebf6eab8182ee300635fc9f5cf.jpg","text":"TemporaryFile(/tmp/multipartBody5238850291145204976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192784054,"filename":"image_14082025_10_15_08_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a80e547393028d39f559e9be8d619b51.jpg","text":"TemporaryFile(/tmp/multipartBody3068778645158272030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192784054,"filename":"image_14082025_10_15_38_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a66914854bd54b62dc322ac59ac291f9.jpg","text":"TemporaryFile(/tmp/multipartBody1368954375199345014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192784054,"filename":"image_14082025_10_15_19_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5ce29a5c7e5c1b97fea56f903ec12b1.jpg","text":"TemporaryFile(/tmp/multipartBody4505075106491093356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192784054,"filename":"image_14082025_10_14_58_9097.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5067ab1d8350f83d8e7916c1a1dbebed.jpg","text":"TemporaryFile(/tmp/multipartBody6180889143212479863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192784054,"filename":"image_14082025_10_15_28_9133.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed7f4f61456bc1d659fb717dd92e494b.jpg","text":"TemporaryFile(/tmp/multipartBody6547079973845509408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192784054,"filename":"image_14082025_10_14_49_10238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377080577","file1":"1377080516","file0":"1377080455","file4":"1377080674","file5":"1377080706","file3":"1377080622"},"map_files_photo_id_array":[{"photo_id":"1377080706","filename":"file5"},{"photo_id":"1377080577","filename":"file2"},{"photo_id":"1377080674","filename":"file4"},{"photo_id":"1377080516","filename":"file1"},{"photo_id":"1377080455","filename":"file0"},{"photo_id":"1377080622","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377080577":["hashtag1","hashtag2"]},{"1377080706":["hashtag1","hashtag2"]},{"1377080622":["hashtag1","hashtag2"]},{"1377080516":["hashtag1","hashtag2"]},{"1377080674":["hashtag1","hashtag2"]},{"1377080455":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377080577, 1377080706, 1377080622, 1377080516, 1377080674, 1377080455)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.51854395866394 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:33:03.277841 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/15/image_14082025_10_15_48_10240.jpg', '/media/data/images/14082025/10/15/image_14082025_10_15_59_10315.jpg', '/media/data/images/14082025/10/16/image_14082025_10_16_08_9177.jpg', '/media/data/images/14082025/10/16/image_14082025_10_16_18_10246.jpg', '/media/data/images/14082025/10/16/image_14082025_10_16_49_10283.jpg', '/media/data/images/14082025/10/16/image_14082025_10_16_58_9015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/15/image_14082025_10_15_48_10240.jpg /media/data/images/14082025/10/15/image_14082025_10_15_59_10315.jpg /media/data/images/14082025/10/16/image_14082025_10_16_08_9177.jpg /media/data/images/14082025/10/16/image_14082025_10_16_18_10246.jpg /media/data/images/14082025/10/16/image_14082025_10_16_49_10283.jpg /media/data/images/14082025/10/16/image_14082025_10_16_58_9015.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377080853","1377081428","1377081029","1377081199","1377081367","1377081316"],"photo_ids_order":["1377080853","1377081029","1377081199","1377081316","1377081367","1377081428"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ff6b1bbd419aa64240f848a106fe9ff.jpg","text":"TemporaryFile(/tmp/multipartBody8687678795153143804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192844420,"filename":"image_14082025_10_15_48_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1b4c581aaa35769ea4d1751f0399827.jpg","text":"TemporaryFile(/tmp/multipartBody5124895881577263285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192844420,"filename":"image_14082025_10_16_58_9015.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a805fd025d9d2a3b21d55b64bdcdaca.jpg","text":"TemporaryFile(/tmp/multipartBody9156256047163997388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192844420,"filename":"image_14082025_10_15_59_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45ca3d279669edc1d0d469c9dd3237a6.jpg","text":"TemporaryFile(/tmp/multipartBody1600885718721472782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192844420,"filename":"image_14082025_10_16_08_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6cae3084513c7b636df7de0f0dde16f4.jpg","text":"TemporaryFile(/tmp/multipartBody7826778529122281549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192844420,"filename":"image_14082025_10_16_49_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44f28b3b9d7c5a40e9bfb8450b7fd0cc.jpg","text":"TemporaryFile(/tmp/multipartBody5322221889496924934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192844420,"filename":"image_14082025_10_16_18_10246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377081199","file1":"1377081029","file0":"1377080853","file4":"1377081367","file5":"1377081428","file3":"1377081316"},"map_files_photo_id_array":[{"photo_id":"1377081428","filename":"file5"},{"photo_id":"1377081199","filename":"file2"},{"photo_id":"1377081367","filename":"file4"},{"photo_id":"1377081029","filename":"file1"},{"photo_id":"1377080853","filename":"file0"},{"photo_id":"1377081316","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377080853":["hashtag1","hashtag2"]},{"1377081428":["hashtag1","hashtag2"]},{"1377081029":["hashtag1","hashtag2"]},{"1377081199":["hashtag1","hashtag2"]},{"1377081367":["hashtag1","hashtag2"]},{"1377081316":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377080853, 1377081428, 1377081029, 1377081199, 1377081367, 1377081316)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.3260760307312 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:34:03.276881 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/17/image_14082025_10_17_08_10356.jpg', '/media/data/images/14082025/10/17/image_14082025_10_17_19_10297.jpg', '/media/data/images/14082025/10/17/image_14082025_10_17_28_9149.jpg', '/media/data/images/14082025/10/17/image_14082025_10_17_38_10229.jpg', '/media/data/images/14082025/10/17/image_14082025_10_17_48_10242.jpg', '/media/data/images/14082025/10/17/image_14082025_10_17_59_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/17/image_14082025_10_17_08_10356.jpg /media/data/images/14082025/10/17/image_14082025_10_17_19_10297.jpg /media/data/images/14082025/10/17/image_14082025_10_17_28_9149.jpg /media/data/images/14082025/10/17/image_14082025_10_17_38_10229.jpg /media/data/images/14082025/10/17/image_14082025_10_17_48_10242.jpg /media/data/images/14082025/10/17/image_14082025_10_17_59_10431.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377081703","1377081806","1377081799","1377081803","1377081585","1377081579"],"photo_ids_order":["1377081579","1377081585","1377081703","1377081799","1377081803","1377081806"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70d369c452befaa6ccaed5bef104db19.jpg","text":"TemporaryFile(/tmp/multipartBody586476059301378886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192904388,"filename":"image_14082025_10_17_28_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c25c7772d059d1f1a1f09b4e0603d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8569232442690488810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192904388,"filename":"image_14082025_10_17_59_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e4ee59cb0165659105831d00fa12caa.jpg","text":"TemporaryFile(/tmp/multipartBody7251363532609590449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192904388,"filename":"image_14082025_10_17_38_10229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0bfad4739c8f5ac8e3133d832786bd65.jpg","text":"TemporaryFile(/tmp/multipartBody5315397644158766943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192904388,"filename":"image_14082025_10_17_48_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ce89c4a65aa5fd698f9fd3901476bb22.jpg","text":"TemporaryFile(/tmp/multipartBody5180159233582042374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192904388,"filename":"image_14082025_10_17_19_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31adabb4b3866fe55541c34a7005fe2d.jpg","text":"TemporaryFile(/tmp/multipartBody217420314732404176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192904388,"filename":"image_14082025_10_17_08_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377081703","file1":"1377081585","file0":"1377081579","file4":"1377081803","file5":"1377081806","file3":"1377081799"},"map_files_photo_id_array":[{"photo_id":"1377081806","filename":"file5"},{"photo_id":"1377081703","filename":"file2"},{"photo_id":"1377081803","filename":"file4"},{"photo_id":"1377081585","filename":"file1"},{"photo_id":"1377081579","filename":"file0"},{"photo_id":"1377081799","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377081703":["hashtag1","hashtag2"]},{"1377081806":["hashtag1","hashtag2"]},{"1377081799":["hashtag1","hashtag2"]},{"1377081803":["hashtag1","hashtag2"]},{"1377081585":["hashtag1","hashtag2"]},{"1377081579":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377081703, 1377081806, 1377081799, 1377081803, 1377081585, 1377081579)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.00792074203491 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:35:03.284416 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/18/image_14082025_10_18_08_9373.jpg', '/media/data/images/14082025/10/18/image_14082025_10_18_29_10241.jpg', '/media/data/images/14082025/10/18/image_14082025_10_18_38_9656.jpg', '/media/data/images/14082025/10/18/image_14082025_10_18_49_10383.jpg', '/media/data/images/14082025/10/18/image_14082025_10_18_59_10354.jpg', '/media/data/images/14082025/10/19/image_14082025_10_19_08_9055.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/18/image_14082025_10_18_08_9373.jpg /media/data/images/14082025/10/18/image_14082025_10_18_29_10241.jpg /media/data/images/14082025/10/18/image_14082025_10_18_38_9656.jpg /media/data/images/14082025/10/18/image_14082025_10_18_49_10383.jpg /media/data/images/14082025/10/18/image_14082025_10_18_59_10354.jpg /media/data/images/14082025/10/19/image_14082025_10_19_08_9055.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082320","1377082277","1377082133","1377082021","1377082315","1377082318"],"photo_ids_order":["1377082021","1377082133","1377082277","1377082315","1377082318","1377082320"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/239f4a26ca2ef66e489d5acad4e85578.jpg","text":"TemporaryFile(/tmp/multipartBody1662984404227457314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192964343,"filename":"image_14082025_10_19_08_9055.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1279a9c0dc7dddf453de868a372d58a.jpg","text":"TemporaryFile(/tmp/multipartBody954703893822415691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192964343,"filename":"image_14082025_10_18_38_9656.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a846954601352efd5792fa20f39a6ec.jpg","text":"TemporaryFile(/tmp/multipartBody7277302404142394833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192964343,"filename":"image_14082025_10_18_29_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83461f998142616c1575305a65490f7b.jpg","text":"TemporaryFile(/tmp/multipartBody214951369443655602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192964343,"filename":"image_14082025_10_18_08_9373.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d58c80e9679a2f325c8e4442af388aec.jpg","text":"TemporaryFile(/tmp/multipartBody8248701415968695391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192964343,"filename":"image_14082025_10_18_49_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8afc4e6bd41cc2cb6be0252b468c677.jpg","text":"TemporaryFile(/tmp/multipartBody1232507847971904174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755192964343,"filename":"image_14082025_10_18_59_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082277","file1":"1377082133","file0":"1377082021","file4":"1377082318","file5":"1377082320","file3":"1377082315"},"map_files_photo_id_array":[{"photo_id":"1377082320","filename":"file5"},{"photo_id":"1377082277","filename":"file2"},{"photo_id":"1377082318","filename":"file4"},{"photo_id":"1377082133","filename":"file1"},{"photo_id":"1377082021","filename":"file0"},{"photo_id":"1377082315","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082320":["hashtag1","hashtag2"]},{"1377082277":["hashtag1","hashtag2"]},{"1377082133":["hashtag1","hashtag2"]},{"1377082021":["hashtag1","hashtag2"]},{"1377082315":["hashtag1","hashtag2"]},{"1377082318":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082320, 1377082277, 1377082133, 1377082021, 1377082315, 1377082318)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.68297815322876 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:36:03.279661 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/19/image_14082025_10_19_18_10308.jpg', '/media/data/images/14082025/10/19/image_14082025_10_19_29_10312.jpg', '/media/data/images/14082025/10/19/image_14082025_10_19_39_10354.jpg', '/media/data/images/14082025/10/19/image_14082025_10_19_48_9100.jpg', '/media/data/images/14082025/10/19/image_14082025_10_19_58_10297.jpg', '/media/data/images/14082025/10/20/image_14082025_10_20_09_10600.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/19/image_14082025_10_19_18_10308.jpg /media/data/images/14082025/10/19/image_14082025_10_19_29_10312.jpg /media/data/images/14082025/10/19/image_14082025_10_19_39_10354.jpg /media/data/images/14082025/10/19/image_14082025_10_19_48_9100.jpg /media/data/images/14082025/10/19/image_14082025_10_19_58_10297.jpg /media/data/images/14082025/10/20/image_14082025_10_20_09_10600.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082344","1377082340","1377082348","1377082333","1377082335","1377082329"],"photo_ids_order":["1377082329","1377082333","1377082335","1377082340","1377082344","1377082348"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a0954b2439f09183967cf46372d50f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2515011686664645655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193024267,"filename":"image_14082025_10_19_58_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d06af6d3ec863e20ecb5e420a76b8ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8339809759316036841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193024267,"filename":"image_14082025_10_19_48_9100.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66131fa62e29551ed5402168b7849e81.jpg","text":"TemporaryFile(/tmp/multipartBody7450202485991078418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193024267,"filename":"image_14082025_10_20_09_10600.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ee77c1d7723a37719743499ee95a843.jpg","text":"TemporaryFile(/tmp/multipartBody910810157965108851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193024267,"filename":"image_14082025_10_19_29_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ae44364959a0d562bb204c62fca4fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8462918145510214319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193024267,"filename":"image_14082025_10_19_39_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f29eac0d637b2b7b1959c94780d8b7b6.jpg","text":"TemporaryFile(/tmp/multipartBody9183524828832552344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193024267,"filename":"image_14082025_10_19_18_10308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082335","file1":"1377082333","file0":"1377082329","file4":"1377082344","file5":"1377082348","file3":"1377082340"},"map_files_photo_id_array":[{"photo_id":"1377082348","filename":"file5"},{"photo_id":"1377082335","filename":"file2"},{"photo_id":"1377082344","filename":"file4"},{"photo_id":"1377082333","filename":"file1"},{"photo_id":"1377082329","filename":"file0"},{"photo_id":"1377082340","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082344":["hashtag1","hashtag2"]},{"1377082340":["hashtag1","hashtag2"]},{"1377082348":["hashtag1","hashtag2"]},{"1377082333":["hashtag1","hashtag2"]},{"1377082335":["hashtag1","hashtag2"]},{"1377082329":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082344, 1377082340, 1377082348, 1377082333, 1377082335, 1377082329)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.50852060317993 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:37:03.391246 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/20/image_14082025_10_20_18_9155.jpg', '/media/data/images/14082025/10/20/image_14082025_10_20_28_10316.jpg', '/media/data/images/14082025/10/20/image_14082025_10_20_39_10311.jpg', '/media/data/images/14082025/10/20/image_14082025_10_20_48_9062.jpg', '/media/data/images/14082025/10/20/image_14082025_10_20_58_10311.jpg', '/media/data/images/14082025/10/21/image_14082025_10_21_09_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/20/image_14082025_10_20_18_9155.jpg /media/data/images/14082025/10/20/image_14082025_10_20_28_10316.jpg /media/data/images/14082025/10/20/image_14082025_10_20_39_10311.jpg /media/data/images/14082025/10/20/image_14082025_10_20_48_9062.jpg /media/data/images/14082025/10/20/image_14082025_10_20_58_10311.jpg /media/data/images/14082025/10/21/image_14082025_10_21_09_10391.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082376","1377082384","1377082372","1377082380","1377082368","1377082362"],"photo_ids_order":["1377082362","1377082368","1377082372","1377082376","1377082380","1377082384"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3432c21ed3d546a9fab07ff06ff1f358.jpg","text":"TemporaryFile(/tmp/multipartBody8163668198415760444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193085606,"filename":"image_14082025_10_20_48_9062.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a795ad671208de8e63577b8d126edd21.jpg","text":"TemporaryFile(/tmp/multipartBody2558383034077910671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193085606,"filename":"image_14082025_10_21_09_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4be935c4e61dc18e6e49d0d0f681f36.jpg","text":"TemporaryFile(/tmp/multipartBody3518668807023347451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193085606,"filename":"image_14082025_10_20_39_10311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cc71de9c8593e32737a645e58be5bd2.jpg","text":"TemporaryFile(/tmp/multipartBody407759763714269003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193085606,"filename":"image_14082025_10_20_58_10311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dcaceda1a087e7c54039372b75cac003.jpg","text":"TemporaryFile(/tmp/multipartBody4763082336578143921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193085606,"filename":"image_14082025_10_20_28_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e02cdeb8eb430e7cfaf393fbfdc15ff8.jpg","text":"TemporaryFile(/tmp/multipartBody3121297856242805531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193085606,"filename":"image_14082025_10_20_18_9155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082372","file1":"1377082368","file0":"1377082362","file4":"1377082380","file5":"1377082384","file3":"1377082376"},"map_files_photo_id_array":[{"photo_id":"1377082384","filename":"file5"},{"photo_id":"1377082372","filename":"file2"},{"photo_id":"1377082380","filename":"file4"},{"photo_id":"1377082368","filename":"file1"},{"photo_id":"1377082362","filename":"file0"},{"photo_id":"1377082376","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082376":["hashtag1","hashtag2"]},{"1377082384":["hashtag1","hashtag2"]},{"1377082372":["hashtag1","hashtag2"]},{"1377082380":["hashtag1","hashtag2"]},{"1377082368":["hashtag1","hashtag2"]},{"1377082362":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082376, 1377082384, 1377082372, 1377082380, 1377082368, 1377082362)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.64400291442871 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:38:02.538448 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/21/image_14082025_10_21_19_10316.jpg', '/media/data/images/14082025/10/21/image_14082025_10_21_28_9072.jpg', '/media/data/images/14082025/10/21/image_14082025_10_21_38_10295.jpg', '/media/data/images/14082025/10/21/image_14082025_10_21_49_10355.jpg', '/media/data/images/14082025/10/21/image_14082025_10_21_59_10332.jpg', '/media/data/images/14082025/10/22/image_14082025_10_22_08_9044.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/21/image_14082025_10_21_19_10316.jpg /media/data/images/14082025/10/21/image_14082025_10_21_28_9072.jpg /media/data/images/14082025/10/21/image_14082025_10_21_38_10295.jpg /media/data/images/14082025/10/21/image_14082025_10_21_49_10355.jpg /media/data/images/14082025/10/21/image_14082025_10_21_59_10332.jpg /media/data/images/14082025/10/22/image_14082025_10_22_08_9044.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082404","1377082394","1377082391","1377082400","1377082393","1377082395"],"photo_ids_order":["1377082391","1377082393","1377082394","1377082395","1377082400","1377082404"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d78db71c8a7cbd654d1d6d9142551cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3790123824562789275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193143551,"filename":"image_14082025_10_22_08_9044.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ead7e38ffb27ca0588a91abc29863de7.jpg","text":"TemporaryFile(/tmp/multipartBody6792766004990988763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193143551,"filename":"image_14082025_10_21_38_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f151487c74539e24f819592896dc0bff.jpg","text":"TemporaryFile(/tmp/multipartBody1920261542616895808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193143551,"filename":"image_14082025_10_21_19_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65adf5f1d16aec00b879a5f64eaf5324.jpg","text":"TemporaryFile(/tmp/multipartBody108449074562535832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193143551,"filename":"image_14082025_10_21_59_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d4c03a1b57cb9624e231bc023183219.jpg","text":"TemporaryFile(/tmp/multipartBody2353095800912784012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193143551,"filename":"image_14082025_10_21_28_9072.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4961656713192832ad818c6df29976b0.jpg","text":"TemporaryFile(/tmp/multipartBody2544395957462510485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193143551,"filename":"image_14082025_10_21_49_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082394","file1":"1377082393","file0":"1377082391","file4":"1377082400","file5":"1377082404","file3":"1377082395"},"map_files_photo_id_array":[{"photo_id":"1377082404","filename":"file5"},{"photo_id":"1377082394","filename":"file2"},{"photo_id":"1377082400","filename":"file4"},{"photo_id":"1377082393","filename":"file1"},{"photo_id":"1377082391","filename":"file0"},{"photo_id":"1377082395","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082404":["hashtag1","hashtag2"]},{"1377082394":["hashtag1","hashtag2"]},{"1377082391":["hashtag1","hashtag2"]},{"1377082400":["hashtag1","hashtag2"]},{"1377082393":["hashtag1","hashtag2"]},{"1377082395":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082404, 1377082394, 1377082391, 1377082400, 1377082393, 1377082395)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.926305532455444 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:39:02.814046 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/22/image_14082025_10_22_18_10256.jpg', '/media/data/images/14082025/10/22/image_14082025_10_22_29_10322.jpg', '/media/data/images/14082025/10/22/image_14082025_10_22_39_10321.jpg', '/media/data/images/14082025/10/22/image_14082025_10_22_48_9034.jpg', '/media/data/images/14082025/10/22/image_14082025_10_22_58_10267.jpg', '/media/data/images/14082025/10/23/image_14082025_10_23_09_10388.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/22/image_14082025_10_22_18_10256.jpg /media/data/images/14082025/10/22/image_14082025_10_22_29_10322.jpg /media/data/images/14082025/10/22/image_14082025_10_22_39_10321.jpg /media/data/images/14082025/10/22/image_14082025_10_22_48_9034.jpg /media/data/images/14082025/10/22/image_14082025_10_22_58_10267.jpg /media/data/images/14082025/10/23/image_14082025_10_23_09_10388.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082437","1377082439","1377082432","1377082426","1377082435","1377082420"],"photo_ids_order":["1377082420","1377082426","1377082432","1377082435","1377082437","1377082439"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6315642214dd077bae1805072d146bce.jpg","text":"TemporaryFile(/tmp/multipartBody4930753628399830290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193203959,"filename":"image_14082025_10_22_58_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa759553f3ef11ceea0f25daba944796.jpg","text":"TemporaryFile(/tmp/multipartBody2332938812214864807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193203959,"filename":"image_14082025_10_23_09_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a850d70f556a5a45acb6391acc933c3c.jpg","text":"TemporaryFile(/tmp/multipartBody6873732026685059328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193203959,"filename":"image_14082025_10_22_39_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/163ba01b45e3a8362adfe0d3bda25581.jpg","text":"TemporaryFile(/tmp/multipartBody1545991620917329854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193203959,"filename":"image_14082025_10_22_29_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7250c4ff0ae33d6568d765ef1a8cb813.jpg","text":"TemporaryFile(/tmp/multipartBody5409024435537231742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193203959,"filename":"image_14082025_10_22_48_9034.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/665b0e37adaa4d5d289c0bbe626dea6c.jpg","text":"TemporaryFile(/tmp/multipartBody4908687142998644141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193203959,"filename":"image_14082025_10_22_18_10256.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082432","file1":"1377082426","file0":"1377082420","file4":"1377082437","file5":"1377082439","file3":"1377082435"},"map_files_photo_id_array":[{"photo_id":"1377082439","filename":"file5"},{"photo_id":"1377082432","filename":"file2"},{"photo_id":"1377082437","filename":"file4"},{"photo_id":"1377082426","filename":"file1"},{"photo_id":"1377082420","filename":"file0"},{"photo_id":"1377082435","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082437":["hashtag1","hashtag2"]},{"1377082439":["hashtag1","hashtag2"]},{"1377082432":["hashtag1","hashtag2"]},{"1377082426":["hashtag1","hashtag2"]},{"1377082435":["hashtag1","hashtag2"]},{"1377082420":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082437, 1377082439, 1377082432, 1377082426, 1377082435, 1377082420)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.65587091445923 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:40:03.207896 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/23/image_14082025_10_23_19_10322.jpg', '/media/data/images/14082025/10/23/image_14082025_10_23_28_9093.jpg', '/media/data/images/14082025/10/23/image_14082025_10_23_38_10396.jpg', '/media/data/images/14082025/10/23/image_14082025_10_23_49_10297.jpg', '/media/data/images/14082025/10/23/image_14082025_10_23_59_10314.jpg', '/media/data/images/14082025/10/24/image_14082025_10_24_08_9331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/23/image_14082025_10_23_19_10322.jpg /media/data/images/14082025/10/23/image_14082025_10_23_28_9093.jpg /media/data/images/14082025/10/23/image_14082025_10_23_38_10396.jpg /media/data/images/14082025/10/23/image_14082025_10_23_49_10297.jpg /media/data/images/14082025/10/23/image_14082025_10_23_59_10314.jpg /media/data/images/14082025/10/24/image_14082025_10_24_08_9331.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082542","1377082571","1377082508","1377082567","1377082474","1377082590"],"photo_ids_order":["1377082474","1377082508","1377082542","1377082567","1377082571","1377082590"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca168c141acafe518bd3eed425add2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3694505348559341747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193264340,"filename":"image_14082025_10_23_38_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c168bee7a4ec72ea9efb408572ac33c.jpg","text":"TemporaryFile(/tmp/multipartBody4500857626785882321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193264340,"filename":"image_14082025_10_23_59_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7b260cf528520c319b6f28ab36ca57b.jpg","text":"TemporaryFile(/tmp/multipartBody7751735342370816693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193264340,"filename":"image_14082025_10_23_28_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c648c57d7eae04e8d5fd6edaa5187f28.jpg","text":"TemporaryFile(/tmp/multipartBody5620604186070647227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193264340,"filename":"image_14082025_10_23_49_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6ab7aeb030855d4a90915101273c20d.jpg","text":"TemporaryFile(/tmp/multipartBody2884149266590411171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193264340,"filename":"image_14082025_10_23_19_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/09fbf53741d3b44c65fefb8c2c2eee47.jpg","text":"TemporaryFile(/tmp/multipartBody7990376781881156066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193264340,"filename":"image_14082025_10_24_08_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082542","file1":"1377082508","file0":"1377082474","file4":"1377082571","file5":"1377082590","file3":"1377082567"},"map_files_photo_id_array":[{"photo_id":"1377082590","filename":"file5"},{"photo_id":"1377082542","filename":"file2"},{"photo_id":"1377082571","filename":"file4"},{"photo_id":"1377082508","filename":"file1"},{"photo_id":"1377082474","filename":"file0"},{"photo_id":"1377082567","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082542":["hashtag1","hashtag2"]},{"1377082571":["hashtag1","hashtag2"]},{"1377082508":["hashtag1","hashtag2"]},{"1377082567":["hashtag1","hashtag2"]},{"1377082474":["hashtag1","hashtag2"]},{"1377082590":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082542, 1377082571, 1377082508, 1377082567, 1377082474, 1377082590)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.501895904541016 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:41:02.846775 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/24/image_14082025_10_24_19_10421.jpg', '/media/data/images/14082025/10/24/image_14082025_10_24_28_9215.jpg', '/media/data/images/14082025/10/24/image_14082025_10_24_38_10294.jpg', '/media/data/images/14082025/10/24/image_14082025_10_24_49_10370.jpg', '/media/data/images/14082025/10/24/image_14082025_10_24_59_10288.jpg', '/media/data/images/14082025/10/25/image_14082025_10_25_08_9372.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/24/image_14082025_10_24_19_10421.jpg /media/data/images/14082025/10/24/image_14082025_10_24_28_9215.jpg /media/data/images/14082025/10/24/image_14082025_10_24_38_10294.jpg /media/data/images/14082025/10/24/image_14082025_10_24_49_10370.jpg /media/data/images/14082025/10/24/image_14082025_10_24_59_10288.jpg /media/data/images/14082025/10/25/image_14082025_10_25_08_9372.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082809","1377082799","1377082748","1377082813","1377082758","1377082773"],"photo_ids_order":["1377082748","1377082758","1377082773","1377082799","1377082809","1377082813"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/480f5c6d3b09ddbeb83fdd1cbfc0b3b3.jpg","text":"TemporaryFile(/tmp/multipartBody8341332746835919308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193324022,"filename":"image_14082025_10_24_59_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/04a0bc32b05a9ce877ef6d888c178495.jpg","text":"TemporaryFile(/tmp/multipartBody6726088500836507065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193324022,"filename":"image_14082025_10_24_49_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a07c41719fffda3c936c46d1ae936809.jpg","text":"TemporaryFile(/tmp/multipartBody5979731293049888369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193324022,"filename":"image_14082025_10_24_19_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c117af903cbccad66b9c7b63ffdc303e.jpg","text":"TemporaryFile(/tmp/multipartBody4542252008656223244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193324022,"filename":"image_14082025_10_25_08_9372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3d574dd6e0cc32f2bbe0fff0bc7d60f.jpg","text":"TemporaryFile(/tmp/multipartBody7923453690094770334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193324022,"filename":"image_14082025_10_24_28_9215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/42c15d836238b8c1f91f5b23c80159da.jpg","text":"TemporaryFile(/tmp/multipartBody2903904221034979468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193324022,"filename":"image_14082025_10_24_38_10294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082773","file1":"1377082758","file0":"1377082748","file4":"1377082809","file5":"1377082813","file3":"1377082799"},"map_files_photo_id_array":[{"photo_id":"1377082813","filename":"file5"},{"photo_id":"1377082773","filename":"file2"},{"photo_id":"1377082809","filename":"file4"},{"photo_id":"1377082758","filename":"file1"},{"photo_id":"1377082748","filename":"file0"},{"photo_id":"1377082799","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082809":["hashtag1","hashtag2"]},{"1377082799":["hashtag1","hashtag2"]},{"1377082748":["hashtag1","hashtag2"]},{"1377082813":["hashtag1","hashtag2"]},{"1377082758":["hashtag1","hashtag2"]},{"1377082773":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082809, 1377082799, 1377082748, 1377082813, 1377082758, 1377082773)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.12466859817505 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:42:02.916390 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/25/image_14082025_10_25_19_10386.jpg', '/media/data/images/14082025/10/25/image_14082025_10_25_28_9182.jpg', '/media/data/images/14082025/10/25/image_14082025_10_25_38_10292.jpg', '/media/data/images/14082025/10/25/image_14082025_10_25_48_10317.jpg', '/media/data/images/14082025/10/25/image_14082025_10_25_59_10387.jpg', '/media/data/images/14082025/10/26/image_14082025_10_26_08_9344.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/25/image_14082025_10_25_19_10386.jpg /media/data/images/14082025/10/25/image_14082025_10_25_28_9182.jpg /media/data/images/14082025/10/25/image_14082025_10_25_38_10292.jpg /media/data/images/14082025/10/25/image_14082025_10_25_48_10317.jpg /media/data/images/14082025/10/25/image_14082025_10_25_59_10387.jpg /media/data/images/14082025/10/26/image_14082025_10_26_08_9344.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377082955","1377082916","1377082931","1377082927","1377082974","1377082959"],"photo_ids_order":["1377082916","1377082927","1377082931","1377082955","1377082959","1377082974"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7db20755fc518e64a63bcb39972c1c35.jpg","text":"TemporaryFile(/tmp/multipartBody5975421784059163958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193384026,"filename":"image_14082025_10_25_48_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/546deb04419ee7cbb135b9e0591d9bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8242652141277133584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193384026,"filename":"image_14082025_10_25_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c56a83b64753bec30be20a88b619712.jpg","text":"TemporaryFile(/tmp/multipartBody4940912114337043008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193384026,"filename":"image_14082025_10_25_38_10292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cffa95026b1afb2ae266489916325dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7116089672275129613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193384026,"filename":"image_14082025_10_25_28_9182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/331f8ab0bc3eff3bcc591f207431b5ab.jpg","text":"TemporaryFile(/tmp/multipartBody3329235934388263727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193384026,"filename":"image_14082025_10_26_08_9344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f12cad0b74a3b47acbf23c93c3ec3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3689607021469985507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193384026,"filename":"image_14082025_10_25_59_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377082931","file1":"1377082927","file0":"1377082916","file4":"1377082959","file5":"1377082974","file3":"1377082955"},"map_files_photo_id_array":[{"photo_id":"1377082974","filename":"file5"},{"photo_id":"1377082931","filename":"file2"},{"photo_id":"1377082959","filename":"file4"},{"photo_id":"1377082927","filename":"file1"},{"photo_id":"1377082916","filename":"file0"},{"photo_id":"1377082955","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377082955":["hashtag1","hashtag2"]},{"1377082916":["hashtag1","hashtag2"]},{"1377082931":["hashtag1","hashtag2"]},{"1377082927":["hashtag1","hashtag2"]},{"1377082974":["hashtag1","hashtag2"]},{"1377082959":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377082955, 1377082916, 1377082931, 1377082927, 1377082974, 1377082959)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.72335457801819 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:43:03.095362 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/26/image_14082025_10_26_19_10452.jpg', '/media/data/images/14082025/10/26/image_14082025_10_26_28_9200.jpg', '/media/data/images/14082025/10/26/image_14082025_10_26_38_10313.jpg', '/media/data/images/14082025/10/26/image_14082025_10_26_49_10387.jpg', '/media/data/images/14082025/10/26/image_14082025_10_26_59_10309.jpg', '/media/data/images/14082025/10/27/image_14082025_10_27_08_9250.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/26/image_14082025_10_26_19_10452.jpg /media/data/images/14082025/10/26/image_14082025_10_26_28_9200.jpg /media/data/images/14082025/10/26/image_14082025_10_26_38_10313.jpg /media/data/images/14082025/10/26/image_14082025_10_26_49_10387.jpg /media/data/images/14082025/10/26/image_14082025_10_26_59_10309.jpg /media/data/images/14082025/10/27/image_14082025_10_27_08_9250.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083036","1377083107","1377083041","1377083101","1377083070","1377083104"],"photo_ids_order":["1377083036","1377083041","1377083070","1377083101","1377083104","1377083107"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27d0132ced80c479b4dd0294a5407dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4160000768526009143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193444169,"filename":"image_14082025_10_26_19_10452.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/963338cf4fb055b3fa516d8f92e61a89.jpg","text":"TemporaryFile(/tmp/multipartBody5400113390952433980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193444169,"filename":"image_14082025_10_27_08_9250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c321ac882ce16a1c2ae75fdc20762653.jpg","text":"TemporaryFile(/tmp/multipartBody5903056380792879006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193444169,"filename":"image_14082025_10_26_28_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f800dd5086056d07ecfb57b4d0e0564.jpg","text":"TemporaryFile(/tmp/multipartBody3729402610749656729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193444169,"filename":"image_14082025_10_26_49_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f24dbab55c6f9ad3df78cd11454727d.jpg","text":"TemporaryFile(/tmp/multipartBody7142499857916223894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193444169,"filename":"image_14082025_10_26_38_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bc1a252790b5c31d60803c7163774c3.jpg","text":"TemporaryFile(/tmp/multipartBody4633495875160048624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193444169,"filename":"image_14082025_10_26_59_10309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083070","file1":"1377083041","file0":"1377083036","file4":"1377083104","file5":"1377083107","file3":"1377083101"},"map_files_photo_id_array":[{"photo_id":"1377083107","filename":"file5"},{"photo_id":"1377083070","filename":"file2"},{"photo_id":"1377083104","filename":"file4"},{"photo_id":"1377083041","filename":"file1"},{"photo_id":"1377083036","filename":"file0"},{"photo_id":"1377083101","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083036":["hashtag1","hashtag2"]},{"1377083107":["hashtag1","hashtag2"]},{"1377083041":["hashtag1","hashtag2"]},{"1377083101":["hashtag1","hashtag2"]},{"1377083070":["hashtag1","hashtag2"]},{"1377083104":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083036, 1377083107, 1377083041, 1377083101, 1377083070, 1377083104)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.017085313797 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:44:03.073202 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/27/image_14082025_10_27_18_10297.jpg', '/media/data/images/14082025/10/27/image_14082025_10_27_29_10326.jpg', '/media/data/images/14082025/10/27/image_14082025_10_27_39_10297.jpg', '/media/data/images/14082025/10/27/image_14082025_10_27_48_9204.jpg', '/media/data/images/14082025/10/27/image_14082025_10_27_59_10318.jpg', '/media/data/images/14082025/10/28/image_14082025_10_28_09_10392.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/27/image_14082025_10_27_18_10297.jpg /media/data/images/14082025/10/27/image_14082025_10_27_29_10326.jpg /media/data/images/14082025/10/27/image_14082025_10_27_39_10297.jpg /media/data/images/14082025/10/27/image_14082025_10_27_48_9204.jpg /media/data/images/14082025/10/27/image_14082025_10_27_59_10318.jpg /media/data/images/14082025/10/28/image_14082025_10_28_09_10392.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083141","1377083137","1377083119","1377083133","1377083130","1377083127"],"photo_ids_order":["1377083119","1377083127","1377083130","1377083133","1377083137","1377083141"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67194ebd102a45202c8f4d9f59f7c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7640480027587456144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193504178,"filename":"image_14082025_10_28_09_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45bd4bf045630fe50df534f5750afa05.jpg","text":"TemporaryFile(/tmp/multipartBody2229966687266501386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193504178,"filename":"image_14082025_10_27_59_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/98420821dba76448d1e2e208efa859a7.jpg","text":"TemporaryFile(/tmp/multipartBody603634008640137370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193504178,"filename":"image_14082025_10_27_18_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/216245ddad5bdf755c103e48b6c15a02.jpg","text":"TemporaryFile(/tmp/multipartBody8083359171963950592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193504178,"filename":"image_14082025_10_27_48_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f85e7c6f1a11aa2a19509199d42745b.jpg","text":"TemporaryFile(/tmp/multipartBody1868525550356221493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193504178,"filename":"image_14082025_10_27_39_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a755783a807340c3946a095844d98f3.jpg","text":"TemporaryFile(/tmp/multipartBody1063534563505814579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193504178,"filename":"image_14082025_10_27_29_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083130","file1":"1377083127","file0":"1377083119","file4":"1377083137","file5":"1377083141","file3":"1377083133"},"map_files_photo_id_array":[{"photo_id":"1377083141","filename":"file5"},{"photo_id":"1377083130","filename":"file2"},{"photo_id":"1377083137","filename":"file4"},{"photo_id":"1377083127","filename":"file1"},{"photo_id":"1377083119","filename":"file0"},{"photo_id":"1377083133","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083141":["hashtag1","hashtag2"]},{"1377083137":["hashtag1","hashtag2"]},{"1377083119":["hashtag1","hashtag2"]},{"1377083133":["hashtag1","hashtag2"]},{"1377083130":["hashtag1","hashtag2"]},{"1377083127":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083141, 1377083137, 1377083119, 1377083133, 1377083130, 1377083127)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 50.36680316925049 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:45:03.157278 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/28/image_14082025_10_28_18_9177.jpg', '/media/data/images/14082025/10/28/image_14082025_10_28_29_10447.jpg', '/media/data/images/14082025/10/28/image_14082025_10_28_39_10371.jpg', '/media/data/images/14082025/10/28/image_14082025_10_28_48_9275.jpg', '/media/data/images/14082025/10/28/image_14082025_10_28_59_10369.jpg', '/media/data/images/14082025/10/29/image_14082025_10_29_09_10259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/28/image_14082025_10_28_18_9177.jpg /media/data/images/14082025/10/28/image_14082025_10_28_29_10447.jpg /media/data/images/14082025/10/28/image_14082025_10_28_39_10371.jpg /media/data/images/14082025/10/28/image_14082025_10_28_48_9275.jpg /media/data/images/14082025/10/28/image_14082025_10_28_59_10369.jpg /media/data/images/14082025/10/29/image_14082025_10_29_09_10259.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083168","1377083255","1377083184","1377083166","1377083220","1377083157"],"photo_ids_order":["1377083157","1377083166","1377083168","1377083184","1377083220","1377083255"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38a1022af7c96862d5b1f328c7345d39.jpg","text":"TemporaryFile(/tmp/multipartBody4374230281925964470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193564193,"filename":"image_14082025_10_28_39_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/113854418b70ef0ba45c559874f70797.jpg","text":"TemporaryFile(/tmp/multipartBody116780674537045204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193564193,"filename":"image_14082025_10_29_09_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/417bd7627efe6a6912544ead6b24a310.jpg","text":"TemporaryFile(/tmp/multipartBody2029856935862088360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193564193,"filename":"image_14082025_10_28_48_9275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f64f61357991be70d886d40f05b3124.jpg","text":"TemporaryFile(/tmp/multipartBody376392449608026980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193564193,"filename":"image_14082025_10_28_29_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d75be4355b601fb173529f57cc6a696e.jpg","text":"TemporaryFile(/tmp/multipartBody5065643887401720568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193564193,"filename":"image_14082025_10_28_59_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/885be828d9d3f64ac26473fe3c801dde.jpg","text":"TemporaryFile(/tmp/multipartBody6932234544658013266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193564193,"filename":"image_14082025_10_28_18_9177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083168","file1":"1377083166","file0":"1377083157","file4":"1377083220","file5":"1377083255","file3":"1377083184"},"map_files_photo_id_array":[{"photo_id":"1377083255","filename":"file5"},{"photo_id":"1377083168","filename":"file2"},{"photo_id":"1377083220","filename":"file4"},{"photo_id":"1377083166","filename":"file1"},{"photo_id":"1377083157","filename":"file0"},{"photo_id":"1377083184","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083168":["hashtag1","hashtag2"]},{"1377083255":["hashtag1","hashtag2"]},{"1377083184":["hashtag1","hashtag2"]},{"1377083166":["hashtag1","hashtag2"]},{"1377083220":["hashtag1","hashtag2"]},{"1377083157":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083168, 1377083255, 1377083184, 1377083166, 1377083220, 1377083157)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.05350065231323 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:46:03.049318 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/29/image_14082025_10_29_18_9151.jpg', '/media/data/images/14082025/10/29/image_14082025_10_29_29_10561.jpg', '/media/data/images/14082025/10/29/image_14082025_10_29_39_10364.jpg', '/media/data/images/14082025/10/29/image_14082025_10_29_48_9176.jpg', '/media/data/images/14082025/10/29/image_14082025_10_29_59_10396.jpg', '/media/data/images/14082025/10/30/image_14082025_10_30_08_9514.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/29/image_14082025_10_29_18_9151.jpg /media/data/images/14082025/10/29/image_14082025_10_29_29_10561.jpg /media/data/images/14082025/10/29/image_14082025_10_29_39_10364.jpg /media/data/images/14082025/10/29/image_14082025_10_29_48_9176.jpg /media/data/images/14082025/10/29/image_14082025_10_29_59_10396.jpg /media/data/images/14082025/10/30/image_14082025_10_30_08_9514.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083516","1377083528","1377083494","1377083548","1377083484","1377083532"],"photo_ids_order":["1377083484","1377083494","1377083516","1377083528","1377083532","1377083548"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/796ee8fc4eca7635bef0d9ba48cb0f88.jpg","text":"TemporaryFile(/tmp/multipartBody4066379014440492202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193624049,"filename":"image_14082025_10_29_39_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0bbe03d01122c050bdf3c5bc4b0d7072.jpg","text":"TemporaryFile(/tmp/multipartBody3522743986598274297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193624049,"filename":"image_14082025_10_29_48_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c134b4aa501cd018450aede22923cecf.jpg","text":"TemporaryFile(/tmp/multipartBody7705216884381016567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193624049,"filename":"image_14082025_10_29_29_10561.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/224681e3a96d7197820ed0d1910e924e.jpg","text":"TemporaryFile(/tmp/multipartBody8410098169059990073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193624049,"filename":"image_14082025_10_30_08_9514.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/293bb31e350c311d9fe6c20ef210af78.jpg","text":"TemporaryFile(/tmp/multipartBody775351545388416203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193624049,"filename":"image_14082025_10_29_18_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4bc024d09cbb3943df84bdfdd5aad344.jpg","text":"TemporaryFile(/tmp/multipartBody5854581277487778037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193624049,"filename":"image_14082025_10_29_59_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083516","file1":"1377083494","file0":"1377083484","file4":"1377083532","file5":"1377083548","file3":"1377083528"},"map_files_photo_id_array":[{"photo_id":"1377083548","filename":"file5"},{"photo_id":"1377083516","filename":"file2"},{"photo_id":"1377083532","filename":"file4"},{"photo_id":"1377083494","filename":"file1"},{"photo_id":"1377083484","filename":"file0"},{"photo_id":"1377083528","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083516":["hashtag1","hashtag2"]},{"1377083528":["hashtag1","hashtag2"]},{"1377083494":["hashtag1","hashtag2"]},{"1377083548":["hashtag1","hashtag2"]},{"1377083484":["hashtag1","hashtag2"]},{"1377083532":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083516, 1377083528, 1377083494, 1377083548, 1377083484, 1377083532)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.58557176589966 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:47:03.515768 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/30/image_14082025_10_30_18_10431.jpg', '/media/data/images/14082025/10/30/image_14082025_10_30_29_10444.jpg', '/media/data/images/14082025/10/30/image_14082025_10_30_38_9225.jpg', '/media/data/images/14082025/10/30/image_14082025_10_30_49_10420.jpg', '/media/data/images/14082025/10/30/image_14082025_10_30_59_10402.jpg', '/media/data/images/14082025/10/31/image_14082025_10_31_08_9052.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/30/image_14082025_10_30_18_10431.jpg /media/data/images/14082025/10/30/image_14082025_10_30_29_10444.jpg /media/data/images/14082025/10/30/image_14082025_10_30_38_9225.jpg /media/data/images/14082025/10/30/image_14082025_10_30_49_10420.jpg /media/data/images/14082025/10/30/image_14082025_10_30_59_10402.jpg /media/data/images/14082025/10/31/image_14082025_10_31_08_9052.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083590","1377083593","1377083602","1377083605","1377083597","1377083585"],"photo_ids_order":["1377083585","1377083590","1377083593","1377083597","1377083602","1377083605"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/891536272e629832bba478c923c1dad3.jpg","text":"TemporaryFile(/tmp/multipartBody8731844014942528608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193684550,"filename":"image_14082025_10_30_29_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f643f26712757b3b4dce84147adc9889.jpg","text":"TemporaryFile(/tmp/multipartBody5620097598151096127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193684550,"filename":"image_14082025_10_30_38_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c95b1325bb4caec4ca3398adc6460b0c.jpg","text":"TemporaryFile(/tmp/multipartBody6815748750388048877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193684550,"filename":"image_14082025_10_30_59_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa9a8d54fc2804018b50a50f925a7d02.jpg","text":"TemporaryFile(/tmp/multipartBody6656418587201753782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193684550,"filename":"image_14082025_10_31_08_9052.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/08e40c92de0274398f24ffd43211dd79.jpg","text":"TemporaryFile(/tmp/multipartBody3793602071745545544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193684550,"filename":"image_14082025_10_30_49_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae2db0f97f34a0efffa92874e9b1bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody4780342115790494848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193684550,"filename":"image_14082025_10_30_18_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083593","file1":"1377083590","file0":"1377083585","file4":"1377083602","file5":"1377083605","file3":"1377083597"},"map_files_photo_id_array":[{"photo_id":"1377083605","filename":"file5"},{"photo_id":"1377083593","filename":"file2"},{"photo_id":"1377083602","filename":"file4"},{"photo_id":"1377083590","filename":"file1"},{"photo_id":"1377083585","filename":"file0"},{"photo_id":"1377083597","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083590":["hashtag1","hashtag2"]},{"1377083593":["hashtag1","hashtag2"]},{"1377083602":["hashtag1","hashtag2"]},{"1377083605":["hashtag1","hashtag2"]},{"1377083597":["hashtag1","hashtag2"]},{"1377083585":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083590, 1377083593, 1377083602, 1377083605, 1377083597, 1377083585)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.739336252212524 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:48:03.256032 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/31/image_14082025_10_31_18_10380.jpg', '/media/data/images/14082025/10/31/image_14082025_10_31_29_10366.jpg', '/media/data/images/14082025/10/31/image_14082025_10_31_38_9105.jpg', '/media/data/images/14082025/10/31/image_14082025_10_31_48_10354.jpg', '/media/data/images/14082025/10/31/image_14082025_10_31_59_10469.jpg', '/media/data/images/14082025/10/32/image_14082025_10_32_08_9239.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/31/image_14082025_10_31_18_10380.jpg /media/data/images/14082025/10/31/image_14082025_10_31_29_10366.jpg /media/data/images/14082025/10/31/image_14082025_10_31_38_9105.jpg /media/data/images/14082025/10/31/image_14082025_10_31_48_10354.jpg /media/data/images/14082025/10/31/image_14082025_10_31_59_10469.jpg /media/data/images/14082025/10/32/image_14082025_10_32_08_9239.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083633","1377083639","1377083626","1377083629","1377083637","1377083622"],"photo_ids_order":["1377083622","1377083626","1377083629","1377083633","1377083637","1377083639"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79b1d50e169210bbeb9dcb44d499f964.jpg","text":"TemporaryFile(/tmp/multipartBody7398437717916281390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193744236,"filename":"image_14082025_10_31_48_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6d4c6e4c7926566ff09a7b2293893c7.jpg","text":"TemporaryFile(/tmp/multipartBody6928703077765646911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193744236,"filename":"image_14082025_10_32_08_9239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f5e9023f2104943debe028dba76307c2.jpg","text":"TemporaryFile(/tmp/multipartBody527319060931356048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193744236,"filename":"image_14082025_10_31_29_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33553f800766b5c9b64f41625173feba.jpg","text":"TemporaryFile(/tmp/multipartBody2291663280899489070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193744236,"filename":"image_14082025_10_31_38_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9320a7910ac1a82cef1132a6784cb966.jpg","text":"TemporaryFile(/tmp/multipartBody5230649284421952419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193744236,"filename":"image_14082025_10_31_59_10469.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/42c55f042dca6269c7106de949b6c4af.jpg","text":"TemporaryFile(/tmp/multipartBody4989757646215442331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193744236,"filename":"image_14082025_10_31_18_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083629","file1":"1377083626","file0":"1377083622","file4":"1377083637","file5":"1377083639","file3":"1377083633"},"map_files_photo_id_array":[{"photo_id":"1377083639","filename":"file5"},{"photo_id":"1377083629","filename":"file2"},{"photo_id":"1377083637","filename":"file4"},{"photo_id":"1377083626","filename":"file1"},{"photo_id":"1377083622","filename":"file0"},{"photo_id":"1377083633","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083633":["hashtag1","hashtag2"]},{"1377083639":["hashtag1","hashtag2"]},{"1377083626":["hashtag1","hashtag2"]},{"1377083629":["hashtag1","hashtag2"]},{"1377083637":["hashtag1","hashtag2"]},{"1377083622":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083633, 1377083639, 1377083626, 1377083629, 1377083637, 1377083622)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.99826145172119 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:49:03.860618 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/32/image_14082025_10_32_18_10389.jpg', '/media/data/images/14082025/10/32/image_14082025_10_32_29_10387.jpg', '/media/data/images/14082025/10/32/image_14082025_10_32_39_10315.jpg', '/media/data/images/14082025/10/32/image_14082025_10_32_48_9103.jpg', '/media/data/images/14082025/10/32/image_14082025_10_32_58_10290.jpg', '/media/data/images/14082025/10/33/image_14082025_10_33_09_10479.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/32/image_14082025_10_32_18_10389.jpg /media/data/images/14082025/10/32/image_14082025_10_32_29_10387.jpg /media/data/images/14082025/10/32/image_14082025_10_32_39_10315.jpg /media/data/images/14082025/10/32/image_14082025_10_32_48_9103.jpg /media/data/images/14082025/10/32/image_14082025_10_32_58_10290.jpg /media/data/images/14082025/10/33/image_14082025_10_33_09_10479.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083765","1377083737","1377083784","1377083787","1377083781","1377083778"],"photo_ids_order":["1377083737","1377083765","1377083778","1377083781","1377083784","1377083787"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66454c5052c2cf94ffd97689d93ae5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2094902583030569263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193804913,"filename":"image_14082025_10_32_29_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd6dbef8e0057642a09273f02910b598.jpg","text":"TemporaryFile(/tmp/multipartBody8243798848599557102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193804913,"filename":"image_14082025_10_32_18_10389.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c2f868dc42b1df4eb92cf201c98bc8e.jpg","text":"TemporaryFile(/tmp/multipartBody83615053375421928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193804913,"filename":"image_14082025_10_32_58_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f26566f7c9d039ba094fcde599ae6f4.jpg","text":"TemporaryFile(/tmp/multipartBody4772139245146714603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193804913,"filename":"image_14082025_10_33_09_10479.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b82a3235812d0e1a93795b6732c3da87.jpg","text":"TemporaryFile(/tmp/multipartBody8937975793184066917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193804913,"filename":"image_14082025_10_32_48_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6b6a57685eea63a06bbec836d06154e.jpg","text":"TemporaryFile(/tmp/multipartBody8441466485311359697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193804913,"filename":"image_14082025_10_32_39_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083778","file1":"1377083765","file0":"1377083737","file4":"1377083784","file5":"1377083787","file3":"1377083781"},"map_files_photo_id_array":[{"photo_id":"1377083787","filename":"file5"},{"photo_id":"1377083778","filename":"file2"},{"photo_id":"1377083784","filename":"file4"},{"photo_id":"1377083765","filename":"file1"},{"photo_id":"1377083737","filename":"file0"},{"photo_id":"1377083781","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083765":["hashtag1","hashtag2"]},{"1377083737":["hashtag1","hashtag2"]},{"1377083784":["hashtag1","hashtag2"]},{"1377083787":["hashtag1","hashtag2"]},{"1377083781":["hashtag1","hashtag2"]},{"1377083778":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083765, 1377083737, 1377083784, 1377083787, 1377083781, 1377083778)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.21834397315979 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:50:02.562845 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/33/image_14082025_10_33_18_9084.jpg', '/media/data/images/14082025/10/33/image_14082025_10_33_28_10317.jpg', '/media/data/images/14082025/10/33/image_14082025_10_33_39_10287.jpg', '/media/data/images/14082025/10/33/image_14082025_10_33_49_10446.jpg', '/media/data/images/14082025/10/33/image_14082025_10_33_58_9075.jpg', '/media/data/images/14082025/10/34/image_14082025_10_34_08_10346.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/33/image_14082025_10_33_18_9084.jpg /media/data/images/14082025/10/33/image_14082025_10_33_28_10317.jpg /media/data/images/14082025/10/33/image_14082025_10_33_39_10287.jpg /media/data/images/14082025/10/33/image_14082025_10_33_49_10446.jpg /media/data/images/14082025/10/33/image_14082025_10_33_58_9075.jpg /media/data/images/14082025/10/34/image_14082025_10_34_08_10346.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083843","1377083836","1377083839","1377083847","1377083829","1377083832"],"photo_ids_order":["1377083829","1377083832","1377083836","1377083839","1377083843","1377083847"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6d7dc4de35f905805aa93cfede014f0.jpg","text":"TemporaryFile(/tmp/multipartBody750820981893296273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193863641,"filename":"image_14082025_10_33_58_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/acb8014510301ca33b621c5deb4eb586.jpg","text":"TemporaryFile(/tmp/multipartBody1084331380673044705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193863641,"filename":"image_14082025_10_33_39_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b711f43b6b72df1dac3a1fe0181ffa91.jpg","text":"TemporaryFile(/tmp/multipartBody5559768620821806464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193863641,"filename":"image_14082025_10_33_49_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2fcab1f545b834f3e5907afeec1b537.jpg","text":"TemporaryFile(/tmp/multipartBody4660232241332910642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193863641,"filename":"image_14082025_10_34_08_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1ad5aed5f1e9a4b2af1a56d2236dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody1116649624490969729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193863641,"filename":"image_14082025_10_33_18_9084.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/009b764c5f5164e353a3e65d12879d87.jpg","text":"TemporaryFile(/tmp/multipartBody3607245969817610712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193863641,"filename":"image_14082025_10_33_28_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083836","file1":"1377083832","file0":"1377083829","file4":"1377083843","file5":"1377083847","file3":"1377083839"},"map_files_photo_id_array":[{"photo_id":"1377083847","filename":"file5"},{"photo_id":"1377083836","filename":"file2"},{"photo_id":"1377083843","filename":"file4"},{"photo_id":"1377083832","filename":"file1"},{"photo_id":"1377083829","filename":"file0"},{"photo_id":"1377083839","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083843":["hashtag1","hashtag2"]},{"1377083836":["hashtag1","hashtag2"]},{"1377083839":["hashtag1","hashtag2"]},{"1377083847":["hashtag1","hashtag2"]},{"1377083829":["hashtag1","hashtag2"]},{"1377083832":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083843, 1377083836, 1377083839, 1377083847, 1377083829, 1377083832)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.172948122024536 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:51:02.973111 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/34/image_14082025_10_34_19_10312.jpg', '/media/data/images/14082025/10/34/image_14082025_10_34_28_9207.jpg', '/media/data/images/14082025/10/34/image_14082025_10_34_38_10317.jpg', '/media/data/images/14082025/10/34/image_14082025_10_34_49_10413.jpg', '/media/data/images/14082025/10/34/image_14082025_10_34_59_10306.jpg', '/media/data/images/14082025/10/35/image_14082025_10_35_08_9236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/34/image_14082025_10_34_19_10312.jpg /media/data/images/14082025/10/34/image_14082025_10_34_28_9207.jpg /media/data/images/14082025/10/34/image_14082025_10_34_38_10317.jpg /media/data/images/14082025/10/34/image_14082025_10_34_49_10413.jpg /media/data/images/14082025/10/34/image_14082025_10_34_59_10306.jpg /media/data/images/14082025/10/35/image_14082025_10_35_08_9236.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377083972","1377083992","1377083986","1377084019","1377083950","1377083967"],"photo_ids_order":["1377083950","1377083967","1377083972","1377083986","1377083992","1377084019"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/492e4311764d275f9d8607573f026ec4.jpg","text":"TemporaryFile(/tmp/multipartBody6393157744850345601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193924069,"filename":"image_14082025_10_34_38_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d146bf58e56af64b65c2c37ee9e798e7.jpg","text":"TemporaryFile(/tmp/multipartBody1232124791790288824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193924069,"filename":"image_14082025_10_34_59_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b228d75d9754e2780aaa0fbd604417d.jpg","text":"TemporaryFile(/tmp/multipartBody4074540623957044175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193924069,"filename":"image_14082025_10_34_49_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/726e05d84a084e49c97158f5a290b56e.jpg","text":"TemporaryFile(/tmp/multipartBody1285740280891676691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193924069,"filename":"image_14082025_10_35_08_9236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e43563635649340fc306bcab131417b0.jpg","text":"TemporaryFile(/tmp/multipartBody101412775901191177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193924069,"filename":"image_14082025_10_34_19_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/202e456c3b34458136babf2cbc46b941.jpg","text":"TemporaryFile(/tmp/multipartBody8263537397678145073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193924069,"filename":"image_14082025_10_34_28_9207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377083972","file1":"1377083967","file0":"1377083950","file4":"1377083992","file5":"1377084019","file3":"1377083986"},"map_files_photo_id_array":[{"photo_id":"1377084019","filename":"file5"},{"photo_id":"1377083972","filename":"file2"},{"photo_id":"1377083992","filename":"file4"},{"photo_id":"1377083967","filename":"file1"},{"photo_id":"1377083950","filename":"file0"},{"photo_id":"1377083986","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377083972":["hashtag1","hashtag2"]},{"1377083992":["hashtag1","hashtag2"]},{"1377083986":["hashtag1","hashtag2"]},{"1377084019":["hashtag1","hashtag2"]},{"1377083950":["hashtag1","hashtag2"]},{"1377083967":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377083972, 1377083992, 1377083986, 1377084019, 1377083950, 1377083967)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.72740125656128 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:52:02.779794 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/35/image_14082025_10_35_19_10301.jpg', '/media/data/images/14082025/10/35/image_14082025_10_35_29_10354.jpg', '/media/data/images/14082025/10/35/image_14082025_10_35_38_9180.jpg', '/media/data/images/14082025/10/35/image_14082025_10_35_48_10299.jpg', '/media/data/images/14082025/10/35/image_14082025_10_35_59_10320.jpg', '/media/data/images/14082025/10/36/image_14082025_10_36_08_9508.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/35/image_14082025_10_35_19_10301.jpg /media/data/images/14082025/10/35/image_14082025_10_35_29_10354.jpg /media/data/images/14082025/10/35/image_14082025_10_35_38_9180.jpg /media/data/images/14082025/10/35/image_14082025_10_35_48_10299.jpg /media/data/images/14082025/10/35/image_14082025_10_35_59_10320.jpg /media/data/images/14082025/10/36/image_14082025_10_36_08_9508.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377084091","1377084067","1377084142","1377084162","1377084087","1377084102"],"photo_ids_order":["1377084067","1377084087","1377084091","1377084102","1377084142","1377084162"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2b037f82c26ad7d99c35d4d45a1da28.jpg","text":"TemporaryFile(/tmp/multipartBody3754935499295246446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193983830,"filename":"image_14082025_10_35_38_9180.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1d9117fc4720606e1892260bd27741e3.jpg","text":"TemporaryFile(/tmp/multipartBody6285469608507402909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193983830,"filename":"image_14082025_10_35_19_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/024d1585103b64ccbbc35249077c09df.jpg","text":"TemporaryFile(/tmp/multipartBody4905554333076484264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193983830,"filename":"image_14082025_10_35_59_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8e3af7c17de0187a7eb58a47fb04f2e.jpg","text":"TemporaryFile(/tmp/multipartBody6981907258183142027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193983830,"filename":"image_14082025_10_36_08_9508.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81b0c4552876de0d3acc2b324ad37db2.jpg","text":"TemporaryFile(/tmp/multipartBody2852696411885622082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193983830,"filename":"image_14082025_10_35_29_10354.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5200ca540d2841d5684767096cb6694c.jpg","text":"TemporaryFile(/tmp/multipartBody4327395911883573279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755193983830,"filename":"image_14082025_10_35_48_10299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377084091","file1":"1377084087","file0":"1377084067","file4":"1377084142","file5":"1377084162","file3":"1377084102"},"map_files_photo_id_array":[{"photo_id":"1377084162","filename":"file5"},{"photo_id":"1377084091","filename":"file2"},{"photo_id":"1377084142","filename":"file4"},{"photo_id":"1377084087","filename":"file1"},{"photo_id":"1377084067","filename":"file0"},{"photo_id":"1377084102","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377084091":["hashtag1","hashtag2"]},{"1377084067":["hashtag1","hashtag2"]},{"1377084142":["hashtag1","hashtag2"]},{"1377084162":["hashtag1","hashtag2"]},{"1377084087":["hashtag1","hashtag2"]},{"1377084102":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377084091, 1377084067, 1377084142, 1377084162, 1377084087, 1377084102)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 49.24334263801575 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:53:03.083343 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/36/image_14082025_10_36_19_10337.jpg', '/media/data/images/14082025/10/36/image_14082025_10_36_29_10329.jpg', '/media/data/images/14082025/10/36/image_14082025_10_36_38_9196.jpg', '/media/data/images/14082025/10/36/image_14082025_10_36_49_10435.jpg', '/media/data/images/14082025/10/36/image_14082025_10_36_59_10448.jpg', '/media/data/images/14082025/10/37/image_14082025_10_37_18_10357.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/36/image_14082025_10_36_19_10337.jpg /media/data/images/14082025/10/36/image_14082025_10_36_29_10329.jpg /media/data/images/14082025/10/36/image_14082025_10_36_38_9196.jpg /media/data/images/14082025/10/36/image_14082025_10_36_49_10435.jpg /media/data/images/14082025/10/36/image_14082025_10_36_59_10448.jpg /media/data/images/14082025/10/37/image_14082025_10_37_18_10357.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377084200","1377084178","1377084208","1377084186","1377084204","1377084182"],"photo_ids_order":["1377084178","1377084182","1377084186","1377084200","1377084204","1377084208"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6de036de1c1b4f351c7cefc61a0bcdae.jpg","text":"TemporaryFile(/tmp/multipartBody8220622702593016907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194044123,"filename":"image_14082025_10_36_49_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/56c6882067f7a10fabae176a6b38b172.jpg","text":"TemporaryFile(/tmp/multipartBody4224696537752224604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194044123,"filename":"image_14082025_10_36_19_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05764c05b9203b313db6eb0aba4294f4.jpg","text":"TemporaryFile(/tmp/multipartBody3033633778181678278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194044123,"filename":"image_14082025_10_37_18_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4eed82cc7f84c411fafb68adb74cc0ac.jpg","text":"TemporaryFile(/tmp/multipartBody916254879835450089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194044123,"filename":"image_14082025_10_36_38_9196.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ceb62ec49a4e6e9721357bfddb2a03e1.jpg","text":"TemporaryFile(/tmp/multipartBody8009518296684036774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194044123,"filename":"image_14082025_10_36_59_10448.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50c725756d8faa6a0b1f13b803a2f8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4509025967460254792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194044123,"filename":"image_14082025_10_36_29_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377084186","file1":"1377084182","file0":"1377084178","file4":"1377084204","file5":"1377084208","file3":"1377084200"},"map_files_photo_id_array":[{"photo_id":"1377084208","filename":"file5"},{"photo_id":"1377084186","filename":"file2"},{"photo_id":"1377084204","filename":"file4"},{"photo_id":"1377084182","filename":"file1"},{"photo_id":"1377084178","filename":"file0"},{"photo_id":"1377084200","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377084200":["hashtag1","hashtag2"]},{"1377084178":["hashtag1","hashtag2"]},{"1377084208":["hashtag1","hashtag2"]},{"1377084186":["hashtag1","hashtag2"]},{"1377084204":["hashtag1","hashtag2"]},{"1377084182":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377084200, 1377084178, 1377084208, 1377084186, 1377084204, 1377084182)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.74005174636841 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:54:03.126085 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/37/image_14082025_10_37_29_10428.jpg', '/media/data/images/14082025/10/37/image_14082025_10_37_38_9120.jpg', '/media/data/images/14082025/10/37/image_14082025_10_37_48_10374.jpg', '/media/data/images/14082025/10/37/image_14082025_10_37_59_10341.jpg', '/media/data/images/14082025/10/38/image_14082025_10_38_09_10256.jpg', '/media/data/images/14082025/10/38/image_14082025_10_38_18_9150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/37/image_14082025_10_37_29_10428.jpg /media/data/images/14082025/10/37/image_14082025_10_37_38_9120.jpg /media/data/images/14082025/10/37/image_14082025_10_37_48_10374.jpg /media/data/images/14082025/10/37/image_14082025_10_37_59_10341.jpg /media/data/images/14082025/10/38/image_14082025_10_38_09_10256.jpg /media/data/images/14082025/10/38/image_14082025_10_38_18_9150.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377084218","1377084223","1377084226","1377084231","1377084236","1377084221"],"photo_ids_order":["1377084218","1377084221","1377084223","1377084226","1377084231","1377084236"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0989cb71ef9b390f4c86e5eb88bcc90a.jpg","text":"TemporaryFile(/tmp/multipartBody2095894592815494087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194104120,"filename":"image_14082025_10_37_29_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9bb1a780b9aebe0151e4ba65be16c6d2.jpg","text":"TemporaryFile(/tmp/multipartBody4520718174480242219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194104120,"filename":"image_14082025_10_37_48_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc9b97c4e86cff4283bef0de0c4078c7.jpg","text":"TemporaryFile(/tmp/multipartBody8115776777775916178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194104120,"filename":"image_14082025_10_37_59_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d7e5335812d307df48c375c91131ed92.jpg","text":"TemporaryFile(/tmp/multipartBody6811867998492975978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194104120,"filename":"image_14082025_10_38_09_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e53017527b72dabb18d755c64b1ce000.jpg","text":"TemporaryFile(/tmp/multipartBody277323965807823643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194104120,"filename":"image_14082025_10_38_18_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b85483ebd625a7b8faf1e663ed7a5a9.jpg","text":"TemporaryFile(/tmp/multipartBody498778636974406905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194104120,"filename":"image_14082025_10_37_38_9120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377084223","file1":"1377084221","file0":"1377084218","file4":"1377084231","file5":"1377084236","file3":"1377084226"},"map_files_photo_id_array":[{"photo_id":"1377084236","filename":"file5"},{"photo_id":"1377084223","filename":"file2"},{"photo_id":"1377084231","filename":"file4"},{"photo_id":"1377084221","filename":"file1"},{"photo_id":"1377084218","filename":"file0"},{"photo_id":"1377084226","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377084218":["hashtag1","hashtag2"]},{"1377084223":["hashtag1","hashtag2"]},{"1377084226":["hashtag1","hashtag2"]},{"1377084231":["hashtag1","hashtag2"]},{"1377084236":["hashtag1","hashtag2"]},{"1377084221":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377084218, 1377084223, 1377084226, 1377084231, 1377084236, 1377084221)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.96426439285278 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:55:03.390484 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/38/image_14082025_10_38_29_10547.jpg', '/media/data/images/14082025/10/38/image_14082025_10_38_39_10371.jpg', '/media/data/images/14082025/10/38/image_14082025_10_38_48_9207.jpg', '/media/data/images/14082025/10/38/image_14082025_10_38_58_10340.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_09_10372.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_18_9236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/38/image_14082025_10_38_29_10547.jpg /media/data/images/14082025/10/38/image_14082025_10_38_39_10371.jpg /media/data/images/14082025/10/38/image_14082025_10_38_48_9207.jpg /media/data/images/14082025/10/38/image_14082025_10_38_58_10340.jpg /media/data/images/14082025/10/39/image_14082025_10_39_09_10372.jpg /media/data/images/14082025/10/39/image_14082025_10_39_18_9236.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377084305","1377084298","1377084301","1377084294","1377084307","1377084282"],"photo_ids_order":["1377084282","1377084294","1377084298","1377084301","1377084305","1377084307"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9a2fc6ba48b49bbf4303f6c44a9ab06.jpg","text":"TemporaryFile(/tmp/multipartBody8459587540175998392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194164413,"filename":"image_14082025_10_39_09_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2449a7ca51703438318aead09c0ff5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6200931774058573730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194164413,"filename":"image_14082025_10_38_48_9207.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8aa7c5d4d93f71f9fc3c1856087997bd.jpg","text":"TemporaryFile(/tmp/multipartBody8000816320975122300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194164413,"filename":"image_14082025_10_38_58_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e9b0b92790df0bd262207469fc18604.jpg","text":"TemporaryFile(/tmp/multipartBody8913139749084372442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194164413,"filename":"image_14082025_10_38_39_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1cc347fade0ee1198c4009886458fba9.jpg","text":"TemporaryFile(/tmp/multipartBody6100342087045890631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194164413,"filename":"image_14082025_10_39_18_9236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fc6be4880998c796ee6b3ceb8e014aa.jpg","text":"TemporaryFile(/tmp/multipartBody938887321286321718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194164413,"filename":"image_14082025_10_38_29_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377084298","file1":"1377084294","file0":"1377084282","file4":"1377084305","file5":"1377084307","file3":"1377084301"},"map_files_photo_id_array":[{"photo_id":"1377084307","filename":"file5"},{"photo_id":"1377084298","filename":"file2"},{"photo_id":"1377084305","filename":"file4"},{"photo_id":"1377084294","filename":"file1"},{"photo_id":"1377084282","filename":"file0"},{"photo_id":"1377084301","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377084305":["hashtag1","hashtag2"]},{"1377084298":["hashtag1","hashtag2"]},{"1377084301":["hashtag1","hashtag2"]},{"1377084294":["hashtag1","hashtag2"]},{"1377084307":["hashtag1","hashtag2"]},{"1377084282":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377084305, 1377084298, 1377084301, 1377084294, 1377084307, 1377084282)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.95340132713318 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:56:03.255976 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/39/image_14082025_10_39_28_10365.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_39_10410.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_48_9199.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_58_10383.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_08_9489.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_18_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/39/image_14082025_10_39_28_10365.jpg /media/data/images/14082025/10/39/image_14082025_10_39_39_10410.jpg /media/data/images/14082025/10/39/image_14082025_10_39_48_9199.jpg /media/data/images/14082025/10/39/image_14082025_10_39_58_10383.jpg /media/data/images/14082025/10/40/image_14082025_10_40_08_9489.jpg /media/data/images/14082025/10/40/image_14082025_10_40_18_10418.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5361299514770508 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:56:22.549567 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/39/image_14082025_10_39_28_10365.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_39_10410.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_48_9199.jpg', '/media/data/images/14082025/10/39/image_14082025_10_39_58_10383.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_08_9489.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_18_10418.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/39/image_14082025_10_39_28_10365.jpg /media/data/images/14082025/10/39/image_14082025_10_39_39_10410.jpg /media/data/images/14082025/10/39/image_14082025_10_39_48_9199.jpg /media/data/images/14082025/10/39/image_14082025_10_39_58_10383.jpg /media/data/images/14082025/10/40/image_14082025_10_40_08_9489.jpg /media/data/images/14082025/10/40/image_14082025_10_40_18_10418.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377084812","1377084749","1377084559","1377084780","1377084690","1377084627"],"photo_ids_order":["1377084559","1377084627","1377084690","1377084749","1377084780","1377084812"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57494505ebffe58c99564b5b4d82c014.jpg","text":"TemporaryFile(/tmp/multipartBody417114533426214530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194243456,"filename":"image_14082025_10_40_18_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9232d8ab08729b28e7b8a7efe6ab7603.jpg","text":"TemporaryFile(/tmp/multipartBody2535650030404182742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194243456,"filename":"image_14082025_10_39_58_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/953cc44b0d09c3d3450116381eed52b0.jpg","text":"TemporaryFile(/tmp/multipartBody239043876059918911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194243456,"filename":"image_14082025_10_39_28_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a1f85d690468a4d81bec5e9cde92534.jpg","text":"TemporaryFile(/tmp/multipartBody4742491824932719237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194243456,"filename":"image_14082025_10_40_08_9489.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6c966fbf857ba63ab3d22dfd857aa29.jpg","text":"TemporaryFile(/tmp/multipartBody7202091714835149702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194243456,"filename":"image_14082025_10_39_48_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89c3f32a6b6ce160cac4154c0da15c70.jpg","text":"TemporaryFile(/tmp/multipartBody5414540761969773460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194243456,"filename":"image_14082025_10_39_39_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377084690","file1":"1377084627","file0":"1377084559","file4":"1377084780","file5":"1377084812","file3":"1377084749"},"map_files_photo_id_array":[{"photo_id":"1377084812","filename":"file5"},{"photo_id":"1377084690","filename":"file2"},{"photo_id":"1377084780","filename":"file4"},{"photo_id":"1377084627","filename":"file1"},{"photo_id":"1377084559","filename":"file0"},{"photo_id":"1377084749","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377084812":["hashtag1","hashtag2"]},{"1377084749":["hashtag1","hashtag2"]},{"1377084559":["hashtag1","hashtag2"]},{"1377084780":["hashtag1","hashtag2"]},{"1377084690":["hashtag1","hashtag2"]},{"1377084627":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377084812, 1377084749, 1377084559, 1377084780, 1377084690, 1377084627)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.31562685966492 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:57:22.647801 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/40/image_14082025_10_40_29_10334.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_38_9314.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_48_10332.jpg', '/media/data/images/14082025/10/40/image_14082025_10_40_59_10461.jpg', '/media/data/images/14082025/10/41/image_14082025_10_41_09_10158.jpg', '/media/data/images/14082025/10/41/image_14082025_10_41_18_9395.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/40/image_14082025_10_40_29_10334.jpg /media/data/images/14082025/10/40/image_14082025_10_40_38_9314.jpg /media/data/images/14082025/10/40/image_14082025_10_40_48_10332.jpg /media/data/images/14082025/10/40/image_14082025_10_40_59_10461.jpg /media/data/images/14082025/10/41/image_14082025_10_41_09_10158.jpg /media/data/images/14082025/10/41/image_14082025_10_41_18_9395.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377085027","1377085123","1377085158","1377085059","1377085091","1377085211"],"photo_ids_order":["1377085027","1377085059","1377085091","1377085123","1377085158","1377085211"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df46085a9277513290143146a6bd58cf.jpg","text":"TemporaryFile(/tmp/multipartBody1696962177436027429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194303708,"filename":"image_14082025_10_40_29_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be775a803afeb5617451068fa5ef215a.jpg","text":"TemporaryFile(/tmp/multipartBody5072156236838843636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194303708,"filename":"image_14082025_10_40_59_10461.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4cfb04972ea50528bd8930051437a91b.jpg","text":"TemporaryFile(/tmp/multipartBody1705080174952516840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194303708,"filename":"image_14082025_10_41_09_10158.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c84698c643c6b5df79d7c0a09e65ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6471447706293856589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194303708,"filename":"image_14082025_10_40_38_9314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c7fa0bc45ab16e963fbead6a343cb8e.jpg","text":"TemporaryFile(/tmp/multipartBody4508707669988796317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194303708,"filename":"image_14082025_10_40_48_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb230ffe3072f547be523338fa81b3ab.jpg","text":"TemporaryFile(/tmp/multipartBody103933831880180402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194303708,"filename":"image_14082025_10_41_18_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377085091","file1":"1377085059","file0":"1377085027","file4":"1377085158","file5":"1377085211","file3":"1377085123"},"map_files_photo_id_array":[{"photo_id":"1377085211","filename":"file5"},{"photo_id":"1377085091","filename":"file2"},{"photo_id":"1377085158","filename":"file4"},{"photo_id":"1377085059","filename":"file1"},{"photo_id":"1377085027","filename":"file0"},{"photo_id":"1377085123","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377085027":["hashtag1","hashtag2"]},{"1377085123":["hashtag1","hashtag2"]},{"1377085158":["hashtag1","hashtag2"]},{"1377085059":["hashtag1","hashtag2"]},{"1377085091":["hashtag1","hashtag2"]},{"1377085211":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377085027, 1377085123, 1377085158, 1377085059, 1377085091, 1377085211)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.08534264564514 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 19:59:03.529924 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/41/image_14082025_10_41_29_10397.jpg', '/media/data/images/14082025/10/41/image_14082025_10_41_39_10295.jpg', '/media/data/images/14082025/10/41/image_14082025_10_41_48_9148.jpg', '/media/data/images/14082025/10/41/image_14082025_10_41_58_10293.jpg', '/media/data/images/14082025/10/42/image_14082025_10_42_09_10400.jpg', '/media/data/images/14082025/10/42/image_14082025_10_42_18_9336.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/41/image_14082025_10_41_29_10397.jpg /media/data/images/14082025/10/41/image_14082025_10_41_39_10295.jpg /media/data/images/14082025/10/41/image_14082025_10_41_48_9148.jpg /media/data/images/14082025/10/41/image_14082025_10_41_58_10293.jpg /media/data/images/14082025/10/42/image_14082025_10_42_09_10400.jpg /media/data/images/14082025/10/42/image_14082025_10_42_18_9336.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377085945","1377085872","1377085788","1377085830","1377085908","1377085838"],"photo_ids_order":["1377085788","1377085830","1377085838","1377085872","1377085908","1377085945"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9aa90d733ec271cf142c088f0cf43777.jpg","text":"TemporaryFile(/tmp/multipartBody1098695503597187754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194404610,"filename":"image_14082025_10_42_18_9336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4dda61917dbe39b4441dabd761122041.jpg","text":"TemporaryFile(/tmp/multipartBody7159016261591760788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194404610,"filename":"image_14082025_10_41_58_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b031f6012517972991eccec0e124f0c.jpg","text":"TemporaryFile(/tmp/multipartBody5237993345802095785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194404610,"filename":"image_14082025_10_41_29_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9556b9ec25c3af1b75632dc34a2015a7.jpg","text":"TemporaryFile(/tmp/multipartBody1610825918861458895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194404610,"filename":"image_14082025_10_41_39_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00674743687a5212929c067f9f0fc4da.jpg","text":"TemporaryFile(/tmp/multipartBody4494410517915909552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194404610,"filename":"image_14082025_10_42_09_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84112ca9c81501990f5c0b2a72bfeb5f.jpg","text":"TemporaryFile(/tmp/multipartBody4218961156137218599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194404610,"filename":"image_14082025_10_41_48_9148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377085838","file1":"1377085830","file0":"1377085788","file4":"1377085908","file5":"1377085945","file3":"1377085872"},"map_files_photo_id_array":[{"photo_id":"1377085945","filename":"file5"},{"photo_id":"1377085838","filename":"file2"},{"photo_id":"1377085908","filename":"file4"},{"photo_id":"1377085830","filename":"file1"},{"photo_id":"1377085788","filename":"file0"},{"photo_id":"1377085872","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377085945":["hashtag1","hashtag2"]},{"1377085872":["hashtag1","hashtag2"]},{"1377085788":["hashtag1","hashtag2"]},{"1377085830":["hashtag1","hashtag2"]},{"1377085908":["hashtag1","hashtag2"]},{"1377085838":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377085945, 1377085872, 1377085788, 1377085830, 1377085908, 1377085838)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07808256149292 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:00:03.273882 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/42/image_14082025_10_42_29_10289.jpg', '/media/data/images/14082025/10/42/image_14082025_10_42_39_10431.jpg', '/media/data/images/14082025/10/42/image_14082025_10_42_48_9153.jpg', '/media/data/images/14082025/10/42/image_14082025_10_42_59_10457.jpg', '/media/data/images/14082025/10/43/image_14082025_10_43_08_9429.jpg', '/media/data/images/14082025/10/43/image_14082025_10_43_18_10379.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/42/image_14082025_10_42_29_10289.jpg /media/data/images/14082025/10/42/image_14082025_10_42_39_10431.jpg /media/data/images/14082025/10/42/image_14082025_10_42_48_9153.jpg /media/data/images/14082025/10/42/image_14082025_10_42_59_10457.jpg /media/data/images/14082025/10/43/image_14082025_10_43_08_9429.jpg /media/data/images/14082025/10/43/image_14082025_10_43_18_10379.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377086610","1377086498","1377086415","1377086276","1377086345","1377086560"],"photo_ids_order":["1377086276","1377086345","1377086415","1377086498","1377086560","1377086610"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ad8cbb64b5e5fe36fe43f22fc3ef5aa.jpg","text":"TemporaryFile(/tmp/multipartBody1902934120858559379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194464325,"filename":"image_14082025_10_43_18_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1da701851b9c6648d836f4d8a83f7659.jpg","text":"TemporaryFile(/tmp/multipartBody2647485942055794066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194464325,"filename":"image_14082025_10_42_59_10457.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9795b5374395c1a3f62cc7c21a3fb096.jpg","text":"TemporaryFile(/tmp/multipartBody2266235080384441752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194464325,"filename":"image_14082025_10_42_48_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/61f801fdfe4359c998a8b98f70c8edf8.jpg","text":"TemporaryFile(/tmp/multipartBody1937175924692899726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194464325,"filename":"image_14082025_10_42_29_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96328b6a13d87307ec63b7de597ae1aa.jpg","text":"TemporaryFile(/tmp/multipartBody4128028949959295581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194464325,"filename":"image_14082025_10_42_39_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/356111ce1d8d851c90dddcd4827e0980.jpg","text":"TemporaryFile(/tmp/multipartBody7764051574519085579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194464325,"filename":"image_14082025_10_43_08_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377086415","file1":"1377086345","file0":"1377086276","file4":"1377086560","file5":"1377086610","file3":"1377086498"},"map_files_photo_id_array":[{"photo_id":"1377086610","filename":"file5"},{"photo_id":"1377086415","filename":"file2"},{"photo_id":"1377086560","filename":"file4"},{"photo_id":"1377086345","filename":"file1"},{"photo_id":"1377086276","filename":"file0"},{"photo_id":"1377086498","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377086610":["hashtag1","hashtag2"]},{"1377086498":["hashtag1","hashtag2"]},{"1377086415":["hashtag1","hashtag2"]},{"1377086276":["hashtag1","hashtag2"]},{"1377086345":["hashtag1","hashtag2"]},{"1377086560":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377086610, 1377086498, 1377086415, 1377086276, 1377086345, 1377086560)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.06960487365723 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:01:03.563759 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/43/image_14082025_10_43_29_10308.jpg', '/media/data/images/14082025/10/43/image_14082025_10_43_58_10394.jpg', '/media/data/images/14082025/10/44/image_14082025_10_44_09_10363.jpg', '/media/data/images/14082025/10/44/image_14082025_10_44_18_9193.jpg', '/media/data/images/14082025/10/44/image_14082025_10_44_28_10374.jpg', '/media/data/images/14082025/10/44/image_14082025_10_44_39_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/43/image_14082025_10_43_29_10308.jpg /media/data/images/14082025/10/43/image_14082025_10_43_58_10394.jpg /media/data/images/14082025/10/44/image_14082025_10_44_09_10363.jpg /media/data/images/14082025/10/44/image_14082025_10_44_18_9193.jpg /media/data/images/14082025/10/44/image_14082025_10_44_28_10374.jpg /media/data/images/14082025/10/44/image_14082025_10_44_39_10371.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377086982","1377086877","1377086913","1377086841","1377087050","1377087139"],"photo_ids_order":["1377086841","1377086877","1377086913","1377086982","1377087050","1377087139"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e8c184c2e79e907f4f94ac4eb800218.jpg","text":"TemporaryFile(/tmp/multipartBody4256354399056390462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194524658,"filename":"image_14082025_10_44_18_9193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4216b2e0a292131531241e9f6f6091a8.jpg","text":"TemporaryFile(/tmp/multipartBody8515729311165388678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194524658,"filename":"image_14082025_10_43_58_10394.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba68b09f5f08061e95b151168f54f89e.jpg","text":"TemporaryFile(/tmp/multipartBody4653832739163971922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194524658,"filename":"image_14082025_10_44_09_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6d11811b652e7aab5a591791e72e0c33.jpg","text":"TemporaryFile(/tmp/multipartBody8923918110726562001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194524658,"filename":"image_14082025_10_43_29_10308.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/549127cbc963bbae74a62d939817d35e.jpg","text":"TemporaryFile(/tmp/multipartBody3325839853568538276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194524658,"filename":"image_14082025_10_44_28_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67a9548a1bd23d6f4c7e419c4bd2be35.jpg","text":"TemporaryFile(/tmp/multipartBody8045848033172469842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194524658,"filename":"image_14082025_10_44_39_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377086913","file1":"1377086877","file0":"1377086841","file4":"1377087050","file5":"1377087139","file3":"1377086982"},"map_files_photo_id_array":[{"photo_id":"1377087139","filename":"file5"},{"photo_id":"1377086913","filename":"file2"},{"photo_id":"1377087050","filename":"file4"},{"photo_id":"1377086877","filename":"file1"},{"photo_id":"1377086841","filename":"file0"},{"photo_id":"1377086982","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377086982":["hashtag1","hashtag2"]},{"1377086877":["hashtag1","hashtag2"]},{"1377086913":["hashtag1","hashtag2"]},{"1377086841":["hashtag1","hashtag2"]},{"1377087050":["hashtag1","hashtag2"]},{"1377087139":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377086982, 1377086877, 1377086913, 1377086841, 1377087050, 1377087139)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.439390897750854 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:02:02.317181 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/44/image_14082025_10_44_48_9181.jpg', '/media/data/images/14082025/10/44/image_14082025_10_44_58_10335.jpg', '/media/data/images/14082025/10/45/image_14082025_10_45_09_10285.jpg', '/media/data/images/14082025/10/45/image_14082025_10_45_19_10417.jpg', '/media/data/images/14082025/10/45/image_14082025_10_45_28_9306.jpg', '/media/data/images/14082025/10/45/image_14082025_10_45_39_10480.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/44/image_14082025_10_44_48_9181.jpg /media/data/images/14082025/10/44/image_14082025_10_44_58_10335.jpg /media/data/images/14082025/10/45/image_14082025_10_45_09_10285.jpg /media/data/images/14082025/10/45/image_14082025_10_45_19_10417.jpg /media/data/images/14082025/10/45/image_14082025_10_45_28_9306.jpg /media/data/images/14082025/10/45/image_14082025_10_45_39_10480.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377087474","1377087534","1377087458","1377087493","1377087460","1377087433"],"photo_ids_order":["1377087433","1377087458","1377087460","1377087474","1377087493","1377087534"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1766653aef2f29152386b14a8c8ce4c.jpg","text":"TemporaryFile(/tmp/multipartBody4758260052280865323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194583352,"filename":"image_14082025_10_45_19_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b294b20eb352e071a1d316a25559624.jpg","text":"TemporaryFile(/tmp/multipartBody1959698186811050179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194583352,"filename":"image_14082025_10_45_39_10480.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b6ebfde1352b6ab829d148039f16720.jpg","text":"TemporaryFile(/tmp/multipartBody1672669465978825895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194583352,"filename":"image_14082025_10_44_58_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43ba25b9b2c3524a25c5d939925d37a6.jpg","text":"TemporaryFile(/tmp/multipartBody4370395583999635114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194583352,"filename":"image_14082025_10_45_28_9306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9a87269b5cbac06b9a3344814e8a64c.jpg","text":"TemporaryFile(/tmp/multipartBody4684932500454956486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194583352,"filename":"image_14082025_10_45_09_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc8d759718ea3e11eeb7d87b356b4252.jpg","text":"TemporaryFile(/tmp/multipartBody1327650458793788300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194583352,"filename":"image_14082025_10_44_48_9181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377087460","file1":"1377087458","file0":"1377087433","file4":"1377087493","file5":"1377087534","file3":"1377087474"},"map_files_photo_id_array":[{"photo_id":"1377087534","filename":"file5"},{"photo_id":"1377087460","filename":"file2"},{"photo_id":"1377087493","filename":"file4"},{"photo_id":"1377087458","filename":"file1"},{"photo_id":"1377087433","filename":"file0"},{"photo_id":"1377087474","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377087474":["hashtag1","hashtag2"]},{"1377087534":["hashtag1","hashtag2"]},{"1377087458":["hashtag1","hashtag2"]},{"1377087493":["hashtag1","hashtag2"]},{"1377087460":["hashtag1","hashtag2"]},{"1377087433":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377087474, 1377087534, 1377087458, 1377087493, 1377087460, 1377087433)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.8197500705719 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:03:02.681135 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/45/image_14082025_10_45_48_9128.jpg', '/media/data/images/14082025/10/45/image_14082025_10_45_58_10359.jpg', '/media/data/images/14082025/10/46/image_14082025_10_46_09_10372.jpg', '/media/data/images/14082025/10/46/image_14082025_10_46_19_10441.jpg', '/media/data/images/14082025/10/46/image_14082025_10_46_28_9119.jpg', '/media/data/images/14082025/10/46/image_14082025_10_46_39_10376.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/45/image_14082025_10_45_48_9128.jpg /media/data/images/14082025/10/45/image_14082025_10_45_58_10359.jpg /media/data/images/14082025/10/46/image_14082025_10_46_09_10372.jpg /media/data/images/14082025/10/46/image_14082025_10_46_19_10441.jpg /media/data/images/14082025/10/46/image_14082025_10_46_28_9119.jpg /media/data/images/14082025/10/46/image_14082025_10_46_39_10376.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377088091","1377088136","1377087995","1377088129","1377088042","1377087954"],"photo_ids_order":["1377087954","1377087995","1377088042","1377088091","1377088129","1377088136"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/402a593803e652c8c6c98da4bf12053f.jpg","text":"TemporaryFile(/tmp/multipartBody5165960915738094764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194643703,"filename":"image_14082025_10_46_19_10441.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47618182cf8c29cea31d1adcdcba58ef.jpg","text":"TemporaryFile(/tmp/multipartBody9028120492045452216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194643703,"filename":"image_14082025_10_46_39_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f4a40f885dfa89e05c767250d49a6a50.jpg","text":"TemporaryFile(/tmp/multipartBody479927309168719482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194643703,"filename":"image_14082025_10_45_58_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a941e0878f15624adcdd1a1c4dd5e3a8.jpg","text":"TemporaryFile(/tmp/multipartBody4662600065049452340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194643703,"filename":"image_14082025_10_46_28_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0c3a8a2557284413a26d7318812d3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2427758929618614800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194643703,"filename":"image_14082025_10_46_09_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d244b70e8d47c59695d5d8a0e44b44d.jpg","text":"TemporaryFile(/tmp/multipartBody7542384572473370080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194643703,"filename":"image_14082025_10_45_48_9128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377088042","file1":"1377087995","file0":"1377087954","file4":"1377088129","file5":"1377088136","file3":"1377088091"},"map_files_photo_id_array":[{"photo_id":"1377088136","filename":"file5"},{"photo_id":"1377088042","filename":"file2"},{"photo_id":"1377088129","filename":"file4"},{"photo_id":"1377087995","filename":"file1"},{"photo_id":"1377087954","filename":"file0"},{"photo_id":"1377088091","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377088091":["hashtag1","hashtag2"]},{"1377088136":["hashtag1","hashtag2"]},{"1377087995":["hashtag1","hashtag2"]},{"1377088129":["hashtag1","hashtag2"]},{"1377088042":["hashtag1","hashtag2"]},{"1377087954":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377088091, 1377088136, 1377087995, 1377088129, 1377088042, 1377087954)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.03230810165405 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:04:02.791943 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/46/image_14082025_10_46_49_10353.jpg', '/media/data/images/14082025/10/46/image_14082025_10_46_58_9169.jpg', '/media/data/images/14082025/10/47/image_14082025_10_47_09_10526.jpg', '/media/data/images/14082025/10/47/image_14082025_10_47_18_9443.jpg', '/media/data/images/14082025/10/47/image_14082025_10_47_39_10366.jpg', '/media/data/images/14082025/10/47/image_14082025_10_47_49_10020.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/46/image_14082025_10_46_49_10353.jpg /media/data/images/14082025/10/46/image_14082025_10_46_58_9169.jpg /media/data/images/14082025/10/47/image_14082025_10_47_09_10526.jpg /media/data/images/14082025/10/47/image_14082025_10_47_18_9443.jpg /media/data/images/14082025/10/47/image_14082025_10_47_39_10366.jpg /media/data/images/14082025/10/47/image_14082025_10_47_49_10020.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377088181","1377088163","1377088168","1377088177","1377088173","1377088158"],"photo_ids_order":["1377088158","1377088163","1377088168","1377088173","1377088177","1377088181"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e24b823965d4d3160b7c68e1661f9683.jpg","text":"TemporaryFile(/tmp/multipartBody5578434142940206594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194703779,"filename":"image_14082025_10_47_49_10020.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/677ac342c1b39088983301ec897bcfa3.jpg","text":"TemporaryFile(/tmp/multipartBody9010752855571121745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194703779,"filename":"image_14082025_10_46_58_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/503ca4311eb323a83b1dc857c09aaeb7.jpg","text":"TemporaryFile(/tmp/multipartBody7360982374490948187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194703779,"filename":"image_14082025_10_47_09_10526.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed7e5977fad5558d37b986263ca3708c.jpg","text":"TemporaryFile(/tmp/multipartBody1431165927646639616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194703779,"filename":"image_14082025_10_47_39_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a31217750fabf3e87383fe14d7864f9.jpg","text":"TemporaryFile(/tmp/multipartBody1978345043966055205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194703779,"filename":"image_14082025_10_47_18_9443.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e7e2bc7dba45dcd66ba5def16d2dd98.jpg","text":"TemporaryFile(/tmp/multipartBody4455866883169210405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194703779,"filename":"image_14082025_10_46_49_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377088168","file1":"1377088163","file0":"1377088158","file4":"1377088177","file5":"1377088181","file3":"1377088173"},"map_files_photo_id_array":[{"photo_id":"1377088181","filename":"file5"},{"photo_id":"1377088168","filename":"file2"},{"photo_id":"1377088177","filename":"file4"},{"photo_id":"1377088163","filename":"file1"},{"photo_id":"1377088158","filename":"file0"},{"photo_id":"1377088173","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377088181":["hashtag1","hashtag2"]},{"1377088163":["hashtag1","hashtag2"]},{"1377088168":["hashtag1","hashtag2"]},{"1377088177":["hashtag1","hashtag2"]},{"1377088173":["hashtag1","hashtag2"]},{"1377088158":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377088181, 1377088163, 1377088168, 1377088177, 1377088173, 1377088158)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.63193464279175 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:05:03.039462 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/48/image_14082025_10_48_09_10502.jpg', '/media/data/images/14082025/10/48/image_14082025_10_48_19_10367.jpg', '/media/data/images/14082025/10/48/image_14082025_10_48_28_9204.jpg', '/media/data/images/14082025/10/48/image_14082025_10_48_39_10558.jpg', '/media/data/images/14082025/10/48/image_14082025_10_48_48_9194.jpg', '/media/data/images/14082025/10/48/image_14082025_10_48_58_10431.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/48/image_14082025_10_48_09_10502.jpg /media/data/images/14082025/10/48/image_14082025_10_48_19_10367.jpg /media/data/images/14082025/10/48/image_14082025_10_48_28_9204.jpg /media/data/images/14082025/10/48/image_14082025_10_48_39_10558.jpg /media/data/images/14082025/10/48/image_14082025_10_48_48_9194.jpg /media/data/images/14082025/10/48/image_14082025_10_48_58_10431.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377088212","1377088193","1377088208","1377088205","1377088198","1377088201"],"photo_ids_order":["1377088193","1377088198","1377088201","1377088205","1377088208","1377088212"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/527a5c8d64a3bb38b338d8452c5dbf72.jpg","text":"TemporaryFile(/tmp/multipartBody446534265173968510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194765707,"filename":"image_14082025_10_48_58_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d855f77b5e90a00fc653b680354117f5.jpg","text":"TemporaryFile(/tmp/multipartBody6598420531413014112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194765707,"filename":"image_14082025_10_48_09_10502.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ebaec1f6e19f52005f9d715cb173548.jpg","text":"TemporaryFile(/tmp/multipartBody8494432768921664883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194765707,"filename":"image_14082025_10_48_48_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd1b2b9842eddf38e3cecce39b0f7e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7253954830568395014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194765707,"filename":"image_14082025_10_48_39_10558.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/db3f8007f06ac3ab5c32430e6c35c587.jpg","text":"TemporaryFile(/tmp/multipartBody57312978534839006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194765707,"filename":"image_14082025_10_48_19_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58a40e2235fb2a3d963a1cd894ef0856.jpg","text":"TemporaryFile(/tmp/multipartBody3461355226996619243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194765707,"filename":"image_14082025_10_48_28_9204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377088201","file1":"1377088198","file0":"1377088193","file4":"1377088208","file5":"1377088212","file3":"1377088205"},"map_files_photo_id_array":[{"photo_id":"1377088212","filename":"file5"},{"photo_id":"1377088201","filename":"file2"},{"photo_id":"1377088208","filename":"file4"},{"photo_id":"1377088198","filename":"file1"},{"photo_id":"1377088193","filename":"file0"},{"photo_id":"1377088205","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377088212":["hashtag1","hashtag2"]},{"1377088193":["hashtag1","hashtag2"]},{"1377088208":["hashtag1","hashtag2"]},{"1377088205":["hashtag1","hashtag2"]},{"1377088198":["hashtag1","hashtag2"]},{"1377088201":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377088212, 1377088193, 1377088208, 1377088205, 1377088198, 1377088201)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.76454949378967 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:06:03.025399 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/49/image_14082025_10_49_09_10411.jpg', '/media/data/images/14082025/10/49/image_14082025_10_49_18_9237.jpg', '/media/data/images/14082025/10/49/image_14082025_10_49_28_10333.jpg', '/media/data/images/14082025/10/49/image_14082025_10_49_39_10297.jpg', '/media/data/images/14082025/10/49/image_14082025_10_49_49_10211.jpg', '/media/data/images/14082025/10/49/image_14082025_10_49_58_9045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/49/image_14082025_10_49_09_10411.jpg /media/data/images/14082025/10/49/image_14082025_10_49_18_9237.jpg /media/data/images/14082025/10/49/image_14082025_10_49_28_10333.jpg /media/data/images/14082025/10/49/image_14082025_10_49_39_10297.jpg /media/data/images/14082025/10/49/image_14082025_10_49_49_10211.jpg /media/data/images/14082025/10/49/image_14082025_10_49_58_9045.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377088547","1377088369","1377088435","1377088402","1377088513","1377088473"],"photo_ids_order":["1377088369","1377088402","1377088435","1377088473","1377088513","1377088547"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f4f54ca592482f828b7cd1a073caf957.jpg","text":"TemporaryFile(/tmp/multipartBody4563411975732426169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194824056,"filename":"image_14082025_10_49_58_9045.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a0fc32a501b0bfe3a29ae4d283b1063.jpg","text":"TemporaryFile(/tmp/multipartBody2945518998127593497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194824056,"filename":"image_14082025_10_49_09_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/831570a90dd93d89b656dfac75e687b3.jpg","text":"TemporaryFile(/tmp/multipartBody2647533995428147530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194824056,"filename":"image_14082025_10_49_28_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8fe94ce5bfb9b02c66ef6ea6e342d03.jpg","text":"TemporaryFile(/tmp/multipartBody2981579331784259709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194824056,"filename":"image_14082025_10_49_18_9237.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1164b475cde76a49435012645b7cdf02.jpg","text":"TemporaryFile(/tmp/multipartBody2633917291229289303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194824056,"filename":"image_14082025_10_49_49_10211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05f1edadbbaa473fa9d0fbafd4e52032.jpg","text":"TemporaryFile(/tmp/multipartBody2890675302902855434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194824056,"filename":"image_14082025_10_49_39_10297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377088435","file1":"1377088402","file0":"1377088369","file4":"1377088513","file5":"1377088547","file3":"1377088473"},"map_files_photo_id_array":[{"photo_id":"1377088547","filename":"file5"},{"photo_id":"1377088435","filename":"file2"},{"photo_id":"1377088513","filename":"file4"},{"photo_id":"1377088402","filename":"file1"},{"photo_id":"1377088369","filename":"file0"},{"photo_id":"1377088473","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377088547":["hashtag1","hashtag2"]},{"1377088369":["hashtag1","hashtag2"]},{"1377088435":["hashtag1","hashtag2"]},{"1377088402":["hashtag1","hashtag2"]},{"1377088513":["hashtag1","hashtag2"]},{"1377088473":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377088547, 1377088369, 1377088435, 1377088402, 1377088513, 1377088473)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.441720724105835 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:07:03.132757 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/49/image_14082025_10_50_09_10915.jpg', '/media/data/images/14082025/10/50/image_14082025_10_50_18_9113.jpg', '/media/data/images/14082025/10/50/image_14082025_10_50_28_10311.jpg', '/media/data/images/14082025/10/50/image_14082025_10_50_39_10301.jpg', '/media/data/images/14082025/10/50/image_14082025_10_50_49_10253.jpg', '/media/data/images/14082025/10/50/image_14082025_10_50_58_9089.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/49/image_14082025_10_50_09_10915.jpg /media/data/images/14082025/10/50/image_14082025_10_50_18_9113.jpg /media/data/images/14082025/10/50/image_14082025_10_50_28_10311.jpg /media/data/images/14082025/10/50/image_14082025_10_50_39_10301.jpg /media/data/images/14082025/10/50/image_14082025_10_50_49_10253.jpg /media/data/images/14082025/10/50/image_14082025_10_50_58_9089.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377088812","1377088742","1377088916","1377088882","1377088849","1377088779"],"photo_ids_order":["1377088742","1377088779","1377088812","1377088849","1377088882","1377088916"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9081ab2a2f4e7a4d2fd7ee7b6b10a4b9.jpg","text":"TemporaryFile(/tmp/multipartBody2808337451473701756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194884246,"filename":"image_14082025_10_50_28_10311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83a05e62547c190c8fc75de8fb8cdc47.jpg","text":"TemporaryFile(/tmp/multipartBody6642116704802173386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194884246,"filename":"image_14082025_10_50_09_10915.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52810b87e89fe73b2c09692111216cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7514001988777366724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194884246,"filename":"image_14082025_10_50_58_9089.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7fc0c176d999b3baac16a4c9e65edbfb.jpg","text":"TemporaryFile(/tmp/multipartBody4234839318712119888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194884246,"filename":"image_14082025_10_50_49_10253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53a58e06f92718b043696464ab50da63.jpg","text":"TemporaryFile(/tmp/multipartBody277943925621063554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194884246,"filename":"image_14082025_10_50_39_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df0ef0a3ad76b2da69cc2ebbf8701453.jpg","text":"TemporaryFile(/tmp/multipartBody1283821190666422365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194884246,"filename":"image_14082025_10_50_18_9113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377088812","file1":"1377088779","file0":"1377088742","file4":"1377088882","file5":"1377088916","file3":"1377088849"},"map_files_photo_id_array":[{"photo_id":"1377088916","filename":"file5"},{"photo_id":"1377088812","filename":"file2"},{"photo_id":"1377088882","filename":"file4"},{"photo_id":"1377088779","filename":"file1"},{"photo_id":"1377088742","filename":"file0"},{"photo_id":"1377088849","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377088812":["hashtag1","hashtag2"]},{"1377088742":["hashtag1","hashtag2"]},{"1377088916":["hashtag1","hashtag2"]},{"1377088882":["hashtag1","hashtag2"]},{"1377088849":["hashtag1","hashtag2"]},{"1377088779":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377088812, 1377088742, 1377088916, 1377088882, 1377088849, 1377088779)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.51378417015076 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:08:03.195443 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/51/image_14082025_10_51_19_10343.jpg', '/media/data/images/14082025/10/51/image_14082025_10_51_28_9114.jpg', '/media/data/images/14082025/10/51/image_14082025_10_51_38_10278.jpg', '/media/data/images/14082025/10/51/image_14082025_10_51_48_10244.jpg', '/media/data/images/14082025/10/52/image_14082025_10_52_08_9219.jpg', '/media/data/images/14082025/10/52/image_14082025_10_52_18_10340.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/51/image_14082025_10_51_19_10343.jpg /media/data/images/14082025/10/51/image_14082025_10_51_28_9114.jpg /media/data/images/14082025/10/51/image_14082025_10_51_38_10278.jpg /media/data/images/14082025/10/51/image_14082025_10_51_48_10244.jpg /media/data/images/14082025/10/52/image_14082025_10_52_08_9219.jpg /media/data/images/14082025/10/52/image_14082025_10_52_18_10340.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377089264","1377089197","1377089299","1377089230","1377089128","1377089160"],"photo_ids_order":["1377089128","1377089160","1377089197","1377089230","1377089264","1377089299"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a0307c58ed076b5bd23f6f417f63c5b.jpg","text":"TemporaryFile(/tmp/multipartBody4217987706087908658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194944281,"filename":"image_14082025_10_52_08_9219.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ab2a9db2531e5e37db97282bad06636.jpg","text":"TemporaryFile(/tmp/multipartBody2515338615194979296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194944281,"filename":"image_14082025_10_51_38_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/417e09900a813a34bdcd39c931c381a6.jpg","text":"TemporaryFile(/tmp/multipartBody4133363897164852001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194944281,"filename":"image_14082025_10_52_18_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7bbd8f28ee50bcce3f390ed6817f32c0.jpg","text":"TemporaryFile(/tmp/multipartBody6838828199212017281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194944281,"filename":"image_14082025_10_51_48_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/356d2a58ea0314c6ebe70106b444bb50.jpg","text":"TemporaryFile(/tmp/multipartBody2729403393925202397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194944281,"filename":"image_14082025_10_51_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b51b651cfb2ea3e8c4f11c4577b21a2.jpg","text":"TemporaryFile(/tmp/multipartBody5574491018269581066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755194944281,"filename":"image_14082025_10_51_28_9114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377089197","file1":"1377089160","file0":"1377089128","file4":"1377089264","file5":"1377089299","file3":"1377089230"},"map_files_photo_id_array":[{"photo_id":"1377089299","filename":"file5"},{"photo_id":"1377089197","filename":"file2"},{"photo_id":"1377089264","filename":"file4"},{"photo_id":"1377089160","filename":"file1"},{"photo_id":"1377089128","filename":"file0"},{"photo_id":"1377089230","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377089264":["hashtag1","hashtag2"]},{"1377089197":["hashtag1","hashtag2"]},{"1377089299":["hashtag1","hashtag2"]},{"1377089230":["hashtag1","hashtag2"]},{"1377089128":["hashtag1","hashtag2"]},{"1377089160":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377089264, 1377089197, 1377089299, 1377089230, 1377089128, 1377089160)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.351587772369385 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:09:03.594912 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/52/image_14082025_10_52_39_10444.jpg', '/media/data/images/14082025/10/52/image_14082025_10_52_48_9042.jpg', '/media/data/images/14082025/10/52/image_14082025_10_52_58_10289.jpg', '/media/data/images/14082025/10/53/image_14082025_10_53_08_10207.jpg', '/media/data/images/14082025/10/53/image_14082025_10_53_19_10252.jpg', '/media/data/images/14082025/10/53/image_14082025_10_53_29_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/52/image_14082025_10_52_39_10444.jpg /media/data/images/14082025/10/52/image_14082025_10_52_48_9042.jpg /media/data/images/14082025/10/52/image_14082025_10_52_58_10289.jpg /media/data/images/14082025/10/53/image_14082025_10_53_08_10207.jpg /media/data/images/14082025/10/53/image_14082025_10_53_19_10252.jpg /media/data/images/14082025/10/53/image_14082025_10_53_29_10306.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377089593","1377089596","1377089590","1377089584","1377089551","1377089515"],"photo_ids_order":["1377089515","1377089551","1377089584","1377089590","1377089593","1377089596"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20efb2212ced12900215c09091bbf245.jpg","text":"TemporaryFile(/tmp/multipartBody2481633073353942568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195004676,"filename":"image_14082025_10_53_19_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d10567ed9aff80491f29a47bf7a32ba2.jpg","text":"TemporaryFile(/tmp/multipartBody5791676881166606909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195004676,"filename":"image_14082025_10_53_29_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7d1921f8024e956c4ea33ea40f05ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6917737856928752221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195004676,"filename":"image_14082025_10_53_08_10207.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9cb25617a0140ca82aef670bbea4fd7c.jpg","text":"TemporaryFile(/tmp/multipartBody981063955115523226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195004676,"filename":"image_14082025_10_52_58_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebe19939fdc9a3722e35029d69c29c5c.jpg","text":"TemporaryFile(/tmp/multipartBody139974932148276571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195004676,"filename":"image_14082025_10_52_48_9042.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/02435e88d10b82e56d37e1d1bdef4da8.jpg","text":"TemporaryFile(/tmp/multipartBody5395173652415967044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195004676,"filename":"image_14082025_10_52_39_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377089584","file1":"1377089551","file0":"1377089515","file4":"1377089593","file5":"1377089596","file3":"1377089590"},"map_files_photo_id_array":[{"photo_id":"1377089596","filename":"file5"},{"photo_id":"1377089584","filename":"file2"},{"photo_id":"1377089593","filename":"file4"},{"photo_id":"1377089551","filename":"file1"},{"photo_id":"1377089515","filename":"file0"},{"photo_id":"1377089590","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377089593":["hashtag1","hashtag2"]},{"1377089596":["hashtag1","hashtag2"]},{"1377089590":["hashtag1","hashtag2"]},{"1377089584":["hashtag1","hashtag2"]},{"1377089551":["hashtag1","hashtag2"]},{"1377089515":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377089593, 1377089596, 1377089590, 1377089584, 1377089551, 1377089515)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.02277088165283 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:10:02.423781 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/53/image_14082025_10_53_38_9084.jpg', '/media/data/images/14082025/10/53/image_14082025_10_53_49_10424.jpg', '/media/data/images/14082025/10/53/image_14082025_10_53_59_10410.jpg', '/media/data/images/14082025/10/54/image_14082025_10_54_08_9148.jpg', '/media/data/images/14082025/10/54/image_14082025_10_54_18_10337.jpg', '/media/data/images/14082025/10/54/image_14082025_10_54_29_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/53/image_14082025_10_53_38_9084.jpg /media/data/images/14082025/10/53/image_14082025_10_53_49_10424.jpg /media/data/images/14082025/10/53/image_14082025_10_53_59_10410.jpg /media/data/images/14082025/10/54/image_14082025_10_54_08_9148.jpg /media/data/images/14082025/10/54/image_14082025_10_54_18_10337.jpg /media/data/images/14082025/10/54/image_14082025_10_54_29_10284.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377089626","1377089748","1377089676","1377089631","1377089712","1377089628"],"photo_ids_order":["1377089626","1377089628","1377089631","1377089676","1377089712","1377089748"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ceb1a8da85922ecc5d2245dbd7c20c9.jpg","text":"TemporaryFile(/tmp/multipartBody1073811529698466494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195063530,"filename":"image_14082025_10_53_38_9084.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87aa10e7a454ae68601cb1fc1e92f177.jpg","text":"TemporaryFile(/tmp/multipartBody1788354778546965108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195063530,"filename":"image_14082025_10_54_29_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/786ce4a1fae0a4d664747fd793f9f703.jpg","text":"TemporaryFile(/tmp/multipartBody3815977757550006671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195063530,"filename":"image_14082025_10_54_08_9148.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd3ae665398f3825835d23dee367c77b.jpg","text":"TemporaryFile(/tmp/multipartBody492533475738185892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195063530,"filename":"image_14082025_10_53_59_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d6bb58d42c6386ecf147ace31e8a959.jpg","text":"TemporaryFile(/tmp/multipartBody296178890756582438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195063530,"filename":"image_14082025_10_54_18_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2252b618b01426e52e579dae99e45faa.jpg","text":"TemporaryFile(/tmp/multipartBody3803024325643674286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195063530,"filename":"image_14082025_10_53_49_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377089631","file1":"1377089628","file0":"1377089626","file4":"1377089712","file5":"1377089748","file3":"1377089676"},"map_files_photo_id_array":[{"photo_id":"1377089748","filename":"file5"},{"photo_id":"1377089631","filename":"file2"},{"photo_id":"1377089712","filename":"file4"},{"photo_id":"1377089628","filename":"file1"},{"photo_id":"1377089626","filename":"file0"},{"photo_id":"1377089676","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377089626":["hashtag1","hashtag2"]},{"1377089748":["hashtag1","hashtag2"]},{"1377089676":["hashtag1","hashtag2"]},{"1377089631":["hashtag1","hashtag2"]},{"1377089712":["hashtag1","hashtag2"]},{"1377089628":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377089626, 1377089748, 1377089676, 1377089631, 1377089712, 1377089628)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.68822908401489 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:11:02.681632 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/54/image_14082025_10_54_39_10276.jpg', '/media/data/images/14082025/10/54/image_14082025_10_54_58_10349.jpg', '/media/data/images/14082025/10/55/image_14082025_10_55_09_10357.jpg', '/media/data/images/14082025/10/55/image_14082025_10_55_19_10297.jpg', '/media/data/images/14082025/10/55/image_14082025_10_55_28_9068.jpg', '/media/data/images/14082025/10/55/image_14082025_10_55_38_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/54/image_14082025_10_54_39_10276.jpg /media/data/images/14082025/10/54/image_14082025_10_54_58_10349.jpg /media/data/images/14082025/10/55/image_14082025_10_55_09_10357.jpg /media/data/images/14082025/10/55/image_14082025_10_55_19_10297.jpg /media/data/images/14082025/10/55/image_14082025_10_55_28_9068.jpg /media/data/images/14082025/10/55/image_14082025_10_55_38_10306.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090095","1377090149","1377090145","1377090067","1377090109","1377090048"],"photo_ids_order":["1377090048","1377090067","1377090095","1377090109","1377090145","1377090149"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/afca049768b74d8ea1b72b419b584477.jpg","text":"TemporaryFile(/tmp/multipartBody6264918860787994333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195123779,"filename":"image_14082025_10_55_09_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d9dfd13e3bb56046b86c253ed25a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6378746628716464240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195123779,"filename":"image_14082025_10_55_38_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cfdd1d4407bbdf3fb12d8ccb6cbf20bb.jpg","text":"TemporaryFile(/tmp/multipartBody4909110543869339279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195123779,"filename":"image_14082025_10_55_28_9068.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4e92137bca2867a58a1c35e4ad5076b.jpg","text":"TemporaryFile(/tmp/multipartBody4851392662148025289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195123779,"filename":"image_14082025_10_54_58_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73025cf80e61f1d04a425125a5223ad9.jpg","text":"TemporaryFile(/tmp/multipartBody4834741749291120145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195123779,"filename":"image_14082025_10_55_19_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a2af589981834c3f605bd1dd68ac228.jpg","text":"TemporaryFile(/tmp/multipartBody3941152555340420476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195123779,"filename":"image_14082025_10_54_39_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090095","file1":"1377090067","file0":"1377090048","file4":"1377090145","file5":"1377090149","file3":"1377090109"},"map_files_photo_id_array":[{"photo_id":"1377090149","filename":"file5"},{"photo_id":"1377090095","filename":"file2"},{"photo_id":"1377090145","filename":"file4"},{"photo_id":"1377090067","filename":"file1"},{"photo_id":"1377090048","filename":"file0"},{"photo_id":"1377090109","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090095":["hashtag1","hashtag2"]},{"1377090149":["hashtag1","hashtag2"]},{"1377090145":["hashtag1","hashtag2"]},{"1377090067":["hashtag1","hashtag2"]},{"1377090109":["hashtag1","hashtag2"]},{"1377090048":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090095, 1377090149, 1377090145, 1377090067, 1377090109, 1377090048)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.38165736198425 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:12:02.725575 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/55/image_14082025_10_55_49_10528.jpg', '/media/data/images/14082025/10/55/image_14082025_10_55_58_9071.jpg', '/media/data/images/14082025/10/55/image_14082025_10_56_09_10678.jpg', '/media/data/images/14082025/10/56/image_14082025_10_56_19_10297.jpg', '/media/data/images/14082025/10/56/image_14082025_10_56_28_9102.jpg', '/media/data/images/14082025/10/56/image_14082025_10_56_38_10272.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/55/image_14082025_10_55_49_10528.jpg /media/data/images/14082025/10/55/image_14082025_10_55_58_9071.jpg /media/data/images/14082025/10/55/image_14082025_10_56_09_10678.jpg /media/data/images/14082025/10/56/image_14082025_10_56_19_10297.jpg /media/data/images/14082025/10/56/image_14082025_10_56_28_9102.jpg /media/data/images/14082025/10/56/image_14082025_10_56_38_10272.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090222","1377090216","1377090230","1377090233","1377090226","1377090219"],"photo_ids_order":["1377090216","1377090219","1377090222","1377090226","1377090230","1377090233"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f94b167a24ba3fb512284032f8e348f1.jpg","text":"TemporaryFile(/tmp/multipartBody3786015603897958917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195183803,"filename":"image_14082025_10_56_09_10678.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a2e5683346a6d95506d1eb5ce77f422.jpg","text":"TemporaryFile(/tmp/multipartBody6348145127302284910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195183803,"filename":"image_14082025_10_55_49_10528.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e114c55c7d8cc55ef5345edeccfcc625.jpg","text":"TemporaryFile(/tmp/multipartBody1383191786312071778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195183803,"filename":"image_14082025_10_56_28_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/06f849eadde5106835e0495aee31e34d.jpg","text":"TemporaryFile(/tmp/multipartBody139449475123374129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195183803,"filename":"image_14082025_10_56_38_10272.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59da1d5300ffa96f15c7d94b84220537.jpg","text":"TemporaryFile(/tmp/multipartBody8172683782789200011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195183803,"filename":"image_14082025_10_56_19_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e81593f5978607df249b3c47a8160bae.jpg","text":"TemporaryFile(/tmp/multipartBody6782749802770864217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195183803,"filename":"image_14082025_10_55_58_9071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090222","file1":"1377090219","file0":"1377090216","file4":"1377090230","file5":"1377090233","file3":"1377090226"},"map_files_photo_id_array":[{"photo_id":"1377090233","filename":"file5"},{"photo_id":"1377090222","filename":"file2"},{"photo_id":"1377090230","filename":"file4"},{"photo_id":"1377090219","filename":"file1"},{"photo_id":"1377090216","filename":"file0"},{"photo_id":"1377090226","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090222":["hashtag1","hashtag2"]},{"1377090216":["hashtag1","hashtag2"]},{"1377090230":["hashtag1","hashtag2"]},{"1377090233":["hashtag1","hashtag2"]},{"1377090226":["hashtag1","hashtag2"]},{"1377090219":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090222, 1377090216, 1377090230, 1377090233, 1377090226, 1377090219)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.16912651062012 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:13:02.978396 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/56/image_14082025_10_56_49_10246.jpg', '/media/data/images/14082025/10/56/image_14082025_10_56_59_10238.jpg', '/media/data/images/14082025/10/57/image_14082025_10_57_08_9149.jpg', '/media/data/images/14082025/10/57/image_14082025_10_57_19_10571.jpg', '/media/data/images/14082025/10/57/image_14082025_10_57_29_10301.jpg', '/media/data/images/14082025/10/57/image_14082025_10_57_59_10230.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/56/image_14082025_10_56_49_10246.jpg /media/data/images/14082025/10/56/image_14082025_10_56_59_10238.jpg /media/data/images/14082025/10/57/image_14082025_10_57_08_9149.jpg /media/data/images/14082025/10/57/image_14082025_10_57_19_10571.jpg /media/data/images/14082025/10/57/image_14082025_10_57_29_10301.jpg /media/data/images/14082025/10/57/image_14082025_10_57_59_10230.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090271","1377090244","1377090268","1377090247","1377090261","1377090264"],"photo_ids_order":["1377090244","1377090247","1377090261","1377090264","1377090268","1377090271"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e1341baff5ba702dcad905da265b88a.jpg","text":"TemporaryFile(/tmp/multipartBody5242337014082481377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195243999,"filename":"image_14082025_10_57_59_10230.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aabba6833cc665a2af650b3b628acd03.jpg","text":"TemporaryFile(/tmp/multipartBody4552033615864902878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195243999,"filename":"image_14082025_10_56_49_10246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7fd767c20e0a19ef6e6064e46d99374.jpg","text":"TemporaryFile(/tmp/multipartBody4185741340524629394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195243999,"filename":"image_14082025_10_57_29_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c32bbd5b2520774a2f352de25f3dd6ef.jpg","text":"TemporaryFile(/tmp/multipartBody769376744996534302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195243999,"filename":"image_14082025_10_56_59_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d0c3ac0312613128b4c1dc1b6af06fc.jpg","text":"TemporaryFile(/tmp/multipartBody7936076397095072764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195243999,"filename":"image_14082025_10_57_08_9149.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7496036a17573719cc1a153f7a610e6.jpg","text":"TemporaryFile(/tmp/multipartBody1788992884402091417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195243999,"filename":"image_14082025_10_57_19_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090261","file1":"1377090247","file0":"1377090244","file4":"1377090268","file5":"1377090271","file3":"1377090264"},"map_files_photo_id_array":[{"photo_id":"1377090271","filename":"file5"},{"photo_id":"1377090261","filename":"file2"},{"photo_id":"1377090268","filename":"file4"},{"photo_id":"1377090247","filename":"file1"},{"photo_id":"1377090244","filename":"file0"},{"photo_id":"1377090264","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090271":["hashtag1","hashtag2"]},{"1377090244":["hashtag1","hashtag2"]},{"1377090268":["hashtag1","hashtag2"]},{"1377090247":["hashtag1","hashtag2"]},{"1377090261":["hashtag1","hashtag2"]},{"1377090264":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090271, 1377090244, 1377090268, 1377090247, 1377090261, 1377090264)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.338801860809326 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:14:02.952599 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/58/image_14082025_10_58_08_9250.jpg', '/media/data/images/14082025/10/58/image_14082025_10_58_18_10356.jpg', '/media/data/images/14082025/10/58/image_14082025_10_58_29_10283.jpg', '/media/data/images/14082025/10/58/image_14082025_10_58_39_10306.jpg', '/media/data/images/14082025/10/58/image_14082025_10_58_48_9043.jpg', '/media/data/images/14082025/10/58/image_14082025_10_58_58_10220.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/58/image_14082025_10_58_08_9250.jpg /media/data/images/14082025/10/58/image_14082025_10_58_18_10356.jpg /media/data/images/14082025/10/58/image_14082025_10_58_29_10283.jpg /media/data/images/14082025/10/58/image_14082025_10_58_39_10306.jpg /media/data/images/14082025/10/58/image_14082025_10_58_48_9043.jpg /media/data/images/14082025/10/58/image_14082025_10_58_58_10220.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090300","1377090290","1377090303","1377090295","1377090292","1377090286"],"photo_ids_order":["1377090286","1377090290","1377090292","1377090295","1377090300","1377090303"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f5a363bed0b8fb7668f56ebe9f550f6.jpg","text":"TemporaryFile(/tmp/multipartBody3191592906552642853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195304022,"filename":"image_14082025_10_58_48_9043.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e47f3db8f102287d144d085d57fa0962.jpg","text":"TemporaryFile(/tmp/multipartBody5603598142473250213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195304022,"filename":"image_14082025_10_58_18_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ffe63016acfe2926289b3f57b9d6af2.jpg","text":"TemporaryFile(/tmp/multipartBody8268893282330079737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195304022,"filename":"image_14082025_10_58_58_10220.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af27ccc19ec1cc6a3215bc035f87fbc4.jpg","text":"TemporaryFile(/tmp/multipartBody4252888457965431296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195304022,"filename":"image_14082025_10_58_39_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d0199b2f26f7421fc1d4f8f8d01882d.jpg","text":"TemporaryFile(/tmp/multipartBody4095183057163613293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195304022,"filename":"image_14082025_10_58_29_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58af5e76d98b740dd49322306ac11ea2.jpg","text":"TemporaryFile(/tmp/multipartBody8769595982346626823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195304022,"filename":"image_14082025_10_58_08_9250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090292","file1":"1377090290","file0":"1377090286","file4":"1377090300","file5":"1377090303","file3":"1377090295"},"map_files_photo_id_array":[{"photo_id":"1377090303","filename":"file5"},{"photo_id":"1377090292","filename":"file2"},{"photo_id":"1377090300","filename":"file4"},{"photo_id":"1377090290","filename":"file1"},{"photo_id":"1377090286","filename":"file0"},{"photo_id":"1377090295","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090300":["hashtag1","hashtag2"]},{"1377090290":["hashtag1","hashtag2"]},{"1377090303":["hashtag1","hashtag2"]},{"1377090295":["hashtag1","hashtag2"]},{"1377090292":["hashtag1","hashtag2"]},{"1377090286":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090300, 1377090290, 1377090303, 1377090295, 1377090292, 1377090286)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.499762773513794 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:15:03.088151 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/10/59/image_14082025_10_59_18_10297.jpg', '/media/data/images/14082025/10/59/image_14082025_10_59_29_10287.jpg', '/media/data/images/14082025/10/59/image_14082025_10_59_39_10291.jpg', '/media/data/images/14082025/10/59/image_14082025_10_59_48_9065.jpg', '/media/data/images/14082025/11/00/image_14082025_11_00_18_9128.jpg', '/media/data/images/14082025/11/00/image_14082025_11_00_28_10303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/10/59/image_14082025_10_59_18_10297.jpg /media/data/images/14082025/10/59/image_14082025_10_59_29_10287.jpg /media/data/images/14082025/10/59/image_14082025_10_59_39_10291.jpg /media/data/images/14082025/10/59/image_14082025_10_59_48_9065.jpg /media/data/images/14082025/11/00/image_14082025_11_00_18_9128.jpg /media/data/images/14082025/11/00/image_14082025_11_00_28_10303.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090335","1377090320","1377090314","1377090325","1377090340","1377090328"],"photo_ids_order":["1377090314","1377090320","1377090325","1377090328","1377090335","1377090340"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0015cea9f6869c35c0def2b141e09186.jpg","text":"TemporaryFile(/tmp/multipartBody2544843917097653135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195364217,"filename":"image_14082025_11_00_18_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a988a9daf0ba0debbc763b35f56207e.jpg","text":"TemporaryFile(/tmp/multipartBody5232757426696814616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195364217,"filename":"image_14082025_10_59_29_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a424c88c90087f6fa05dded82cae268e.jpg","text":"TemporaryFile(/tmp/multipartBody1652351938704602857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195364217,"filename":"image_14082025_10_59_18_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3672f5f7cf40aac969b3ed9d8871508a.jpg","text":"TemporaryFile(/tmp/multipartBody5478124700857685475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195364217,"filename":"image_14082025_10_59_39_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e20e72c63d8d83b22bcca71c205428b0.jpg","text":"TemporaryFile(/tmp/multipartBody5846021879618264333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195364217,"filename":"image_14082025_11_00_28_10303.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/477f80662b7d7fb04370dd939c374c76.jpg","text":"TemporaryFile(/tmp/multipartBody1955691666581978963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195364217,"filename":"image_14082025_10_59_48_9065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090325","file1":"1377090320","file0":"1377090314","file4":"1377090335","file5":"1377090340","file3":"1377090328"},"map_files_photo_id_array":[{"photo_id":"1377090340","filename":"file5"},{"photo_id":"1377090325","filename":"file2"},{"photo_id":"1377090335","filename":"file4"},{"photo_id":"1377090320","filename":"file1"},{"photo_id":"1377090314","filename":"file0"},{"photo_id":"1377090328","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090335":["hashtag1","hashtag2"]},{"1377090320":["hashtag1","hashtag2"]},{"1377090314":["hashtag1","hashtag2"]},{"1377090325":["hashtag1","hashtag2"]},{"1377090340":["hashtag1","hashtag2"]},{"1377090328":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090335, 1377090320, 1377090314, 1377090325, 1377090340, 1377090328)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 62.65693259239197 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:16:22.392301 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/00/image_14082025_11_00_39_10285.jpg', '/media/data/images/14082025/11/00/image_14082025_11_00_49_10285.jpg', '/media/data/images/14082025/11/00/image_14082025_11_00_58_9234.jpg', '/media/data/images/14082025/11/01/image_14082025_11_01_09_10427.jpg', '/media/data/images/14082025/11/01/image_14082025_11_01_19_10364.jpg', '/media/data/images/14082025/11/01/image_14082025_11_01_28_9138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/00/image_14082025_11_00_39_10285.jpg /media/data/images/14082025/11/00/image_14082025_11_00_49_10285.jpg /media/data/images/14082025/11/00/image_14082025_11_00_58_9234.jpg /media/data/images/14082025/11/01/image_14082025_11_01_09_10427.jpg /media/data/images/14082025/11/01/image_14082025_11_01_19_10364.jpg /media/data/images/14082025/11/01/image_14082025_11_01_28_9138.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090405","1377090398","1377090412","1377090400","1377090403","1377090396"],"photo_ids_order":["1377090396","1377090398","1377090400","1377090403","1377090405","1377090412"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f648d27b882b34318c984249def6f69b.jpg","text":"TemporaryFile(/tmp/multipartBody8153336057838581819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195443426,"filename":"image_14082025_11_01_19_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dac52655537c0f73cd2e0a1e5d433900.jpg","text":"TemporaryFile(/tmp/multipartBody2499022296644403401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195443426,"filename":"image_14082025_11_00_49_10285.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b76ac3662819fd6b4fc7332a6a5c2e7.jpg","text":"TemporaryFile(/tmp/multipartBody4532246602773801848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195443426,"filename":"image_14082025_11_01_28_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a490e0bf6c3096095d384f4ee2f441f.jpg","text":"TemporaryFile(/tmp/multipartBody4392564314038314932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195443426,"filename":"image_14082025_11_00_58_9234.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d831122eb535cfcc1ae726cb51bed81.jpg","text":"TemporaryFile(/tmp/multipartBody6559854920442358481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195443426,"filename":"image_14082025_11_01_09_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abd88c7a0c8b8a2247857a0a9d9268d2.jpg","text":"TemporaryFile(/tmp/multipartBody1833135164246991992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195443426,"filename":"image_14082025_11_00_39_10285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090400","file1":"1377090398","file0":"1377090396","file4":"1377090405","file5":"1377090412","file3":"1377090403"},"map_files_photo_id_array":[{"photo_id":"1377090412","filename":"file5"},{"photo_id":"1377090400","filename":"file2"},{"photo_id":"1377090405","filename":"file4"},{"photo_id":"1377090398","filename":"file1"},{"photo_id":"1377090396","filename":"file0"},{"photo_id":"1377090403","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090405":["hashtag1","hashtag2"]},{"1377090398":["hashtag1","hashtag2"]},{"1377090412":["hashtag1","hashtag2"]},{"1377090400":["hashtag1","hashtag2"]},{"1377090403":["hashtag1","hashtag2"]},{"1377090396":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090405, 1377090398, 1377090412, 1377090400, 1377090403, 1377090396)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.41869640350342 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:17:22.484688 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/01/image_14082025_11_01_39_10420.jpg', '/media/data/images/14082025/11/01/image_14082025_11_01_49_10370.jpg', '/media/data/images/14082025/11/01/image_14082025_11_01_58_9257.jpg', '/media/data/images/14082025/11/02/image_14082025_11_02_09_10413.jpg', '/media/data/images/14082025/11/02/image_14082025_11_02_19_10467.jpg', '/media/data/images/14082025/11/02/image_14082025_11_02_28_9125.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/01/image_14082025_11_01_39_10420.jpg /media/data/images/14082025/11/01/image_14082025_11_01_49_10370.jpg /media/data/images/14082025/11/01/image_14082025_11_01_58_9257.jpg /media/data/images/14082025/11/02/image_14082025_11_02_09_10413.jpg /media/data/images/14082025/11/02/image_14082025_11_02_19_10467.jpg /media/data/images/14082025/11/02/image_14082025_11_02_28_9125.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090464","1377090458","1377090545","1377090512","1377090461","1377090474"],"photo_ids_order":["1377090458","1377090461","1377090464","1377090474","1377090512","1377090545"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/527113bf12d43a84cb986fbd9a53e4dc.jpg","text":"TemporaryFile(/tmp/multipartBody8745724505663744859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195503455,"filename":"image_14082025_11_01_58_9257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa75d28aef6bad45ab7aea6e904230d4.jpg","text":"TemporaryFile(/tmp/multipartBody7792411091725195441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195503455,"filename":"image_14082025_11_01_39_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4188b86c3311ea53d9dd5c3ad165f864.jpg","text":"TemporaryFile(/tmp/multipartBody4695158237274880616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195503455,"filename":"image_14082025_11_02_28_9125.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b15188f070a3f5cdbe1272b3f32ffa0a.jpg","text":"TemporaryFile(/tmp/multipartBody5686991336285454850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195503455,"filename":"image_14082025_11_02_19_10467.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/04185646ba2bf6dddb402fafed57044e.jpg","text":"TemporaryFile(/tmp/multipartBody5597454540766303926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195503455,"filename":"image_14082025_11_01_49_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4b295d9a3c162de0b5c7592ade16e4ee.jpg","text":"TemporaryFile(/tmp/multipartBody7433832044913278767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195503455,"filename":"image_14082025_11_02_09_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090464","file1":"1377090461","file0":"1377090458","file4":"1377090512","file5":"1377090545","file3":"1377090474"},"map_files_photo_id_array":[{"photo_id":"1377090545","filename":"file5"},{"photo_id":"1377090464","filename":"file2"},{"photo_id":"1377090512","filename":"file4"},{"photo_id":"1377090461","filename":"file1"},{"photo_id":"1377090458","filename":"file0"},{"photo_id":"1377090474","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090464":["hashtag1","hashtag2"]},{"1377090458":["hashtag1","hashtag2"]},{"1377090545":["hashtag1","hashtag2"]},{"1377090512":["hashtag1","hashtag2"]},{"1377090461":["hashtag1","hashtag2"]},{"1377090474":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090464, 1377090458, 1377090545, 1377090512, 1377090461, 1377090474)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.23282432556152 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:18:22.608671 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/02/image_14082025_11_02_39_10359.jpg', '/media/data/images/14082025/11/02/image_14082025_11_02_49_10379.jpg', '/media/data/images/14082025/11/02/image_14082025_11_02_58_9186.jpg', '/media/data/images/14082025/11/03/image_14082025_11_03_09_10443.jpg', '/media/data/images/14082025/11/03/image_14082025_11_03_19_10423.jpg', '/media/data/images/14082025/11/03/image_14082025_11_03_28_9204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/02/image_14082025_11_02_39_10359.jpg /media/data/images/14082025/11/02/image_14082025_11_02_49_10379.jpg /media/data/images/14082025/11/02/image_14082025_11_02_58_9186.jpg /media/data/images/14082025/11/03/image_14082025_11_03_09_10443.jpg /media/data/images/14082025/11/03/image_14082025_11_03_19_10423.jpg /media/data/images/14082025/11/03/image_14082025_11_03_28_9204.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090606","1377090611","1377090614","1377090604","1377090601","1377090609"],"photo_ids_order":["1377090601","1377090604","1377090606","1377090609","1377090611","1377090614"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a26cf116a6459d6d3b4cb8067b8cbab.jpg","text":"TemporaryFile(/tmp/multipartBody6384779447434057657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195563597,"filename":"image_14082025_11_02_58_9186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a658ace101aed952ca6e4e35ff5761e1.jpg","text":"TemporaryFile(/tmp/multipartBody1734323984689534823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195563597,"filename":"image_14082025_11_03_19_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0c89cb047c8d6da29100a69f2a6ca7e.jpg","text":"TemporaryFile(/tmp/multipartBody534977288118606271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195563597,"filename":"image_14082025_11_03_28_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ccaa36c7691de15c971b245e9f13605d.jpg","text":"TemporaryFile(/tmp/multipartBody3514174398777631753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195563597,"filename":"image_14082025_11_02_49_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e30e0d509a403f8b6a1be4bdc42cf4c6.jpg","text":"TemporaryFile(/tmp/multipartBody110151367395608449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195563597,"filename":"image_14082025_11_02_39_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd5cc90ce7088148012b491b7ea942eb.jpg","text":"TemporaryFile(/tmp/multipartBody1721117637902161105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195563597,"filename":"image_14082025_11_03_09_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090606","file1":"1377090604","file0":"1377090601","file4":"1377090611","file5":"1377090614","file3":"1377090609"},"map_files_photo_id_array":[{"photo_id":"1377090614","filename":"file5"},{"photo_id":"1377090606","filename":"file2"},{"photo_id":"1377090611","filename":"file4"},{"photo_id":"1377090604","filename":"file1"},{"photo_id":"1377090601","filename":"file0"},{"photo_id":"1377090609","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090606":["hashtag1","hashtag2"]},{"1377090611":["hashtag1","hashtag2"]},{"1377090614":["hashtag1","hashtag2"]},{"1377090604":["hashtag1","hashtag2"]},{"1377090601":["hashtag1","hashtag2"]},{"1377090609":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090606, 1377090611, 1377090614, 1377090604, 1377090601, 1377090609)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.24685835838318 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:19:22.717845 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/03/image_14082025_11_03_39_10379.jpg', '/media/data/images/14082025/11/03/image_14082025_11_03_49_10367.jpg', '/media/data/images/14082025/11/03/image_14082025_11_03_58_9176.jpg', '/media/data/images/14082025/11/03/image_14082025_11_04_09_10607.jpg', '/media/data/images/14082025/11/04/image_14082025_11_04_19_10351.jpg', '/media/data/images/14082025/11/04/image_14082025_11_04_28_9130.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/03/image_14082025_11_03_39_10379.jpg /media/data/images/14082025/11/03/image_14082025_11_03_49_10367.jpg /media/data/images/14082025/11/03/image_14082025_11_03_58_9176.jpg /media/data/images/14082025/11/03/image_14082025_11_04_09_10607.jpg /media/data/images/14082025/11/04/image_14082025_11_04_19_10351.jpg /media/data/images/14082025/11/04/image_14082025_11_04_28_9130.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090638","1377090635","1377090655","1377090637","1377090631","1377090628"],"photo_ids_order":["1377090628","1377090631","1377090635","1377090637","1377090638","1377090655"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b13454a3ec6b8ac600ed163eaaa77be2.jpg","text":"TemporaryFile(/tmp/multipartBody784471116578126877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195623729,"filename":"image_14082025_11_04_19_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87e4149ffee7f0c8b8c047b81a480829.jpg","text":"TemporaryFile(/tmp/multipartBody3022232454714626770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195623729,"filename":"image_14082025_11_03_58_9176.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ad05f713dd09b4d4721c5c5330d3dff.jpg","text":"TemporaryFile(/tmp/multipartBody7955408564942258044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195623729,"filename":"image_14082025_11_04_28_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/358d44f3223d29cb1e21e62e6de23569.jpg","text":"TemporaryFile(/tmp/multipartBody1541079533842899851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195623729,"filename":"image_14082025_11_04_09_10607.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/282977ed35133b6c611944704f4c4ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7263592124089486968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195623729,"filename":"image_14082025_11_03_49_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8ecbb92e353d7145678943afcad6f3d.jpg","text":"TemporaryFile(/tmp/multipartBody587327818833237825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195623729,"filename":"image_14082025_11_03_39_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090635","file1":"1377090631","file0":"1377090628","file4":"1377090638","file5":"1377090655","file3":"1377090637"},"map_files_photo_id_array":[{"photo_id":"1377090655","filename":"file5"},{"photo_id":"1377090635","filename":"file2"},{"photo_id":"1377090638","filename":"file4"},{"photo_id":"1377090631","filename":"file1"},{"photo_id":"1377090628","filename":"file0"},{"photo_id":"1377090637","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090638":["hashtag1","hashtag2"]},{"1377090635":["hashtag1","hashtag2"]},{"1377090655":["hashtag1","hashtag2"]},{"1377090637":["hashtag1","hashtag2"]},{"1377090631":["hashtag1","hashtag2"]},{"1377090628":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090638, 1377090635, 1377090655, 1377090637, 1377090631, 1377090628)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.897395849227905 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:20:21.805853 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/04/image_14082025_11_04_39_10425.jpg', '/media/data/images/14082025/11/04/image_14082025_11_04_49_10343.jpg', '/media/data/images/14082025/11/04/image_14082025_11_04_58_9128.jpg', '/media/data/images/14082025/11/04/image_14082025_11_05_09_10636.jpg', '/media/data/images/14082025/11/05/image_14082025_11_05_19_10356.jpg', '/media/data/images/14082025/11/05/image_14082025_11_05_28_9188.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/04/image_14082025_11_04_39_10425.jpg /media/data/images/14082025/11/04/image_14082025_11_04_49_10343.jpg /media/data/images/14082025/11/04/image_14082025_11_04_58_9128.jpg /media/data/images/14082025/11/04/image_14082025_11_05_09_10636.jpg /media/data/images/14082025/11/05/image_14082025_11_05_19_10356.jpg /media/data/images/14082025/11/05/image_14082025_11_05_28_9188.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090717","1377090677","1377090766","1377090681","1377090774","1377090747"],"photo_ids_order":["1377090677","1377090681","1377090717","1377090747","1377090766","1377090774"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/56b61ba8ae2967386932ff32379ddab6.jpg","text":"TemporaryFile(/tmp/multipartBody5984094654832870798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195682804,"filename":"image_14082025_11_04_58_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/848bb22687a9ac64acfa63c3248158e2.jpg","text":"TemporaryFile(/tmp/multipartBody2893833319143329617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195682804,"filename":"image_14082025_11_04_39_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3df871f3348d539eba22990af3941b9.jpg","text":"TemporaryFile(/tmp/multipartBody8495077323828316258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195682804,"filename":"image_14082025_11_05_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2cf9c5604285f6862e6a9ffa7cb725b9.jpg","text":"TemporaryFile(/tmp/multipartBody4080868673297646339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195682804,"filename":"image_14082025_11_04_49_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/539f254f5e940543040a96f1cc044bd4.jpg","text":"TemporaryFile(/tmp/multipartBody169399232336961524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195682804,"filename":"image_14082025_11_05_28_9188.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a0b46d4d0eccd963ab7082e49c0267c3.jpg","text":"TemporaryFile(/tmp/multipartBody1961771046781117186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195682804,"filename":"image_14082025_11_05_09_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090717","file1":"1377090681","file0":"1377090677","file4":"1377090766","file5":"1377090774","file3":"1377090747"},"map_files_photo_id_array":[{"photo_id":"1377090774","filename":"file5"},{"photo_id":"1377090717","filename":"file2"},{"photo_id":"1377090766","filename":"file4"},{"photo_id":"1377090681","filename":"file1"},{"photo_id":"1377090677","filename":"file0"},{"photo_id":"1377090747","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090717":["hashtag1","hashtag2"]},{"1377090677":["hashtag1","hashtag2"]},{"1377090766":["hashtag1","hashtag2"]},{"1377090681":["hashtag1","hashtag2"]},{"1377090774":["hashtag1","hashtag2"]},{"1377090747":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090717, 1377090677, 1377090766, 1377090681, 1377090774, 1377090747)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.7690155506134 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:21:21.937551 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/05/image_14082025_11_05_39_10357.jpg', '/media/data/images/14082025/11/05/image_14082025_11_05_49_10375.jpg', '/media/data/images/14082025/11/05/image_14082025_11_05_58_9122.jpg', '/media/data/images/14082025/11/06/image_14082025_11_06_09_10561.jpg', '/media/data/images/14082025/11/06/image_14082025_11_06_19_10371.jpg', '/media/data/images/14082025/11/06/image_14082025_11_06_28_9116.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/05/image_14082025_11_05_39_10357.jpg /media/data/images/14082025/11/05/image_14082025_11_05_49_10375.jpg /media/data/images/14082025/11/05/image_14082025_11_05_58_9122.jpg /media/data/images/14082025/11/06/image_14082025_11_06_09_10561.jpg /media/data/images/14082025/11/06/image_14082025_11_06_19_10371.jpg /media/data/images/14082025/11/06/image_14082025_11_06_28_9116.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090836","1377090832","1377090841","1377090844","1377090838","1377090846"],"photo_ids_order":["1377090832","1377090836","1377090838","1377090841","1377090844","1377090846"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cd1268e5f972ee2d3933665760c1bed.jpg","text":"TemporaryFile(/tmp/multipartBody8051236186254705980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195742933,"filename":"image_14082025_11_05_49_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80aec15b1f96a9ce3fcf0e20bb079487.jpg","text":"TemporaryFile(/tmp/multipartBody6739363101268589148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195742933,"filename":"image_14082025_11_05_39_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a98ab872df94ada03832a8030aced56a.jpg","text":"TemporaryFile(/tmp/multipartBody7929483503075913925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195742933,"filename":"image_14082025_11_06_09_10561.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9c57577d41ff708832045b35ef9c61c.jpg","text":"TemporaryFile(/tmp/multipartBody8090399294194868015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195742933,"filename":"image_14082025_11_06_19_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e818f80c7ca06fcee9ef136ead798341.jpg","text":"TemporaryFile(/tmp/multipartBody3166642134180629475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195742933,"filename":"image_14082025_11_05_58_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ce0339becf4347f2878285c6fb845d84.jpg","text":"TemporaryFile(/tmp/multipartBody7154258731701930267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195742933,"filename":"image_14082025_11_06_28_9116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090838","file1":"1377090836","file0":"1377090832","file4":"1377090844","file5":"1377090846","file3":"1377090841"},"map_files_photo_id_array":[{"photo_id":"1377090846","filename":"file5"},{"photo_id":"1377090838","filename":"file2"},{"photo_id":"1377090844","filename":"file4"},{"photo_id":"1377090836","filename":"file1"},{"photo_id":"1377090832","filename":"file0"},{"photo_id":"1377090841","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090836":["hashtag1","hashtag2"]},{"1377090832":["hashtag1","hashtag2"]},{"1377090841":["hashtag1","hashtag2"]},{"1377090844":["hashtag1","hashtag2"]},{"1377090838":["hashtag1","hashtag2"]},{"1377090846":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090836, 1377090832, 1377090841, 1377090844, 1377090838, 1377090846)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.74981760978699 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:22:22.127440 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/06/image_14082025_11_06_38_10349.jpg', '/media/data/images/14082025/11/06/image_14082025_11_06_58_9132.jpg', '/media/data/images/14082025/11/06/image_14082025_11_07_09_10551.jpg', '/media/data/images/14082025/11/07/image_14082025_11_07_28_9162.jpg', '/media/data/images/14082025/11/07/image_14082025_11_07_38_10361.jpg', '/media/data/images/14082025/11/07/image_14082025_11_07_49_10358.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/06/image_14082025_11_06_38_10349.jpg /media/data/images/14082025/11/06/image_14082025_11_06_58_9132.jpg /media/data/images/14082025/11/06/image_14082025_11_07_09_10551.jpg /media/data/images/14082025/11/07/image_14082025_11_07_28_9162.jpg /media/data/images/14082025/11/07/image_14082025_11_07_38_10361.jpg /media/data/images/14082025/11/07/image_14082025_11_07_49_10358.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090866","1377090875","1377090878","1377090871","1377090856","1377090861"],"photo_ids_order":["1377090856","1377090861","1377090866","1377090871","1377090875","1377090878"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ddde847571ce4be61d23726fce7148a7.jpg","text":"TemporaryFile(/tmp/multipartBody6413498828579282591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195803112,"filename":"image_14082025_11_07_09_10551.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c043f924e28310d422c81381cb06359.jpg","text":"TemporaryFile(/tmp/multipartBody9016187639150680398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195803112,"filename":"image_14082025_11_07_38_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf6d2c86d87846088859dd20ea263ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7404347361594041298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195803112,"filename":"image_14082025_11_07_49_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ccaa70d2d63c9d43cb3bd3c6f40ae636.jpg","text":"TemporaryFile(/tmp/multipartBody8062488871417661732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195803112,"filename":"image_14082025_11_07_28_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2661eaf92ca19c281da5370e0010dbff.jpg","text":"TemporaryFile(/tmp/multipartBody6805874919096877289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195803112,"filename":"image_14082025_11_06_38_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c19be9a7798817b124e02354ee8a9676.jpg","text":"TemporaryFile(/tmp/multipartBody1226392164911155204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195803112,"filename":"image_14082025_11_06_58_9132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090866","file1":"1377090861","file0":"1377090856","file4":"1377090875","file5":"1377090878","file3":"1377090871"},"map_files_photo_id_array":[{"photo_id":"1377090878","filename":"file5"},{"photo_id":"1377090866","filename":"file2"},{"photo_id":"1377090875","filename":"file4"},{"photo_id":"1377090861","filename":"file1"},{"photo_id":"1377090856","filename":"file0"},{"photo_id":"1377090871","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090866":["hashtag1","hashtag2"]},{"1377090875":["hashtag1","hashtag2"]},{"1377090878":["hashtag1","hashtag2"]},{"1377090871":["hashtag1","hashtag2"]},{"1377090856":["hashtag1","hashtag2"]},{"1377090861":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090866, 1377090875, 1377090878, 1377090871, 1377090856, 1377090861)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.074453592300415 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:23:22.219158 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/07/image_14082025_11_07_58_9160.jpg', '/media/data/images/14082025/11/07/image_14082025_11_08_09_10700.jpg', '/media/data/images/14082025/11/08/image_14082025_11_08_19_10360.jpg', '/media/data/images/14082025/11/08/image_14082025_11_08_28_9131.jpg', '/media/data/images/14082025/11/08/image_14082025_11_08_39_10355.jpg', '/media/data/images/14082025/11/08/image_14082025_11_08_49_10415.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/07/image_14082025_11_07_58_9160.jpg /media/data/images/14082025/11/07/image_14082025_11_08_09_10700.jpg /media/data/images/14082025/11/08/image_14082025_11_08_19_10360.jpg /media/data/images/14082025/11/08/image_14082025_11_08_28_9131.jpg /media/data/images/14082025/11/08/image_14082025_11_08_39_10355.jpg /media/data/images/14082025/11/08/image_14082025_11_08_49_10415.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377090918","1377090914","1377090922","1377090925","1377090910","1377090904"],"photo_ids_order":["1377090904","1377090910","1377090914","1377090918","1377090922","1377090925"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ace2c5370548eda8d2c0ae521ea57b18.jpg","text":"TemporaryFile(/tmp/multipartBody5611187540427173854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195863215,"filename":"image_14082025_11_08_28_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f58900913273e21889ec2a8bfbfdbe51.jpg","text":"TemporaryFile(/tmp/multipartBody2707691100636588575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195863215,"filename":"image_14082025_11_08_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/038bb6c143f181120085d8e8d0aff577.jpg","text":"TemporaryFile(/tmp/multipartBody2855461640201322799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195863215,"filename":"image_14082025_11_08_39_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea882205b913431d43f84d816246c5a6.jpg","text":"TemporaryFile(/tmp/multipartBody2194073547357892897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195863215,"filename":"image_14082025_11_08_49_10415.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/481cc307cf2a5d0929abb4d93d52d048.jpg","text":"TemporaryFile(/tmp/multipartBody2571618910802012595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195863215,"filename":"image_14082025_11_08_09_10700.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/955ff671e8e253715be4c8181cecf04b.jpg","text":"TemporaryFile(/tmp/multipartBody5897010601143283377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195863215,"filename":"image_14082025_11_07_58_9160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090914","file1":"1377090910","file0":"1377090904","file4":"1377090922","file5":"1377090925","file3":"1377090918"},"map_files_photo_id_array":[{"photo_id":"1377090925","filename":"file5"},{"photo_id":"1377090914","filename":"file2"},{"photo_id":"1377090922","filename":"file4"},{"photo_id":"1377090910","filename":"file1"},{"photo_id":"1377090904","filename":"file0"},{"photo_id":"1377090918","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377090918":["hashtag1","hashtag2"]},{"1377090914":["hashtag1","hashtag2"]},{"1377090922":["hashtag1","hashtag2"]},{"1377090925":["hashtag1","hashtag2"]},{"1377090910":["hashtag1","hashtag2"]},{"1377090904":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377090918, 1377090914, 1377090922, 1377090925, 1377090910, 1377090904)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.003302812576294 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:24:22.330049 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/08/image_14082025_11_08_58_9147.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_09_10531.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_19_10397.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_28_9128.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_38_10313.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_49_10298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/08/image_14082025_11_08_58_9147.jpg /media/data/images/14082025/11/09/image_14082025_11_09_09_10531.jpg /media/data/images/14082025/11/09/image_14082025_11_09_19_10397.jpg /media/data/images/14082025/11/09/image_14082025_11_09_28_9128.jpg /media/data/images/14082025/11/09/image_14082025_11_09_38_10313.jpg /media/data/images/14082025/11/09/image_14082025_11_09_49_10298.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5852222442626953 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:24:42.316393 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/08/image_14082025_11_08_58_9147.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_09_10531.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_19_10397.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_28_9128.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_38_10313.jpg', '/media/data/images/14082025/11/09/image_14082025_11_09_49_10298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/08/image_14082025_11_08_58_9147.jpg /media/data/images/14082025/11/09/image_14082025_11_09_09_10531.jpg /media/data/images/14082025/11/09/image_14082025_11_09_19_10397.jpg /media/data/images/14082025/11/09/image_14082025_11_09_28_9128.jpg /media/data/images/14082025/11/09/image_14082025_11_09_38_10313.jpg /media/data/images/14082025/11/09/image_14082025_11_09_49_10298.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091034","1377090977","1377090997","1377090970","1377090973","1377090981"],"photo_ids_order":["1377090970","1377090973","1377090977","1377090981","1377090997","1377091034"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9cb9dbdebc85624aa502030f68dcbd6b.jpg","text":"TemporaryFile(/tmp/multipartBody1324252273401179991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195943248,"filename":"image_14082025_11_09_49_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ffb93599bf1ff009e4b7e5e1b3233a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7538768191905488682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195943248,"filename":"image_14082025_11_09_19_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c6227cb4b441b979fe9cf603ed090bb.jpg","text":"TemporaryFile(/tmp/multipartBody4459537913347710338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195943248,"filename":"image_14082025_11_09_38_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8518110c49c1cc1481cf8aa4f9874853.jpg","text":"TemporaryFile(/tmp/multipartBody6283458936570741318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195943248,"filename":"image_14082025_11_08_58_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bfed91d1423a25b974b73d85366e040d.jpg","text":"TemporaryFile(/tmp/multipartBody4730040050505067068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195943248,"filename":"image_14082025_11_09_09_10531.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1a7f0f6db4c0bc887accf31f7ba048d.jpg","text":"TemporaryFile(/tmp/multipartBody2092928493935723062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755195943248,"filename":"image_14082025_11_09_28_9128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377090977","file1":"1377090973","file0":"1377090970","file4":"1377090997","file5":"1377091034","file3":"1377090981"},"map_files_photo_id_array":[{"photo_id":"1377091034","filename":"file5"},{"photo_id":"1377090977","filename":"file2"},{"photo_id":"1377090997","filename":"file4"},{"photo_id":"1377090973","filename":"file1"},{"photo_id":"1377090970","filename":"file0"},{"photo_id":"1377090981","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091034":["hashtag1","hashtag2"]},{"1377090977":["hashtag1","hashtag2"]},{"1377090997":["hashtag1","hashtag2"]},{"1377090970":["hashtag1","hashtag2"]},{"1377090973":["hashtag1","hashtag2"]},{"1377090981":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091034, 1377090977, 1377090997, 1377090970, 1377090973, 1377090981)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.02961230278015 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:25:42.479703 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/09/image_14082025_11_09_59_10289.jpg', '/media/data/images/14082025/11/10/image_14082025_11_10_08_9121.jpg', '/media/data/images/14082025/11/10/image_14082025_11_10_19_10398.jpg', '/media/data/images/14082025/11/10/image_14082025_11_10_29_10413.jpg', '/media/data/images/14082025/11/10/image_14082025_11_10_38_9008.jpg', '/media/data/images/14082025/11/10/image_14082025_11_10_48_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/09/image_14082025_11_09_59_10289.jpg /media/data/images/14082025/11/10/image_14082025_11_10_08_9121.jpg /media/data/images/14082025/11/10/image_14082025_11_10_19_10398.jpg /media/data/images/14082025/11/10/image_14082025_11_10_29_10413.jpg /media/data/images/14082025/11/10/image_14082025_11_10_38_9008.jpg /media/data/images/14082025/11/10/image_14082025_11_10_48_10236.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091124","1377091118","1377091126","1377091135","1377091114","1377091122"],"photo_ids_order":["1377091114","1377091118","1377091122","1377091124","1377091126","1377091135"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/583646c2327f09a8c1a3ab6a834d6731.jpg","text":"TemporaryFile(/tmp/multipartBody8711708117093084302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196003520,"filename":"image_14082025_11_10_29_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5edd6a50e8f3aa37d82b04ea65f7028f.jpg","text":"TemporaryFile(/tmp/multipartBody1051301231667406282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196003520,"filename":"image_14082025_11_10_08_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81724fe530b2537f7a328c80399fcfae.jpg","text":"TemporaryFile(/tmp/multipartBody4382718335180941732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196003520,"filename":"image_14082025_11_10_38_9008.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb74f954ec4d5cddc9736e44ca7bf334.jpg","text":"TemporaryFile(/tmp/multipartBody2988067549712925834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196003520,"filename":"image_14082025_11_10_48_10236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1892001a95715cce83216e6a604b54dc.jpg","text":"TemporaryFile(/tmp/multipartBody767726454086678026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196003520,"filename":"image_14082025_11_09_59_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2cf345f36929c1477d0367b02dfa0087.jpg","text":"TemporaryFile(/tmp/multipartBody439037940949854466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196003520,"filename":"image_14082025_11_10_19_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091122","file1":"1377091118","file0":"1377091114","file4":"1377091126","file5":"1377091135","file3":"1377091124"},"map_files_photo_id_array":[{"photo_id":"1377091135","filename":"file5"},{"photo_id":"1377091122","filename":"file2"},{"photo_id":"1377091126","filename":"file4"},{"photo_id":"1377091118","filename":"file1"},{"photo_id":"1377091114","filename":"file0"},{"photo_id":"1377091124","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091124":["hashtag1","hashtag2"]},{"1377091118":["hashtag1","hashtag2"]},{"1377091126":["hashtag1","hashtag2"]},{"1377091135":["hashtag1","hashtag2"]},{"1377091114":["hashtag1","hashtag2"]},{"1377091122":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091124, 1377091118, 1377091126, 1377091135, 1377091114, 1377091122)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.118216037750244 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:26:42.573693 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/10/image_14082025_11_10_58_10233.jpg', '/media/data/images/14082025/11/11/image_14082025_11_11_28_9135.jpg', '/media/data/images/14082025/11/11/image_14082025_11_11_39_10353.jpg', '/media/data/images/14082025/11/11/image_14082025_11_11_49_10329.jpg', '/media/data/images/14082025/11/11/image_14082025_11_11_58_9026.jpg', '/media/data/images/14082025/11/12/image_14082025_11_12_19_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/10/image_14082025_11_10_58_10233.jpg /media/data/images/14082025/11/11/image_14082025_11_11_28_9135.jpg /media/data/images/14082025/11/11/image_14082025_11_11_39_10353.jpg /media/data/images/14082025/11/11/image_14082025_11_11_49_10329.jpg /media/data/images/14082025/11/11/image_14082025_11_11_58_9026.jpg /media/data/images/14082025/11/12/image_14082025_11_12_19_10339.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091166","1377091180","1377091174","1377091171","1377091168","1377091163"],"photo_ids_order":["1377091163","1377091166","1377091168","1377091171","1377091174","1377091180"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34e31e74072d740897ef60bc809648c3.jpg","text":"TemporaryFile(/tmp/multipartBody8536203771578433640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196063641,"filename":"image_14082025_11_11_28_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/423854749dab50c350a0021fd3f51dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1925327101536954765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196063641,"filename":"image_14082025_11_12_19_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e04ecf0a4cdf98d59adc049ee177e33.jpg","text":"TemporaryFile(/tmp/multipartBody8674453579788940495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196063641,"filename":"image_14082025_11_11_58_9026.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ef54b755aaa23463a46640759f5c971.jpg","text":"TemporaryFile(/tmp/multipartBody7518673405762533383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196063641,"filename":"image_14082025_11_11_49_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b72415805339890055881446db4a7f9c.jpg","text":"TemporaryFile(/tmp/multipartBody5969199247995635563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196063641,"filename":"image_14082025_11_11_39_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7652c58293fb5fab495a75170f173374.jpg","text":"TemporaryFile(/tmp/multipartBody4367216256638246267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196063641,"filename":"image_14082025_11_10_58_10233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091168","file1":"1377091166","file0":"1377091163","file4":"1377091174","file5":"1377091180","file3":"1377091171"},"map_files_photo_id_array":[{"photo_id":"1377091180","filename":"file5"},{"photo_id":"1377091168","filename":"file2"},{"photo_id":"1377091174","filename":"file4"},{"photo_id":"1377091166","filename":"file1"},{"photo_id":"1377091163","filename":"file0"},{"photo_id":"1377091171","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091166":["hashtag1","hashtag2"]},{"1377091180":["hashtag1","hashtag2"]},{"1377091174":["hashtag1","hashtag2"]},{"1377091171":["hashtag1","hashtag2"]},{"1377091168":["hashtag1","hashtag2"]},{"1377091163":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091166, 1377091180, 1377091174, 1377091171, 1377091168, 1377091163)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.23169445991516 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:27:42.681708 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/12/image_14082025_11_12_29_10281.jpg', '/media/data/images/14082025/11/12/image_14082025_11_12_38_9026.jpg', '/media/data/images/14082025/11/12/image_14082025_11_12_48_10225.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_08_9310.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_18_10366.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_29_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/12/image_14082025_11_12_29_10281.jpg /media/data/images/14082025/11/12/image_14082025_11_12_38_9026.jpg /media/data/images/14082025/11/12/image_14082025_11_12_48_10225.jpg /media/data/images/14082025/11/13/image_14082025_11_13_08_9310.jpg /media/data/images/14082025/11/13/image_14082025_11_13_18_10366.jpg /media/data/images/14082025/11/13/image_14082025_11_13_29_10348.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091205","1377091240","1377091272","1377091260","1377091242","1377091218"],"photo_ids_order":["1377091205","1377091218","1377091240","1377091242","1377091260","1377091272"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b295f42f574efe8cb03e2dc5078698c.jpg","text":"TemporaryFile(/tmp/multipartBody8581502208028569431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196123712,"filename":"image_14082025_11_12_29_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6f7c95c1d550dfc2a45c04f626f6324.jpg","text":"TemporaryFile(/tmp/multipartBody7613522645185044821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196123712,"filename":"image_14082025_11_12_48_10225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99f9f76566edb489dd10aa512b20099a.jpg","text":"TemporaryFile(/tmp/multipartBody1521890771940210268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196123712,"filename":"image_14082025_11_13_29_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca3caa0f59b26ab595a0e4f1c4823684.jpg","text":"TemporaryFile(/tmp/multipartBody6838553926250928230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196123712,"filename":"image_14082025_11_13_18_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/986febd83c63e4a3cb2afcfd77e34b10.jpg","text":"TemporaryFile(/tmp/multipartBody430965815352659872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196123712,"filename":"image_14082025_11_13_08_9310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0db9ffb0e09736478e2cc8385f2bb809.jpg","text":"TemporaryFile(/tmp/multipartBody4105279315073447075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196123712,"filename":"image_14082025_11_12_38_9026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091240","file1":"1377091218","file0":"1377091205","file4":"1377091260","file5":"1377091272","file3":"1377091242"},"map_files_photo_id_array":[{"photo_id":"1377091272","filename":"file5"},{"photo_id":"1377091240","filename":"file2"},{"photo_id":"1377091260","filename":"file4"},{"photo_id":"1377091218","filename":"file1"},{"photo_id":"1377091205","filename":"file0"},{"photo_id":"1377091242","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091205":["hashtag1","hashtag2"]},{"1377091240":["hashtag1","hashtag2"]},{"1377091272":["hashtag1","hashtag2"]},{"1377091260":["hashtag1","hashtag2"]},{"1377091242":["hashtag1","hashtag2"]},{"1377091218":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091205, 1377091240, 1377091272, 1377091260, 1377091242, 1377091218)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.32079744338989 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:28:41.776929 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/13/image_14082025_11_13_39_10236.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_48_9030.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_58_10251.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_08_10258.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_19_10345.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_28_9071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/13/image_14082025_11_13_39_10236.jpg /media/data/images/14082025/11/13/image_14082025_11_13_48_9030.jpg /media/data/images/14082025/11/13/image_14082025_11_13_58_10251.jpg /media/data/images/14082025/11/14/image_14082025_11_14_08_10258.jpg /media/data/images/14082025/11/14/image_14082025_11_14_19_10345.jpg /media/data/images/14082025/11/14/image_14082025_11_14_28_9071.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5773417949676514 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:29:03.052494 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/13/image_14082025_11_13_39_10236.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_48_9030.jpg', '/media/data/images/14082025/11/13/image_14082025_11_13_58_10251.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_08_10258.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_19_10345.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_28_9071.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/13/image_14082025_11_13_39_10236.jpg /media/data/images/14082025/11/13/image_14082025_11_13_48_9030.jpg /media/data/images/14082025/11/13/image_14082025_11_13_58_10251.jpg /media/data/images/14082025/11/14/image_14082025_11_14_08_10258.jpg /media/data/images/14082025/11/14/image_14082025_11_14_19_10345.jpg /media/data/images/14082025/11/14/image_14082025_11_14_28_9071.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091343","1377091328","1377091322","1377091333","1377091315","1377091350"],"photo_ids_order":["1377091315","1377091322","1377091328","1377091333","1377091343","1377091350"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/84456ad8c16a28b371dba666c42a0ae2.jpg","text":"TemporaryFile(/tmp/multipartBody249129539710534657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196204029,"filename":"image_14082025_11_14_19_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4a07135926a968b1b7bebb739a398b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4801183359885411879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196204029,"filename":"image_14082025_11_13_58_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d3947f750f94aae006457c61f4f21f9.jpg","text":"TemporaryFile(/tmp/multipartBody2516350273397785555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196204029,"filename":"image_14082025_11_13_48_9030.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63878bdcacaa9177ea38499ff553a27f.jpg","text":"TemporaryFile(/tmp/multipartBody2673600764746792678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196204029,"filename":"image_14082025_11_14_08_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc7bdc7885d73d6b14c4aa756c139f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8610112328253108533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196204029,"filename":"image_14082025_11_13_39_10236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/31eed10eb4c3a950d009a4c94d874afc.jpg","text":"TemporaryFile(/tmp/multipartBody527408384228778528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196204029,"filename":"image_14082025_11_14_28_9071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091328","file1":"1377091322","file0":"1377091315","file4":"1377091343","file5":"1377091350","file3":"1377091333"},"map_files_photo_id_array":[{"photo_id":"1377091350","filename":"file5"},{"photo_id":"1377091328","filename":"file2"},{"photo_id":"1377091343","filename":"file4"},{"photo_id":"1377091322","filename":"file1"},{"photo_id":"1377091315","filename":"file0"},{"photo_id":"1377091333","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091343":["hashtag1","hashtag2"]},{"1377091328":["hashtag1","hashtag2"]},{"1377091322":["hashtag1","hashtag2"]},{"1377091333":["hashtag1","hashtag2"]},{"1377091315":["hashtag1","hashtag2"]},{"1377091350":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091343, 1377091328, 1377091322, 1377091333, 1377091315, 1377091350)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.288575410842896 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:30:02.727686 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/14/image_14082025_11_14_38_10552.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_49_10263.jpg', '/media/data/images/14082025/11/14/image_14082025_11_14_59_10306.jpg', '/media/data/images/14082025/11/15/image_14082025_11_15_08_9215.jpg', '/media/data/images/14082025/11/15/image_14082025_11_15_19_10336.jpg', '/media/data/images/14082025/11/15/image_14082025_11_15_29_10276.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/14/image_14082025_11_14_38_10552.jpg /media/data/images/14082025/11/14/image_14082025_11_14_49_10263.jpg /media/data/images/14082025/11/14/image_14082025_11_14_59_10306.jpg /media/data/images/14082025/11/15/image_14082025_11_15_08_9215.jpg /media/data/images/14082025/11/15/image_14082025_11_15_19_10336.jpg /media/data/images/14082025/11/15/image_14082025_11_15_29_10276.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091484","1377091492","1377091495","1377091489","1377091480","1377091475"],"photo_ids_order":["1377091475","1377091480","1377091484","1377091489","1377091492","1377091495"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/928fbcd86d776a22509521d95f63e9bf.jpg","text":"TemporaryFile(/tmp/multipartBody6128170174609397728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196263741,"filename":"image_14082025_11_14_59_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93185bca8feba9dfb66717a4458ca979.jpg","text":"TemporaryFile(/tmp/multipartBody3063746132324180875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196263741,"filename":"image_14082025_11_15_19_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5aef0d6738666896446059ea1cc6b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody2592460810250512615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196263741,"filename":"image_14082025_11_15_29_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2636de22364f67f77994fbe33191e88d.jpg","text":"TemporaryFile(/tmp/multipartBody5744521451274894799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196263741,"filename":"image_14082025_11_15_08_9215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/551dd4afbe18a888c2997e055d62815a.jpg","text":"TemporaryFile(/tmp/multipartBody5470470562410952316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196263741,"filename":"image_14082025_11_14_49_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f4445fb788e9f642dab79534b897977.jpg","text":"TemporaryFile(/tmp/multipartBody7045118738829958630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196263741,"filename":"image_14082025_11_14_38_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091484","file1":"1377091480","file0":"1377091475","file4":"1377091492","file5":"1377091495","file3":"1377091489"},"map_files_photo_id_array":[{"photo_id":"1377091495","filename":"file5"},{"photo_id":"1377091484","filename":"file2"},{"photo_id":"1377091492","filename":"file4"},{"photo_id":"1377091480","filename":"file1"},{"photo_id":"1377091475","filename":"file0"},{"photo_id":"1377091489","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091484":["hashtag1","hashtag2"]},{"1377091492":["hashtag1","hashtag2"]},{"1377091495":["hashtag1","hashtag2"]},{"1377091489":["hashtag1","hashtag2"]},{"1377091480":["hashtag1","hashtag2"]},{"1377091475":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091484, 1377091492, 1377091495, 1377091489, 1377091480, 1377091475)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.641732692718506 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:31:02.907280 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/15/image_14082025_11_15_38_9027.jpg', '/media/data/images/14082025/11/15/image_14082025_11_15_48_10367.jpg', '/media/data/images/14082025/11/15/image_14082025_11_15_59_10360.jpg', '/media/data/images/14082025/11/16/image_14082025_11_16_08_9384.jpg', '/media/data/images/14082025/11/16/image_14082025_11_16_18_10303.jpg', '/media/data/images/14082025/11/16/image_14082025_11_16_39_10289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/15/image_14082025_11_15_38_9027.jpg /media/data/images/14082025/11/15/image_14082025_11_15_48_10367.jpg /media/data/images/14082025/11/15/image_14082025_11_15_59_10360.jpg /media/data/images/14082025/11/16/image_14082025_11_16_08_9384.jpg /media/data/images/14082025/11/16/image_14082025_11_16_18_10303.jpg /media/data/images/14082025/11/16/image_14082025_11_16_39_10289.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091531","1377091525","1377091557","1377091560","1377091536","1377091553"],"photo_ids_order":["1377091525","1377091531","1377091536","1377091553","1377091557","1377091560"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93816f907e389ecaeeeb2a20895ef120.jpg","text":"TemporaryFile(/tmp/multipartBody3804479979394447256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196324023,"filename":"image_14082025_11_15_48_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c627a4a404b703dcda966c63edd81c87.jpg","text":"TemporaryFile(/tmp/multipartBody5119615882824992095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196324023,"filename":"image_14082025_11_15_38_9027.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/120851717c71ba9a6aecafa4a5edcc62.jpg","text":"TemporaryFile(/tmp/multipartBody637901411393356853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196324023,"filename":"image_14082025_11_16_18_10303.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4746397ddfc580bab2599248b41e5c31.jpg","text":"TemporaryFile(/tmp/multipartBody501640403733441223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196324023,"filename":"image_14082025_11_16_39_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1017129d8b34b8d138198331a0874b57.jpg","text":"TemporaryFile(/tmp/multipartBody8099971204533506277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196324023,"filename":"image_14082025_11_15_59_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2474739f57b611192b4758eb29aff67.jpg","text":"TemporaryFile(/tmp/multipartBody6584560683537594842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196324023,"filename":"image_14082025_11_16_08_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091536","file1":"1377091531","file0":"1377091525","file4":"1377091557","file5":"1377091560","file3":"1377091553"},"map_files_photo_id_array":[{"photo_id":"1377091560","filename":"file5"},{"photo_id":"1377091536","filename":"file2"},{"photo_id":"1377091557","filename":"file4"},{"photo_id":"1377091531","filename":"file1"},{"photo_id":"1377091525","filename":"file0"},{"photo_id":"1377091553","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091531":["hashtag1","hashtag2"]},{"1377091525":["hashtag1","hashtag2"]},{"1377091557":["hashtag1","hashtag2"]},{"1377091560":["hashtag1","hashtag2"]},{"1377091536":["hashtag1","hashtag2"]},{"1377091553":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091531, 1377091525, 1377091557, 1377091560, 1377091536, 1377091553)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.85320830345154 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:32:02.893493 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/16/image_14082025_11_16_48_9040.jpg', '/media/data/images/14082025/11/16/image_14082025_11_16_58_10292.jpg', '/media/data/images/14082025/11/17/image_14082025_11_17_39_10411.jpg', '/media/data/images/14082025/11/17/image_14082025_11_17_49_10430.jpg', '/media/data/images/14082025/11/17/image_14082025_11_17_58_9137.jpg', '/media/data/images/14082025/11/18/image_14082025_11_18_09_10502.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/16/image_14082025_11_16_48_9040.jpg /media/data/images/14082025/11/16/image_14082025_11_16_58_10292.jpg /media/data/images/14082025/11/17/image_14082025_11_17_39_10411.jpg /media/data/images/14082025/11/17/image_14082025_11_17_49_10430.jpg /media/data/images/14082025/11/17/image_14082025_11_17_58_9137.jpg /media/data/images/14082025/11/18/image_14082025_11_18_09_10502.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091808","1377091798","1377091783","1377091794","1377091803","1377091751"],"photo_ids_order":["1377091751","1377091783","1377091794","1377091798","1377091803","1377091808"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4fdf681cc4bbb7f5e8fed8dac8023c10.jpg","text":"TemporaryFile(/tmp/multipartBody8869488164444018336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196383939,"filename":"image_14082025_11_18_09_10502.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9ba2e78d3d5796ecb603cdcc4a45db1.jpg","text":"TemporaryFile(/tmp/multipartBody7517695688621811057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196383939,"filename":"image_14082025_11_17_49_10430.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a41506803822be495b69b3b177c4a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6164384465758342596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196383939,"filename":"image_14082025_11_16_58_10292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a288b36302b11f377fff818d928a606d.jpg","text":"TemporaryFile(/tmp/multipartBody4695699886997736427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196383939,"filename":"image_14082025_11_17_39_10411.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fcaa64a272d5c11080f7b9a060af5f05.jpg","text":"TemporaryFile(/tmp/multipartBody2846611282664529666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196383939,"filename":"image_14082025_11_17_58_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc2af970cc6223ed5c15251c7fcfd5f0.jpg","text":"TemporaryFile(/tmp/multipartBody7259493636952744405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196383939,"filename":"image_14082025_11_16_48_9040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091794","file1":"1377091783","file0":"1377091751","file4":"1377091803","file5":"1377091808","file3":"1377091798"},"map_files_photo_id_array":[{"photo_id":"1377091808","filename":"file5"},{"photo_id":"1377091794","filename":"file2"},{"photo_id":"1377091803","filename":"file4"},{"photo_id":"1377091783","filename":"file1"},{"photo_id":"1377091751","filename":"file0"},{"photo_id":"1377091798","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091808":["hashtag1","hashtag2"]},{"1377091798":["hashtag1","hashtag2"]},{"1377091783":["hashtag1","hashtag2"]},{"1377091794":["hashtag1","hashtag2"]},{"1377091803":["hashtag1","hashtag2"]},{"1377091751":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091808, 1377091798, 1377091783, 1377091794, 1377091803, 1377091751)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.411237716674805 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:33:03.386878 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/18/image_14082025_11_18_18_9208.jpg', '/media/data/images/14082025/11/18/image_14082025_11_18_39_10392.jpg', '/media/data/images/14082025/11/18/image_14082025_11_18_48_9224.jpg', '/media/data/images/14082025/11/19/image_14082025_11_19_18_9118.jpg', '/media/data/images/14082025/11/19/image_14082025_11_19_39_10475.jpg', '/media/data/images/14082025/11/20/image_14082025_11_20_39_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/18/image_14082025_11_18_18_9208.jpg /media/data/images/14082025/11/18/image_14082025_11_18_39_10392.jpg /media/data/images/14082025/11/18/image_14082025_11_18_48_9224.jpg /media/data/images/14082025/11/19/image_14082025_11_19_18_9118.jpg /media/data/images/14082025/11/19/image_14082025_11_19_39_10475.jpg /media/data/images/14082025/11/20/image_14082025_11_20_39_10350.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377091978","1377092002","1377091974","1377092019","1377091950","1377092054"],"photo_ids_order":["1377091950","1377091974","1377091978","1377092002","1377092019","1377092054"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea9191e1a60da6f36df42c0b7f5f176a.jpg","text":"TemporaryFile(/tmp/multipartBody8881698724871781528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196444388,"filename":"image_14082025_11_18_48_9224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2f5d665cb17f6818486a2fffcc3ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody5775125144640190392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196444388,"filename":"image_14082025_11_19_18_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1516402aa670abb5225e2c64219b18f4.jpg","text":"TemporaryFile(/tmp/multipartBody4676712945980501041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196444388,"filename":"image_14082025_11_18_39_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34be90881fe76c67d36abd84f5ab6536.jpg","text":"TemporaryFile(/tmp/multipartBody4255962991102420907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196444388,"filename":"image_14082025_11_19_39_10475.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e434b544422e04cc2d7385a13fc35571.jpg","text":"TemporaryFile(/tmp/multipartBody5221338703056844789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196444388,"filename":"image_14082025_11_18_18_9208.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0be540e838e4846009f5288ff4a93c9b.jpg","text":"TemporaryFile(/tmp/multipartBody576495977349349933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196444388,"filename":"image_14082025_11_20_39_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377091978","file1":"1377091974","file0":"1377091950","file4":"1377092019","file5":"1377092054","file3":"1377092002"},"map_files_photo_id_array":[{"photo_id":"1377092054","filename":"file5"},{"photo_id":"1377091978","filename":"file2"},{"photo_id":"1377092019","filename":"file4"},{"photo_id":"1377091974","filename":"file1"},{"photo_id":"1377091950","filename":"file0"},{"photo_id":"1377092002","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377091978":["hashtag1","hashtag2"]},{"1377092002":["hashtag1","hashtag2"]},{"1377091974":["hashtag1","hashtag2"]},{"1377092019":["hashtag1","hashtag2"]},{"1377091950":["hashtag1","hashtag2"]},{"1377092054":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377091978, 1377092002, 1377091974, 1377092019, 1377091950, 1377092054)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.52270317077637 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:34:03.335149 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/21/image_14082025_11_21_19_10444.jpg', '/media/data/images/14082025/11/21/image_14082025_11_21_49_10368.jpg', '/media/data/images/14082025/11/21/image_14082025_11_22_08_10502.jpg', '/media/data/images/14082025/11/22/image_14082025_11_22_19_10376.jpg', '/media/data/images/14082025/11/22/image_14082025_11_22_58_9102.jpg', '/media/data/images/14082025/11/22/image_14082025_11_23_08_10536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/21/image_14082025_11_21_19_10444.jpg /media/data/images/14082025/11/21/image_14082025_11_21_49_10368.jpg /media/data/images/14082025/11/21/image_14082025_11_22_08_10502.jpg /media/data/images/14082025/11/22/image_14082025_11_22_19_10376.jpg /media/data/images/14082025/11/22/image_14082025_11_22_58_9102.jpg /media/data/images/14082025/11/22/image_14082025_11_23_08_10536.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5638344287872314 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:34:22.531959 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/21/image_14082025_11_21_19_10444.jpg', '/media/data/images/14082025/11/21/image_14082025_11_21_49_10368.jpg', '/media/data/images/14082025/11/21/image_14082025_11_22_08_10502.jpg', '/media/data/images/14082025/11/22/image_14082025_11_22_19_10376.jpg', '/media/data/images/14082025/11/22/image_14082025_11_22_58_9102.jpg', '/media/data/images/14082025/11/22/image_14082025_11_23_08_10536.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/21/image_14082025_11_21_19_10444.jpg /media/data/images/14082025/11/21/image_14082025_11_21_49_10368.jpg /media/data/images/14082025/11/21/image_14082025_11_22_08_10502.jpg /media/data/images/14082025/11/22/image_14082025_11_22_19_10376.jpg /media/data/images/14082025/11/22/image_14082025_11_22_58_9102.jpg /media/data/images/14082025/11/22/image_14082025_11_23_08_10536.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377092272","1377092257","1377092280","1377092262","1377092267","1377092276"],"photo_ids_order":["1377092257","1377092262","1377092267","1377092272","1377092276","1377092280"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5dcf859b559df51751a56e9afee58a13.jpg","text":"TemporaryFile(/tmp/multipartBody213727424323035755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196523443,"filename":"image_14082025_11_22_19_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5f944e1fd5329ba1690e8626375846f.jpg","text":"TemporaryFile(/tmp/multipartBody7319736856827374525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196523443,"filename":"image_14082025_11_21_19_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/648018d1872ca055fc20f3597c7372f5.jpg","text":"TemporaryFile(/tmp/multipartBody6144025248000046879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196523443,"filename":"image_14082025_11_23_08_10536.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51b08a516de8cea7cb763a1ca70fb7bd.jpg","text":"TemporaryFile(/tmp/multipartBody3969143356215964831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196523443,"filename":"image_14082025_11_21_49_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c58ef3382d2360bc847933562dc1ca75.jpg","text":"TemporaryFile(/tmp/multipartBody2719307271904310648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196523443,"filename":"image_14082025_11_22_08_10502.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c3ae8c1bf2f566ff9ad0e045eabf456.jpg","text":"TemporaryFile(/tmp/multipartBody7549416458446832799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196523443,"filename":"image_14082025_11_22_58_9102.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377092267","file1":"1377092262","file0":"1377092257","file4":"1377092276","file5":"1377092280","file3":"1377092272"},"map_files_photo_id_array":[{"photo_id":"1377092280","filename":"file5"},{"photo_id":"1377092267","filename":"file2"},{"photo_id":"1377092276","filename":"file4"},{"photo_id":"1377092262","filename":"file1"},{"photo_id":"1377092257","filename":"file0"},{"photo_id":"1377092272","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377092272":["hashtag1","hashtag2"]},{"1377092257":["hashtag1","hashtag2"]},{"1377092280":["hashtag1","hashtag2"]},{"1377092262":["hashtag1","hashtag2"]},{"1377092267":["hashtag1","hashtag2"]},{"1377092276":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377092272, 1377092257, 1377092280, 1377092262, 1377092267, 1377092276)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.77922773361206 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:35:22.672070 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/23/image_14082025_11_23_19_10390.jpg', '/media/data/images/14082025/11/23/image_14082025_11_23_28_9180.jpg', '/media/data/images/14082025/11/23/image_14082025_11_23_38_10328.jpg', '/media/data/images/14082025/11/23/image_14082025_11_23_49_10355.jpg', '/media/data/images/14082025/11/23/image_14082025_11_23_59_10360.jpg', '/media/data/images/14082025/11/24/image_14082025_11_24_08_9301.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/23/image_14082025_11_23_19_10390.jpg /media/data/images/14082025/11/23/image_14082025_11_23_28_9180.jpg /media/data/images/14082025/11/23/image_14082025_11_23_38_10328.jpg /media/data/images/14082025/11/23/image_14082025_11_23_49_10355.jpg /media/data/images/14082025/11/23/image_14082025_11_23_59_10360.jpg /media/data/images/14082025/11/24/image_14082025_11_24_08_9301.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377092460","1377092430","1377092396","1377092354","1377092297","1377092321"],"photo_ids_order":["1377092297","1377092321","1377092354","1377092396","1377092430","1377092460"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d38664fd47a78c255119f1058361e866.jpg","text":"TemporaryFile(/tmp/multipartBody4433316002805279968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196583680,"filename":"image_14082025_11_24_08_9301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16834d45986736bb16b19ecfebc8d3e5.jpg","text":"TemporaryFile(/tmp/multipartBody6867249935776046798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196583680,"filename":"image_14082025_11_23_59_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d53ba9bf9800c4dae768ffd0c99672a.jpg","text":"TemporaryFile(/tmp/multipartBody1916471065654586774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196583680,"filename":"image_14082025_11_23_49_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc03d25ec784644fa0b433bc4b15ef93.jpg","text":"TemporaryFile(/tmp/multipartBody433324003072419511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196583680,"filename":"image_14082025_11_23_38_10328.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0e40ca72532ed9355408b6b5ff2f43a.jpg","text":"TemporaryFile(/tmp/multipartBody895517250930931003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196583680,"filename":"image_14082025_11_23_19_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d8ab9eedb73e6c2fe4dbc21d4f80d312.jpg","text":"TemporaryFile(/tmp/multipartBody3543482587893159306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196583680,"filename":"image_14082025_11_23_28_9180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377092354","file1":"1377092321","file0":"1377092297","file4":"1377092430","file5":"1377092460","file3":"1377092396"},"map_files_photo_id_array":[{"photo_id":"1377092460","filename":"file5"},{"photo_id":"1377092354","filename":"file2"},{"photo_id":"1377092430","filename":"file4"},{"photo_id":"1377092321","filename":"file1"},{"photo_id":"1377092297","filename":"file0"},{"photo_id":"1377092396","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377092460":["hashtag1","hashtag2"]},{"1377092430":["hashtag1","hashtag2"]},{"1377092396":["hashtag1","hashtag2"]},{"1377092354":["hashtag1","hashtag2"]},{"1377092297":["hashtag1","hashtag2"]},{"1377092321":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377092460, 1377092430, 1377092396, 1377092354, 1377092297, 1377092321)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.73003363609314 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:36:22.720120 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/24/image_14082025_11_24_19_10357.jpg', '/media/data/images/14082025/11/24/image_14082025_11_24_29_10327.jpg', '/media/data/images/14082025/11/24/image_14082025_11_24_38_9122.jpg', '/media/data/images/14082025/11/24/image_14082025_11_24_48_10383.jpg', '/media/data/images/14082025/11/24/image_14082025_11_24_59_10325.jpg', '/media/data/images/14082025/11/25/image_14082025_11_25_08_9298.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/24/image_14082025_11_24_19_10357.jpg /media/data/images/14082025/11/24/image_14082025_11_24_29_10327.jpg /media/data/images/14082025/11/24/image_14082025_11_24_38_9122.jpg /media/data/images/14082025/11/24/image_14082025_11_24_48_10383.jpg /media/data/images/14082025/11/24/image_14082025_11_24_59_10325.jpg /media/data/images/14082025/11/25/image_14082025_11_25_08_9298.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377092773","1377092767","1377092770","1377092709","1377092765","1377092747"],"photo_ids_order":["1377092709","1377092747","1377092765","1377092767","1377092770","1377092773"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8620db6f4532e83cfd6a4fe612935b8.jpg","text":"TemporaryFile(/tmp/multipartBody3981460139672847338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196643686,"filename":"image_14082025_11_25_08_9298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdd6a3ea6b50c3189cc42faff0491c34.jpg","text":"TemporaryFile(/tmp/multipartBody5400855893697995952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196643686,"filename":"image_14082025_11_24_48_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1390af1e73d9a18531884705e258a92.jpg","text":"TemporaryFile(/tmp/multipartBody1997825558856297016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196643686,"filename":"image_14082025_11_24_59_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/198e489e1885fba620f567f197eb76ab.jpg","text":"TemporaryFile(/tmp/multipartBody8090674393595159248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196643686,"filename":"image_14082025_11_24_19_10357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe66bea00650097416c75734866f023a.jpg","text":"TemporaryFile(/tmp/multipartBody2713633170128312095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196643686,"filename":"image_14082025_11_24_38_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d4ca99fa73c8ec55576e8e8c85fb821.jpg","text":"TemporaryFile(/tmp/multipartBody6041646321898922832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196643686,"filename":"image_14082025_11_24_29_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377092765","file1":"1377092747","file0":"1377092709","file4":"1377092770","file5":"1377092773","file3":"1377092767"},"map_files_photo_id_array":[{"photo_id":"1377092773","filename":"file5"},{"photo_id":"1377092765","filename":"file2"},{"photo_id":"1377092770","filename":"file4"},{"photo_id":"1377092747","filename":"file1"},{"photo_id":"1377092709","filename":"file0"},{"photo_id":"1377092767","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377092773":["hashtag1","hashtag2"]},{"1377092767":["hashtag1","hashtag2"]},{"1377092770":["hashtag1","hashtag2"]},{"1377092709":["hashtag1","hashtag2"]},{"1377092765":["hashtag1","hashtag2"]},{"1377092747":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377092773, 1377092767, 1377092770, 1377092709, 1377092765, 1377092747)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.977864027023315 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:37:21.861933 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/25/image_14082025_11_25_18_10325.jpg', '/media/data/images/14082025/11/25/image_14082025_11_25_29_10338.jpg', '/media/data/images/14082025/11/25/image_14082025_11_25_38_9126.jpg', '/media/data/images/14082025/11/25/image_14082025_11_25_48_10397.jpg', '/media/data/images/14082025/11/25/image_14082025_11_25_59_10435.jpg', '/media/data/images/14082025/11/26/image_14082025_11_26_08_9194.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/25/image_14082025_11_25_18_10325.jpg /media/data/images/14082025/11/25/image_14082025_11_25_29_10338.jpg /media/data/images/14082025/11/25/image_14082025_11_25_38_9126.jpg /media/data/images/14082025/11/25/image_14082025_11_25_48_10397.jpg /media/data/images/14082025/11/25/image_14082025_11_25_59_10435.jpg /media/data/images/14082025/11/26/image_14082025_11_26_08_9194.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377092956","1377093007","1377092923","1377092987","1377092888","1377092852"],"photo_ids_order":["1377092852","1377092888","1377092923","1377092956","1377092987","1377093007"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37d09f9a281a9fe31be120d741592b48.jpg","text":"TemporaryFile(/tmp/multipartBody8644520944804060083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196702858,"filename":"image_14082025_11_25_48_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7705c64746edda509c447161ef46fe1.jpg","text":"TemporaryFile(/tmp/multipartBody600531367096804032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196702858,"filename":"image_14082025_11_26_08_9194.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/051a8e25684e235b83b59aa31ac78554.jpg","text":"TemporaryFile(/tmp/multipartBody182945466532393393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196702858,"filename":"image_14082025_11_25_38_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd8301f2aa1c36d6f0c2f0f3e3d40e90.jpg","text":"TemporaryFile(/tmp/multipartBody5712272591691286537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196702858,"filename":"image_14082025_11_25_59_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/731d204e1da493711c50269ef1dfa805.jpg","text":"TemporaryFile(/tmp/multipartBody1963456492189875597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196702858,"filename":"image_14082025_11_25_29_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2e98ec7af9a0517c8efb35bc41a5f91a.jpg","text":"TemporaryFile(/tmp/multipartBody3630178555244856575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196702858,"filename":"image_14082025_11_25_18_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377092923","file1":"1377092888","file0":"1377092852","file4":"1377092987","file5":"1377093007","file3":"1377092956"},"map_files_photo_id_array":[{"photo_id":"1377093007","filename":"file5"},{"photo_id":"1377092923","filename":"file2"},{"photo_id":"1377092987","filename":"file4"},{"photo_id":"1377092888","filename":"file1"},{"photo_id":"1377092852","filename":"file0"},{"photo_id":"1377092956","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377092956":["hashtag1","hashtag2"]},{"1377093007":["hashtag1","hashtag2"]},{"1377092923":["hashtag1","hashtag2"]},{"1377092987":["hashtag1","hashtag2"]},{"1377092888":["hashtag1","hashtag2"]},{"1377092852":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377092956, 1377093007, 1377092923, 1377092987, 1377092888, 1377092852)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.97040891647339 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:38:21.991177 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/26/image_14082025_11_26_18_10436.jpg', '/media/data/images/14082025/11/26/image_14082025_11_26_29_10316.jpg', '/media/data/images/14082025/11/26/image_14082025_11_26_39_10280.jpg', '/media/data/images/14082025/11/26/image_14082025_11_26_48_9405.jpg', '/media/data/images/14082025/11/26/image_14082025_11_26_59_10433.jpg', '/media/data/images/14082025/11/27/image_14082025_11_27_09_10133.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/26/image_14082025_11_26_18_10436.jpg /media/data/images/14082025/11/26/image_14082025_11_26_29_10316.jpg /media/data/images/14082025/11/26/image_14082025_11_26_39_10280.jpg /media/data/images/14082025/11/26/image_14082025_11_26_48_9405.jpg /media/data/images/14082025/11/26/image_14082025_11_26_59_10433.jpg /media/data/images/14082025/11/27/image_14082025_11_27_09_10133.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377093319","1377093354","1377093441","1377093389","1377093422","1377093283"],"photo_ids_order":["1377093283","1377093319","1377093354","1377093389","1377093422","1377093441"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e508ff454fa3bc24cf22ea2376690870.jpg","text":"TemporaryFile(/tmp/multipartBody1418532874924836200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196763051,"filename":"image_14082025_11_26_29_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/940003d13ed3e16bd88c70f46d6c41c6.jpg","text":"TemporaryFile(/tmp/multipartBody14047187904533493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196763051,"filename":"image_14082025_11_26_39_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e77d4055a5bf618e09028bc756402e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1740672115692119831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196763051,"filename":"image_14082025_11_27_09_10133.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/930913501ab9d19afe88004c57402895.jpg","text":"TemporaryFile(/tmp/multipartBody3477423238234883016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196763051,"filename":"image_14082025_11_26_48_9405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cba682d8aaa6a415d783591a19b30473.jpg","text":"TemporaryFile(/tmp/multipartBody2326741799792010882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196763051,"filename":"image_14082025_11_26_59_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9892b82f79d7426a02f1d4cb807bc4b7.jpg","text":"TemporaryFile(/tmp/multipartBody7339474714522225783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196763051,"filename":"image_14082025_11_26_18_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377093354","file1":"1377093319","file0":"1377093283","file4":"1377093422","file5":"1377093441","file3":"1377093389"},"map_files_photo_id_array":[{"photo_id":"1377093441","filename":"file5"},{"photo_id":"1377093354","filename":"file2"},{"photo_id":"1377093422","filename":"file4"},{"photo_id":"1377093319","filename":"file1"},{"photo_id":"1377093283","filename":"file0"},{"photo_id":"1377093389","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377093319":["hashtag1","hashtag2"]},{"1377093354":["hashtag1","hashtag2"]},{"1377093441":["hashtag1","hashtag2"]},{"1377093389":["hashtag1","hashtag2"]},{"1377093422":["hashtag1","hashtag2"]},{"1377093283":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377093319, 1377093354, 1377093441, 1377093389, 1377093422, 1377093283)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.81097435951233 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:39:22.102935 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/27/image_14082025_11_27_18_9034.jpg', '/media/data/images/14082025/11/27/image_14082025_11_27_28_10367.jpg', '/media/data/images/14082025/11/27/image_14082025_11_27_39_10257.jpg', '/media/data/images/14082025/11/27/image_14082025_11_27_49_10312.jpg', '/media/data/images/14082025/11/27/image_14082025_11_27_58_9079.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_08_10420.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/27/image_14082025_11_27_18_9034.jpg /media/data/images/14082025/11/27/image_14082025_11_27_28_10367.jpg /media/data/images/14082025/11/27/image_14082025_11_27_39_10257.jpg /media/data/images/14082025/11/27/image_14082025_11_27_49_10312.jpg /media/data/images/14082025/11/27/image_14082025_11_27_58_9079.jpg /media/data/images/14082025/11/28/image_14082025_11_28_08_10420.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377093693","1377093712","1377093657","1377093837","1377093743","1377093781"],"photo_ids_order":["1377093657","1377093693","1377093712","1377093743","1377093781","1377093837"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee00643b8206f1196c3181679e47ab37.jpg","text":"TemporaryFile(/tmp/multipartBody6777782169155279114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196823173,"filename":"image_14082025_11_27_28_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/444036e6a1a370a3f9ef6a5d7ec89415.jpg","text":"TemporaryFile(/tmp/multipartBody4429186487611839002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196823173,"filename":"image_14082025_11_27_39_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9823cda3d5fa6aa8c36091870847688.jpg","text":"TemporaryFile(/tmp/multipartBody2031807780600127306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196823173,"filename":"image_14082025_11_27_18_9034.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0477666bbda1bc6113cc950d5760fde9.jpg","text":"TemporaryFile(/tmp/multipartBody1092817539533546710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196823173,"filename":"image_14082025_11_28_08_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/144fd7cd8cd1b9daa40b054f9c7d71cd.jpg","text":"TemporaryFile(/tmp/multipartBody6915594997674770843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196823173,"filename":"image_14082025_11_27_49_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fc32797cf156a5504965f7d315c3929.jpg","text":"TemporaryFile(/tmp/multipartBody5516782589468700356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196823173,"filename":"image_14082025_11_27_58_9079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377093712","file1":"1377093693","file0":"1377093657","file4":"1377093781","file5":"1377093837","file3":"1377093743"},"map_files_photo_id_array":[{"photo_id":"1377093837","filename":"file5"},{"photo_id":"1377093712","filename":"file2"},{"photo_id":"1377093781","filename":"file4"},{"photo_id":"1377093693","filename":"file1"},{"photo_id":"1377093657","filename":"file0"},{"photo_id":"1377093743","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377093693":["hashtag1","hashtag2"]},{"1377093712":["hashtag1","hashtag2"]},{"1377093657":["hashtag1","hashtag2"]},{"1377093837":["hashtag1","hashtag2"]},{"1377093743":["hashtag1","hashtag2"]},{"1377093781":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377093693, 1377093712, 1377093657, 1377093837, 1377093743, 1377093781)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.74012494087219 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:40:22.260100 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/28/image_14082025_11_28_19_10312.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_29_10302.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_38_9094.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_48_10278.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_59_10271.jpg', '/media/data/images/14082025/11/29/image_14082025_11_29_09_10261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/28/image_14082025_11_28_19_10312.jpg /media/data/images/14082025/11/28/image_14082025_11_28_29_10302.jpg /media/data/images/14082025/11/28/image_14082025_11_28_38_9094.jpg /media/data/images/14082025/11/28/image_14082025_11_28_48_10278.jpg /media/data/images/14082025/11/28/image_14082025_11_28_59_10271.jpg /media/data/images/14082025/11/29/image_14082025_11_29_09_10261.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6250007152557373 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:40:42.220824 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/28/image_14082025_11_28_19_10312.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_29_10302.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_38_9094.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_48_10278.jpg', '/media/data/images/14082025/11/28/image_14082025_11_28_59_10271.jpg', '/media/data/images/14082025/11/29/image_14082025_11_29_09_10261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/28/image_14082025_11_28_19_10312.jpg /media/data/images/14082025/11/28/image_14082025_11_28_29_10302.jpg /media/data/images/14082025/11/28/image_14082025_11_28_38_9094.jpg /media/data/images/14082025/11/28/image_14082025_11_28_48_10278.jpg /media/data/images/14082025/11/28/image_14082025_11_28_59_10271.jpg /media/data/images/14082025/11/29/image_14082025_11_29_09_10261.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094266","1377094269","1377094260","1377094230","1377094264","1377094222"],"photo_ids_order":["1377094222","1377094230","1377094260","1377094264","1377094266","1377094269"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/222895bc6bab961540ad36459dff9fb1.jpg","text":"TemporaryFile(/tmp/multipartBody655313174087624337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196903152,"filename":"image_14082025_11_28_59_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d8cc681662f5ee8035b0dc85bdeb7f3.jpg","text":"TemporaryFile(/tmp/multipartBody698572577453461276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196903152,"filename":"image_14082025_11_29_09_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/511a06be3272390f422fb2c5b7bf27a6.jpg","text":"TemporaryFile(/tmp/multipartBody391532376683314983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196903152,"filename":"image_14082025_11_28_38_9094.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49f93b450ca41699beb4fbc069fd0ef2.jpg","text":"TemporaryFile(/tmp/multipartBody3654422812931568175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196903152,"filename":"image_14082025_11_28_29_10302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c20de117c2b552650df7821d331340c.jpg","text":"TemporaryFile(/tmp/multipartBody8932140006414736708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196903152,"filename":"image_14082025_11_28_48_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80c78b7631e3fec733673658c24b5302.jpg","text":"TemporaryFile(/tmp/multipartBody7221258694076326891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196903152,"filename":"image_14082025_11_28_19_10312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094260","file1":"1377094230","file0":"1377094222","file4":"1377094266","file5":"1377094269","file3":"1377094264"},"map_files_photo_id_array":[{"photo_id":"1377094269","filename":"file5"},{"photo_id":"1377094260","filename":"file2"},{"photo_id":"1377094266","filename":"file4"},{"photo_id":"1377094230","filename":"file1"},{"photo_id":"1377094222","filename":"file0"},{"photo_id":"1377094264","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094266":["hashtag1","hashtag2"]},{"1377094269":["hashtag1","hashtag2"]},{"1377094260":["hashtag1","hashtag2"]},{"1377094230":["hashtag1","hashtag2"]},{"1377094264":["hashtag1","hashtag2"]},{"1377094222":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094266, 1377094269, 1377094260, 1377094230, 1377094264, 1377094222)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.56691098213196 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:41:42.343554 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/29/image_14082025_11_29_18_9065.jpg', '/media/data/images/14082025/11/29/image_14082025_11_29_28_10277.jpg', '/media/data/images/14082025/11/29/image_14082025_11_29_39_10281.jpg', '/media/data/images/14082025/11/29/image_14082025_11_29_49_10345.jpg', '/media/data/images/14082025/11/29/image_14082025_11_29_58_9078.jpg', '/media/data/images/14082025/11/30/image_14082025_11_30_09_10988.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/29/image_14082025_11_29_18_9065.jpg /media/data/images/14082025/11/29/image_14082025_11_29_28_10277.jpg /media/data/images/14082025/11/29/image_14082025_11_29_39_10281.jpg /media/data/images/14082025/11/29/image_14082025_11_29_49_10345.jpg /media/data/images/14082025/11/29/image_14082025_11_29_58_9078.jpg /media/data/images/14082025/11/30/image_14082025_11_30_09_10988.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094315","1377094326","1377094320","1377094323","1377094316","1377094318"],"photo_ids_order":["1377094315","1377094316","1377094318","1377094320","1377094323","1377094326"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2d3608aba45158ce3142493ac4f24f4.jpg","text":"TemporaryFile(/tmp/multipartBody1599661142085065578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196963415,"filename":"image_14082025_11_29_18_9065.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/986dffcf50baf8532ec391be2bd35bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1336682156538369925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196963415,"filename":"image_14082025_11_30_09_10988.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b9744f8e539c80af2094ef3312b7773.jpg","text":"TemporaryFile(/tmp/multipartBody6624436021367223624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196963415,"filename":"image_14082025_11_29_49_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87566ef0a5d7a7224900494ca90ad65b.jpg","text":"TemporaryFile(/tmp/multipartBody7497203046844155848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196963415,"filename":"image_14082025_11_29_58_9078.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d73238b728b613c282eeaa75e2baccd.jpg","text":"TemporaryFile(/tmp/multipartBody6123956342456447690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196963415,"filename":"image_14082025_11_29_28_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8f018b98183f183500d82ec2faec9ef.jpg","text":"TemporaryFile(/tmp/multipartBody1675747173760637751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755196963415,"filename":"image_14082025_11_29_39_10281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094318","file1":"1377094316","file0":"1377094315","file4":"1377094323","file5":"1377094326","file3":"1377094320"},"map_files_photo_id_array":[{"photo_id":"1377094326","filename":"file5"},{"photo_id":"1377094318","filename":"file2"},{"photo_id":"1377094323","filename":"file4"},{"photo_id":"1377094316","filename":"file1"},{"photo_id":"1377094315","filename":"file0"},{"photo_id":"1377094320","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094315":["hashtag1","hashtag2"]},{"1377094326":["hashtag1","hashtag2"]},{"1377094320":["hashtag1","hashtag2"]},{"1377094323":["hashtag1","hashtag2"]},{"1377094316":["hashtag1","hashtag2"]},{"1377094318":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094315, 1377094326, 1377094320, 1377094323, 1377094316, 1377094318)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.7806293964386 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:42:42.435874 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/30/image_14082025_11_30_18_9197.jpg', '/media/data/images/14082025/11/30/image_14082025_11_30_29_10314.jpg', '/media/data/images/14082025/11/30/image_14082025_11_30_39_10468.jpg', '/media/data/images/14082025/11/30/image_14082025_11_30_48_9109.jpg', '/media/data/images/14082025/11/30/image_14082025_11_30_58_10336.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_09_10534.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/30/image_14082025_11_30_18_9197.jpg /media/data/images/14082025/11/30/image_14082025_11_30_29_10314.jpg /media/data/images/14082025/11/30/image_14082025_11_30_39_10468.jpg /media/data/images/14082025/11/30/image_14082025_11_30_48_9109.jpg /media/data/images/14082025/11/30/image_14082025_11_30_58_10336.jpg /media/data/images/14082025/11/31/image_14082025_11_31_09_10534.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094432","1377094398","1377094365","1377094338","1377094340","1377094336"],"photo_ids_order":["1377094336","1377094338","1377094340","1377094365","1377094398","1377094432"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6bb01848b320ee5cbcd6583c6a15527.jpg","text":"TemporaryFile(/tmp/multipartBody5121916342222890466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197023470,"filename":"image_14082025_11_31_09_10534.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/817c21c269162c6947ced100dbfd13e2.jpg","text":"TemporaryFile(/tmp/multipartBody8558122635195671656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197023470,"filename":"image_14082025_11_30_58_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66fab44e1da4f5500b3d86de7b51af29.jpg","text":"TemporaryFile(/tmp/multipartBody1410185919098805789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197023470,"filename":"image_14082025_11_30_48_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b8b69b28b844676571a840fb2887035.jpg","text":"TemporaryFile(/tmp/multipartBody7626345046700109762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197023470,"filename":"image_14082025_11_30_29_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59c632b28663d38418bee8ce19bad160.jpg","text":"TemporaryFile(/tmp/multipartBody4887906854398268121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197023470,"filename":"image_14082025_11_30_39_10468.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5788471cd3da5d8038f8f6d6985301a.jpg","text":"TemporaryFile(/tmp/multipartBody8217767884713435030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197023470,"filename":"image_14082025_11_30_18_9197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094340","file1":"1377094338","file0":"1377094336","file4":"1377094398","file5":"1377094432","file3":"1377094365"},"map_files_photo_id_array":[{"photo_id":"1377094432","filename":"file5"},{"photo_id":"1377094340","filename":"file2"},{"photo_id":"1377094398","filename":"file4"},{"photo_id":"1377094338","filename":"file1"},{"photo_id":"1377094336","filename":"file0"},{"photo_id":"1377094365","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094432":["hashtag1","hashtag2"]},{"1377094398":["hashtag1","hashtag2"]},{"1377094365":["hashtag1","hashtag2"]},{"1377094338":["hashtag1","hashtag2"]},{"1377094340":["hashtag1","hashtag2"]},{"1377094336":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094432, 1377094398, 1377094365, 1377094338, 1377094340, 1377094336)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.24355721473694 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:43:42.514265 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/31/image_14082025_11_31_18_9152.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_29_10450.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_39_10418.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_48_9135.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_58_10321.jpg', '/media/data/images/14082025/11/32/image_14082025_11_32_09_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/31/image_14082025_11_31_18_9152.jpg /media/data/images/14082025/11/31/image_14082025_11_31_29_10450.jpg /media/data/images/14082025/11/31/image_14082025_11_31_39_10418.jpg /media/data/images/14082025/11/31/image_14082025_11_31_48_9135.jpg /media/data/images/14082025/11/31/image_14082025_11_31_58_10321.jpg /media/data/images/14082025/11/32/image_14082025_11_32_09_10393.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.547696590423584 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:44:03.432497 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/31/image_14082025_11_31_18_9152.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_29_10450.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_39_10418.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_48_9135.jpg', '/media/data/images/14082025/11/31/image_14082025_11_31_58_10321.jpg', '/media/data/images/14082025/11/32/image_14082025_11_32_09_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/31/image_14082025_11_31_18_9152.jpg /media/data/images/14082025/11/31/image_14082025_11_31_29_10450.jpg /media/data/images/14082025/11/31/image_14082025_11_31_39_10418.jpg /media/data/images/14082025/11/31/image_14082025_11_31_48_9135.jpg /media/data/images/14082025/11/31/image_14082025_11_31_58_10321.jpg /media/data/images/14082025/11/32/image_14082025_11_32_09_10393.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094632","1377094634","1377094628","1377094637","1377094622","1377094639"],"photo_ids_order":["1377094622","1377094628","1377094632","1377094634","1377094637","1377094639"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/034fce75f3b025dfbddc6cada3261227.jpg","text":"TemporaryFile(/tmp/multipartBody4464236433276956003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197104334,"filename":"image_14082025_11_31_39_10418.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f6feb769e457fe6a9931eb85cecde74.jpg","text":"TemporaryFile(/tmp/multipartBody2272405919279461685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197104334,"filename":"image_14082025_11_31_48_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c249736cc6aa0001769c2ca1e563a18f.jpg","text":"TemporaryFile(/tmp/multipartBody1896813498961967436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197104334,"filename":"image_14082025_11_31_29_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8341a15ee8a394ba2b2f877bd574ecd1.jpg","text":"TemporaryFile(/tmp/multipartBody2337376569977407177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197104334,"filename":"image_14082025_11_31_58_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e259f226b93614e917a8f720ef57b07d.jpg","text":"TemporaryFile(/tmp/multipartBody1076812530079682887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197104334,"filename":"image_14082025_11_31_18_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a10982bfb3b41c6eac42adb7ff885f21.jpg","text":"TemporaryFile(/tmp/multipartBody9074222958959465487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197104334,"filename":"image_14082025_11_32_09_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094632","file1":"1377094628","file0":"1377094622","file4":"1377094637","file5":"1377094639","file3":"1377094634"},"map_files_photo_id_array":[{"photo_id":"1377094639","filename":"file5"},{"photo_id":"1377094632","filename":"file2"},{"photo_id":"1377094637","filename":"file4"},{"photo_id":"1377094628","filename":"file1"},{"photo_id":"1377094622","filename":"file0"},{"photo_id":"1377094634","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094632":["hashtag1","hashtag2"]},{"1377094634":["hashtag1","hashtag2"]},{"1377094628":["hashtag1","hashtag2"]},{"1377094637":["hashtag1","hashtag2"]},{"1377094622":["hashtag1","hashtag2"]},{"1377094639":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094632, 1377094634, 1377094628, 1377094637, 1377094622, 1377094639)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.34213733673096 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:45:03.717924 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/32/image_14082025_11_32_18_9111.jpg', '/media/data/images/14082025/11/32/image_14082025_11_32_28_10372.jpg', '/media/data/images/14082025/11/32/image_14082025_11_32_39_10502.jpg', '/media/data/images/14082025/11/32/image_14082025_11_32_48_9130.jpg', '/media/data/images/14082025/11/32/image_14082025_11_32_58_10359.jpg', '/media/data/images/14082025/11/33/image_14082025_11_33_08_10201.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/32/image_14082025_11_32_18_9111.jpg /media/data/images/14082025/11/32/image_14082025_11_32_28_10372.jpg /media/data/images/14082025/11/32/image_14082025_11_32_39_10502.jpg /media/data/images/14082025/11/32/image_14082025_11_32_48_9130.jpg /media/data/images/14082025/11/32/image_14082025_11_32_58_10359.jpg /media/data/images/14082025/11/33/image_14082025_11_33_08_10201.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094671","1377094659","1377094667","1377094655","1377094663","1377094660"],"photo_ids_order":["1377094655","1377094659","1377094660","1377094663","1377094667","1377094671"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ccb1dd43652095b86bd29af783d23377.jpg","text":"TemporaryFile(/tmp/multipartBody7636690161887302531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197164781,"filename":"image_14082025_11_33_08_10201.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b204021cfbbfb4d0d979fad414ba8a5.jpg","text":"TemporaryFile(/tmp/multipartBody361866183810332049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197164781,"filename":"image_14082025_11_32_28_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5bac0d93c1ad8b535ec386afb541f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8729905688344127346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197164781,"filename":"image_14082025_11_32_58_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8c518b94d3efd9ba817786fbd1f55ae.jpg","text":"TemporaryFile(/tmp/multipartBody1738897273196124823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197164781,"filename":"image_14082025_11_32_18_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f66c5adb0ca0b8def6529fda683c4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4261264950214006422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197164781,"filename":"image_14082025_11_32_48_9130.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67ea911cc7e70060a957f2b9b1320c08.jpg","text":"TemporaryFile(/tmp/multipartBody2767162670435298760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197164781,"filename":"image_14082025_11_32_39_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094660","file1":"1377094659","file0":"1377094655","file4":"1377094667","file5":"1377094671","file3":"1377094663"},"map_files_photo_id_array":[{"photo_id":"1377094671","filename":"file5"},{"photo_id":"1377094660","filename":"file2"},{"photo_id":"1377094667","filename":"file4"},{"photo_id":"1377094659","filename":"file1"},{"photo_id":"1377094655","filename":"file0"},{"photo_id":"1377094663","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094671":["hashtag1","hashtag2"]},{"1377094659":["hashtag1","hashtag2"]},{"1377094667":["hashtag1","hashtag2"]},{"1377094655":["hashtag1","hashtag2"]},{"1377094663":["hashtag1","hashtag2"]},{"1377094660":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094671, 1377094659, 1377094667, 1377094655, 1377094663, 1377094660)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.757505893707275 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:46:02.506325 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/33/image_14082025_11_33_19_10335.jpg', '/media/data/images/14082025/11/33/image_14082025_11_33_28_9101.jpg', '/media/data/images/14082025/11/33/image_14082025_11_33_38_10351.jpg', '/media/data/images/14082025/11/33/image_14082025_11_33_49_10334.jpg', '/media/data/images/14082025/11/33/image_14082025_11_33_59_10349.jpg', '/media/data/images/14082025/11/34/image_14082025_11_34_08_8992.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/33/image_14082025_11_33_19_10335.jpg /media/data/images/14082025/11/33/image_14082025_11_33_28_9101.jpg /media/data/images/14082025/11/33/image_14082025_11_33_38_10351.jpg /media/data/images/14082025/11/33/image_14082025_11_33_49_10334.jpg /media/data/images/14082025/11/33/image_14082025_11_33_59_10349.jpg /media/data/images/14082025/11/34/image_14082025_11_34_08_8992.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094692","1377094686","1377094689","1377094682","1377094700","1377094735"],"photo_ids_order":["1377094682","1377094686","1377094689","1377094692","1377094700","1377094735"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69706bc944e6ddc3f3bc705c71504a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7970310385082443181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197223545,"filename":"image_14082025_11_33_49_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b99124f0bb01e18acb6b9b8dc0eae201.jpg","text":"TemporaryFile(/tmp/multipartBody7953032114973278698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197223545,"filename":"image_14082025_11_33_28_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b20687430a4ebc60eb66c67b546d607c.jpg","text":"TemporaryFile(/tmp/multipartBody3455579615311633154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197223545,"filename":"image_14082025_11_33_38_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/efc42ca4864f8c9cad5b54aeaac11097.jpg","text":"TemporaryFile(/tmp/multipartBody6857963601089321771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197223545,"filename":"image_14082025_11_33_19_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a48b2b9d3af7ac916281eed501e4e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4530829882289421707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197223545,"filename":"image_14082025_11_33_59_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27adcfd9a4f63103ff070ab702aabad1.jpg","text":"TemporaryFile(/tmp/multipartBody4532770760872534479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197223545,"filename":"image_14082025_11_34_08_8992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094689","file1":"1377094686","file0":"1377094682","file4":"1377094700","file5":"1377094735","file3":"1377094692"},"map_files_photo_id_array":[{"photo_id":"1377094735","filename":"file5"},{"photo_id":"1377094689","filename":"file2"},{"photo_id":"1377094700","filename":"file4"},{"photo_id":"1377094686","filename":"file1"},{"photo_id":"1377094682","filename":"file0"},{"photo_id":"1377094692","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094692":["hashtag1","hashtag2"]},{"1377094686":["hashtag1","hashtag2"]},{"1377094689":["hashtag1","hashtag2"]},{"1377094682":["hashtag1","hashtag2"]},{"1377094700":["hashtag1","hashtag2"]},{"1377094735":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094692, 1377094686, 1377094689, 1377094682, 1377094700, 1377094735)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.19699287414551 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:47:02.854746 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/34/image_14082025_11_34_18_10276.jpg', '/media/data/images/14082025/11/34/image_14082025_11_34_29_10441.jpg', '/media/data/images/14082025/11/34/image_14082025_11_34_39_10287.jpg', '/media/data/images/14082025/11/34/image_14082025_11_34_48_9087.jpg', '/media/data/images/14082025/11/34/image_14082025_11_34_58_10257.jpg', '/media/data/images/14082025/11/35/image_14082025_11_35_08_10190.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/34/image_14082025_11_34_18_10276.jpg /media/data/images/14082025/11/34/image_14082025_11_34_29_10441.jpg /media/data/images/14082025/11/34/image_14082025_11_34_39_10287.jpg /media/data/images/14082025/11/34/image_14082025_11_34_48_9087.jpg /media/data/images/14082025/11/34/image_14082025_11_34_58_10257.jpg /media/data/images/14082025/11/35/image_14082025_11_35_08_10190.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377094977","1377094881","1377094944","1377094993","1377094910","1377094888"],"photo_ids_order":["1377094881","1377094888","1377094910","1377094944","1377094977","1377094993"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/252639a9736940f39b97fcdcb96028df.jpg","text":"TemporaryFile(/tmp/multipartBody4382988014460481172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197283954,"filename":"image_14082025_11_34_58_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e38dda4edc899e437fd24a669b00c5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7191165952361232079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197283954,"filename":"image_14082025_11_34_18_10276.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/408c8662700339b3bb8a3860120cda88.jpg","text":"TemporaryFile(/tmp/multipartBody3259100745975157386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197283954,"filename":"image_14082025_11_34_48_9087.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff3a8b8fd55263b3097bffa761a763e0.jpg","text":"TemporaryFile(/tmp/multipartBody1053033658984185957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197283954,"filename":"image_14082025_11_35_08_10190.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/378205c1fad3fe0f97c0bb75cba7e32f.jpg","text":"TemporaryFile(/tmp/multipartBody4273849072349786891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197283954,"filename":"image_14082025_11_34_39_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4dcf1d3f86b6a4b82a3fc6d36be07d8.jpg","text":"TemporaryFile(/tmp/multipartBody3139286171453438620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197283954,"filename":"image_14082025_11_34_29_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377094910","file1":"1377094888","file0":"1377094881","file4":"1377094977","file5":"1377094993","file3":"1377094944"},"map_files_photo_id_array":[{"photo_id":"1377094993","filename":"file5"},{"photo_id":"1377094910","filename":"file2"},{"photo_id":"1377094977","filename":"file4"},{"photo_id":"1377094888","filename":"file1"},{"photo_id":"1377094881","filename":"file0"},{"photo_id":"1377094944","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377094977":["hashtag1","hashtag2"]},{"1377094881":["hashtag1","hashtag2"]},{"1377094944":["hashtag1","hashtag2"]},{"1377094993":["hashtag1","hashtag2"]},{"1377094910":["hashtag1","hashtag2"]},{"1377094888":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377094977, 1377094881, 1377094944, 1377094993, 1377094910, 1377094888)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.90357732772827 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:48:02.692469 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/35/image_14082025_11_35_19_10283.jpg', '/media/data/images/14082025/11/35/image_14082025_11_35_29_10267.jpg', '/media/data/images/14082025/11/35/image_14082025_11_35_38_9039.jpg', '/media/data/images/14082025/11/35/image_14082025_11_35_48_10343.jpg', '/media/data/images/14082025/11/35/image_14082025_11_35_59_10297.jpg', '/media/data/images/14082025/11/36/image_14082025_11_36_09_10213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/35/image_14082025_11_35_19_10283.jpg /media/data/images/14082025/11/35/image_14082025_11_35_29_10267.jpg /media/data/images/14082025/11/35/image_14082025_11_35_38_9039.jpg /media/data/images/14082025/11/35/image_14082025_11_35_48_10343.jpg /media/data/images/14082025/11/35/image_14082025_11_35_59_10297.jpg /media/data/images/14082025/11/36/image_14082025_11_36_09_10213.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095151","1377095154","1377095148","1377095141","1377095144","1377095110"],"photo_ids_order":["1377095110","1377095141","1377095144","1377095148","1377095151","1377095154"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb97b6a26d6fb65d7ebd8f2238039f62.jpg","text":"TemporaryFile(/tmp/multipartBody503383780412145481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197343761,"filename":"image_14082025_11_35_59_10297.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/706293fd64ed44f0c8f8350ec67bee16.jpg","text":"TemporaryFile(/tmp/multipartBody9142341407320177660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197343761,"filename":"image_14082025_11_36_09_10213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18d6b26707324bdf097feb2ccea4be41.jpg","text":"TemporaryFile(/tmp/multipartBody4948659578408657117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197343761,"filename":"image_14082025_11_35_48_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d3cdd333c857a9e5c112ec194f61d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3573614766499242204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197343761,"filename":"image_14082025_11_35_29_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0b827ee69386d06e03b92bee57e78ca.jpg","text":"TemporaryFile(/tmp/multipartBody7109110978364802745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197343761,"filename":"image_14082025_11_35_38_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/500db2cdec122d048f3267414773d2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1311476822049615074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197343761,"filename":"image_14082025_11_35_19_10283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095144","file1":"1377095141","file0":"1377095110","file4":"1377095151","file5":"1377095154","file3":"1377095148"},"map_files_photo_id_array":[{"photo_id":"1377095154","filename":"file5"},{"photo_id":"1377095144","filename":"file2"},{"photo_id":"1377095151","filename":"file4"},{"photo_id":"1377095141","filename":"file1"},{"photo_id":"1377095110","filename":"file0"},{"photo_id":"1377095148","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095151":["hashtag1","hashtag2"]},{"1377095154":["hashtag1","hashtag2"]},{"1377095148":["hashtag1","hashtag2"]},{"1377095141":["hashtag1","hashtag2"]},{"1377095144":["hashtag1","hashtag2"]},{"1377095110":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095151, 1377095154, 1377095148, 1377095141, 1377095144, 1377095110)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.29037594795227 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:49:03.231522 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/36/image_14082025_11_36_18_9108.jpg', '/media/data/images/14082025/11/36/image_14082025_11_36_28_10288.jpg', '/media/data/images/14082025/11/36/image_14082025_11_36_39_10428.jpg', '/media/data/images/14082025/11/36/image_14082025_11_36_58_10385.jpg', '/media/data/images/14082025/11/37/image_14082025_11_37_09_10295.jpg', '/media/data/images/14082025/11/37/image_14082025_11_37_19_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/36/image_14082025_11_36_18_9108.jpg /media/data/images/14082025/11/36/image_14082025_11_36_28_10288.jpg /media/data/images/14082025/11/36/image_14082025_11_36_39_10428.jpg /media/data/images/14082025/11/36/image_14082025_11_36_58_10385.jpg /media/data/images/14082025/11/37/image_14082025_11_37_09_10295.jpg /media/data/images/14082025/11/37/image_14082025_11_37_19_10266.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095166","1377095226","1377095169","1377095192","1377095294","1377095260"],"photo_ids_order":["1377095166","1377095169","1377095192","1377095226","1377095260","1377095294"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9495c8deae964a95d55e29ea6f9f033b.jpg","text":"TemporaryFile(/tmp/multipartBody6604109897716760669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197404334,"filename":"image_14082025_11_36_18_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e048491259af1915a5841a02be193de2.jpg","text":"TemporaryFile(/tmp/multipartBody134430878975513246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197404334,"filename":"image_14082025_11_36_58_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e8bb8440a81d9caf6b0467722fa030c.jpg","text":"TemporaryFile(/tmp/multipartBody214026500342559214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197404334,"filename":"image_14082025_11_36_28_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c390b9a387bf37324841f46d2b1b66d.jpg","text":"TemporaryFile(/tmp/multipartBody5482646173261894094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197404334,"filename":"image_14082025_11_36_39_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80148110d0aaf91974f4d7e34a739a08.jpg","text":"TemporaryFile(/tmp/multipartBody6581947144130736580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197404334,"filename":"image_14082025_11_37_19_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b9376f8b5bcd4f313f3b88af1c408bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2176558479220141758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197404334,"filename":"image_14082025_11_37_09_10295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095192","file1":"1377095169","file0":"1377095166","file4":"1377095260","file5":"1377095294","file3":"1377095226"},"map_files_photo_id_array":[{"photo_id":"1377095294","filename":"file5"},{"photo_id":"1377095192","filename":"file2"},{"photo_id":"1377095260","filename":"file4"},{"photo_id":"1377095169","filename":"file1"},{"photo_id":"1377095166","filename":"file0"},{"photo_id":"1377095226","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095166":["hashtag1","hashtag2"]},{"1377095226":["hashtag1","hashtag2"]},{"1377095169":["hashtag1","hashtag2"]},{"1377095192":["hashtag1","hashtag2"]},{"1377095294":["hashtag1","hashtag2"]},{"1377095260":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095166, 1377095226, 1377095169, 1377095192, 1377095294, 1377095260)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.95560646057129 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:50:02.876939 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/37/image_14082025_11_37_28_9039.jpg', '/media/data/images/14082025/11/37/image_14082025_11_37_38_10393.jpg', '/media/data/images/14082025/11/37/image_14082025_11_37_49_10330.jpg', '/media/data/images/14082025/11/37/image_14082025_11_37_59_10273.jpg', '/media/data/images/14082025/11/38/image_14082025_11_38_08_9079.jpg', '/media/data/images/14082025/11/38/image_14082025_11_38_19_10625.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/37/image_14082025_11_37_28_9039.jpg /media/data/images/14082025/11/37/image_14082025_11_37_38_10393.jpg /media/data/images/14082025/11/37/image_14082025_11_37_49_10330.jpg /media/data/images/14082025/11/37/image_14082025_11_37_59_10273.jpg /media/data/images/14082025/11/38/image_14082025_11_38_08_9079.jpg /media/data/images/14082025/11/38/image_14082025_11_38_19_10625.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095453","1377095414","1377095488","1377095426","1377095428","1377095484"],"photo_ids_order":["1377095414","1377095426","1377095428","1377095453","1377095484","1377095488"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef4b602562fc5a5980b816474a93a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody136616534681798232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197463973,"filename":"image_14082025_11_37_59_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1eabc936f4bff6862843e77fba12310.jpg","text":"TemporaryFile(/tmp/multipartBody5152455112398731485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197463973,"filename":"image_14082025_11_37_28_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2abe60f5e5b7584338b5ce5a01fcf1b.jpg","text":"TemporaryFile(/tmp/multipartBody5838205447946262536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197463973,"filename":"image_14082025_11_38_19_10625.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b00cd3a9542c757be9ca662d4f55a023.jpg","text":"TemporaryFile(/tmp/multipartBody3614227480018307653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197463973,"filename":"image_14082025_11_37_38_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c58b4812f953b3b5dc338a93704f77f5.jpg","text":"TemporaryFile(/tmp/multipartBody6032814258844461636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197463973,"filename":"image_14082025_11_37_49_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c09a45dabe99173abadd222b63a1961.jpg","text":"TemporaryFile(/tmp/multipartBody377750928220422867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197463973,"filename":"image_14082025_11_38_08_9079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095428","file1":"1377095426","file0":"1377095414","file4":"1377095484","file5":"1377095488","file3":"1377095453"},"map_files_photo_id_array":[{"photo_id":"1377095488","filename":"file5"},{"photo_id":"1377095428","filename":"file2"},{"photo_id":"1377095484","filename":"file4"},{"photo_id":"1377095426","filename":"file1"},{"photo_id":"1377095414","filename":"file0"},{"photo_id":"1377095453","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095453":["hashtag1","hashtag2"]},{"1377095414":["hashtag1","hashtag2"]},{"1377095488":["hashtag1","hashtag2"]},{"1377095426":["hashtag1","hashtag2"]},{"1377095428":["hashtag1","hashtag2"]},{"1377095484":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095453, 1377095414, 1377095488, 1377095426, 1377095428, 1377095484)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.12548494338989 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:51:03.247830 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/38/image_14082025_11_38_29_10286.jpg', '/media/data/images/14082025/11/38/image_14082025_11_38_38_9030.jpg', '/media/data/images/14082025/11/38/image_14082025_11_38_48_10344.jpg', '/media/data/images/14082025/11/38/image_14082025_11_38_59_10287.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_09_10316.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_18_9278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/38/image_14082025_11_38_29_10286.jpg /media/data/images/14082025/11/38/image_14082025_11_38_38_9030.jpg /media/data/images/14082025/11/38/image_14082025_11_38_48_10344.jpg /media/data/images/14082025/11/38/image_14082025_11_38_59_10287.jpg /media/data/images/14082025/11/39/image_14082025_11_39_09_10316.jpg /media/data/images/14082025/11/39/image_14082025_11_39_18_9278.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095505","1377095508","1377095513","1377095501","1377095510","1377095515"],"photo_ids_order":["1377095501","1377095505","1377095508","1377095510","1377095513","1377095515"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a6e18a5378c992308cd5844ce3b87469.jpg","text":"TemporaryFile(/tmp/multipartBody7103074888621968005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197528139,"filename":"image_14082025_11_38_38_9030.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/399fed10a5ff9ef28d1ade41c15f87de.jpg","text":"TemporaryFile(/tmp/multipartBody6458355379557617880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197528139,"filename":"image_14082025_11_38_48_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4777b54b1346aae5812ed512540ba87.jpg","text":"TemporaryFile(/tmp/multipartBody8379674661435527360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197528139,"filename":"image_14082025_11_39_09_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff8a11287a922540d9765c87cdca07e2.jpg","text":"TemporaryFile(/tmp/multipartBody5235279442461964003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197528139,"filename":"image_14082025_11_38_29_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ffa7754d237654f512a3364945dd7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3053949604453314689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197528139,"filename":"image_14082025_11_38_59_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cfb1bc4dc95969f8d7b2c96cd72215f5.jpg","text":"TemporaryFile(/tmp/multipartBody3955618868150610912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197528139,"filename":"image_14082025_11_39_18_9278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095508","file1":"1377095505","file0":"1377095501","file4":"1377095513","file5":"1377095515","file3":"1377095510"},"map_files_photo_id_array":[{"photo_id":"1377095515","filename":"file5"},{"photo_id":"1377095508","filename":"file2"},{"photo_id":"1377095513","filename":"file4"},{"photo_id":"1377095505","filename":"file1"},{"photo_id":"1377095501","filename":"file0"},{"photo_id":"1377095510","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095505":["hashtag1","hashtag2"]},{"1377095508":["hashtag1","hashtag2"]},{"1377095513":["hashtag1","hashtag2"]},{"1377095501":["hashtag1","hashtag2"]},{"1377095510":["hashtag1","hashtag2"]},{"1377095515":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095505, 1377095508, 1377095513, 1377095501, 1377095510, 1377095515)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 45.2859570980072 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:52:03.281174 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/39/image_14082025_11_39_28_10267.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_39_10370.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_48_9079.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_58_10287.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_08_10251.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_19_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/39/image_14082025_11_39_28_10267.jpg /media/data/images/14082025/11/39/image_14082025_11_39_39_10370.jpg /media/data/images/14082025/11/39/image_14082025_11_39_48_9079.jpg /media/data/images/14082025/11/39/image_14082025_11_39_58_10287.jpg /media/data/images/14082025/11/40/image_14082025_11_40_08_10251.jpg /media/data/images/14082025/11/40/image_14082025_11_40_19_10339.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6054794788360596 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:52:22.567951 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/39/image_14082025_11_39_28_10267.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_39_10370.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_48_9079.jpg', '/media/data/images/14082025/11/39/image_14082025_11_39_58_10287.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_08_10251.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_19_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/39/image_14082025_11_39_28_10267.jpg /media/data/images/14082025/11/39/image_14082025_11_39_39_10370.jpg /media/data/images/14082025/11/39/image_14082025_11_39_48_9079.jpg /media/data/images/14082025/11/39/image_14082025_11_39_58_10287.jpg /media/data/images/14082025/11/40/image_14082025_11_40_08_10251.jpg /media/data/images/14082025/11/40/image_14082025_11_40_19_10339.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095640","1377095637","1377095619","1377095633","1377095624","1377095629"],"photo_ids_order":["1377095619","1377095624","1377095629","1377095633","1377095637","1377095640"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6b2fc6e19a077a7196eb99fe91e582c.jpg","text":"TemporaryFile(/tmp/multipartBody2215236935806273764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197603587,"filename":"image_14082025_11_40_19_10339.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f6440c8694b73c2b89f01763d36204cd.jpg","text":"TemporaryFile(/tmp/multipartBody6195378095332816312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197603587,"filename":"image_14082025_11_40_08_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d9f8cd114a0df872a9afb5dab862919.jpg","text":"TemporaryFile(/tmp/multipartBody1347390468516183875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197603587,"filename":"image_14082025_11_39_28_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b1cc52bccd2f802b59b31c52913ced1a.jpg","text":"TemporaryFile(/tmp/multipartBody5426218823353187233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197603587,"filename":"image_14082025_11_39_58_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70830766dbf32b870a33968df063c36a.jpg","text":"TemporaryFile(/tmp/multipartBody4964802631648749652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197603587,"filename":"image_14082025_11_39_39_10370.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ad87742f9084bfbae90a750c588bc5c9.jpg","text":"TemporaryFile(/tmp/multipartBody596493297146281649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197603587,"filename":"image_14082025_11_39_48_9079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095629","file1":"1377095624","file0":"1377095619","file4":"1377095637","file5":"1377095640","file3":"1377095633"},"map_files_photo_id_array":[{"photo_id":"1377095640","filename":"file5"},{"photo_id":"1377095629","filename":"file2"},{"photo_id":"1377095637","filename":"file4"},{"photo_id":"1377095624","filename":"file1"},{"photo_id":"1377095619","filename":"file0"},{"photo_id":"1377095633","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095640":["hashtag1","hashtag2"]},{"1377095637":["hashtag1","hashtag2"]},{"1377095619":["hashtag1","hashtag2"]},{"1377095633":["hashtag1","hashtag2"]},{"1377095624":["hashtag1","hashtag2"]},{"1377095629":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095640, 1377095637, 1377095619, 1377095633, 1377095624, 1377095629)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.47793364524841 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:53:22.625714 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/40/image_14082025_11_40_29_10264.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_38_9129.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_48_10266.jpg', '/media/data/images/14082025/11/40/image_14082025_11_40_59_10249.jpg', '/media/data/images/14082025/11/41/image_14082025_11_41_09_10166.jpg', '/media/data/images/14082025/11/41/image_14082025_11_41_18_9109.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/40/image_14082025_11_40_29_10264.jpg /media/data/images/14082025/11/40/image_14082025_11_40_38_9129.jpg /media/data/images/14082025/11/40/image_14082025_11_40_48_10266.jpg /media/data/images/14082025/11/40/image_14082025_11_40_59_10249.jpg /media/data/images/14082025/11/41/image_14082025_11_41_09_10166.jpg /media/data/images/14082025/11/41/image_14082025_11_41_18_9109.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095658","1377095663","1377095666","1377095660","1377095668","1377095656"],"photo_ids_order":["1377095656","1377095658","1377095660","1377095663","1377095666","1377095668"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b99dfd15d83a3e753c17daeb7f2cc06.jpg","text":"TemporaryFile(/tmp/multipartBody638310258584202111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197663710,"filename":"image_14082025_11_40_38_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d275ba10852b1b623845019aaf377332.jpg","text":"TemporaryFile(/tmp/multipartBody4740460689002336323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197663710,"filename":"image_14082025_11_40_59_10249.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/35718b44c19577e766449961f4baca28.jpg","text":"TemporaryFile(/tmp/multipartBody1206143890217072551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197663710,"filename":"image_14082025_11_41_09_10166.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/617d53ea945ec797589a83ac3ac24ec9.jpg","text":"TemporaryFile(/tmp/multipartBody6070685910321154371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197663710,"filename":"image_14082025_11_40_48_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/476e788911b9c67eaba6b3dce391bca2.jpg","text":"TemporaryFile(/tmp/multipartBody6900332442076031923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197663710,"filename":"image_14082025_11_41_18_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a437f24733b2c3f49729b5e994f3c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2985576685510333658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197663710,"filename":"image_14082025_11_40_29_10264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095660","file1":"1377095658","file0":"1377095656","file4":"1377095666","file5":"1377095668","file3":"1377095663"},"map_files_photo_id_array":[{"photo_id":"1377095668","filename":"file5"},{"photo_id":"1377095660","filename":"file2"},{"photo_id":"1377095666","filename":"file4"},{"photo_id":"1377095658","filename":"file1"},{"photo_id":"1377095656","filename":"file0"},{"photo_id":"1377095663","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095658":["hashtag1","hashtag2"]},{"1377095663":["hashtag1","hashtag2"]},{"1377095666":["hashtag1","hashtag2"]},{"1377095660":["hashtag1","hashtag2"]},{"1377095668":["hashtag1","hashtag2"]},{"1377095656":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095658, 1377095663, 1377095666, 1377095660, 1377095668, 1377095656)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.68629860877991 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:54:22.767343 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/41/image_14082025_11_41_28_10283.jpg', '/media/data/images/14082025/11/41/image_14082025_11_41_38_10274.jpg', '/media/data/images/14082025/11/41/image_14082025_11_41_49_10331.jpg', '/media/data/images/14082025/11/41/image_14082025_11_41_58_9124.jpg', '/media/data/images/14082025/11/41/image_14082025_11_42_09_10656.jpg', '/media/data/images/14082025/11/42/image_14082025_11_42_19_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/41/image_14082025_11_41_28_10283.jpg /media/data/images/14082025/11/41/image_14082025_11_41_38_10274.jpg /media/data/images/14082025/11/41/image_14082025_11_41_49_10331.jpg /media/data/images/14082025/11/41/image_14082025_11_41_58_9124.jpg /media/data/images/14082025/11/41/image_14082025_11_42_09_10656.jpg /media/data/images/14082025/11/42/image_14082025_11_42_19_10331.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095762","1377095765","1377095759","1377095755","1377095764","1377095766"],"photo_ids_order":["1377095755","1377095759","1377095762","1377095764","1377095765","1377095766"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86ee344d4e3affa3db05406464746eab.jpg","text":"TemporaryFile(/tmp/multipartBody930668792543965102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197723844,"filename":"image_14082025_11_41_49_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1551d8771ce1905f08363a108227e7fe.jpg","text":"TemporaryFile(/tmp/multipartBody6798297938582961361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197723844,"filename":"image_14082025_11_42_09_10656.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c320bb98d05d70f6aca17da7c2b0d813.jpg","text":"TemporaryFile(/tmp/multipartBody8829570126859320289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197723844,"filename":"image_14082025_11_41_38_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd4364639c4bccc576c7398ba1a9c97c.jpg","text":"TemporaryFile(/tmp/multipartBody8739271779483583177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197723844,"filename":"image_14082025_11_41_28_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/915605226785f7403d439267dd800dbd.jpg","text":"TemporaryFile(/tmp/multipartBody7020043589469816288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197723844,"filename":"image_14082025_11_41_58_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67503930f0bd458883e7aa9db4a8d7c4.jpg","text":"TemporaryFile(/tmp/multipartBody5031646270829866797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197723844,"filename":"image_14082025_11_42_19_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095762","file1":"1377095759","file0":"1377095755","file4":"1377095765","file5":"1377095766","file3":"1377095764"},"map_files_photo_id_array":[{"photo_id":"1377095766","filename":"file5"},{"photo_id":"1377095762","filename":"file2"},{"photo_id":"1377095765","filename":"file4"},{"photo_id":"1377095759","filename":"file1"},{"photo_id":"1377095755","filename":"file0"},{"photo_id":"1377095764","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095762":["hashtag1","hashtag2"]},{"1377095765":["hashtag1","hashtag2"]},{"1377095759":["hashtag1","hashtag2"]},{"1377095755":["hashtag1","hashtag2"]},{"1377095764":["hashtag1","hashtag2"]},{"1377095766":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095762, 1377095765, 1377095759, 1377095755, 1377095764, 1377095766)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.592549085617065 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:55:22.004010 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/42/image_14082025_11_42_28_9115.jpg', '/media/data/images/14082025/11/42/image_14082025_11_42_38_10381.jpg', '/media/data/images/14082025/11/42/image_14082025_11_42_49_10379.jpg', '/media/data/images/14082025/11/42/image_14082025_11_42_58_9120.jpg', '/media/data/images/14082025/11/42/image_14082025_11_43_09_10716.jpg', '/media/data/images/14082025/11/43/image_14082025_11_43_19_10363.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/42/image_14082025_11_42_28_9115.jpg /media/data/images/14082025/11/42/image_14082025_11_42_38_10381.jpg /media/data/images/14082025/11/42/image_14082025_11_42_49_10379.jpg /media/data/images/14082025/11/42/image_14082025_11_42_58_9120.jpg /media/data/images/14082025/11/42/image_14082025_11_43_09_10716.jpg /media/data/images/14082025/11/43/image_14082025_11_43_19_10363.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377095922","1377095901","1377095919","1377095957","1377095959","1377095893"],"photo_ids_order":["1377095893","1377095901","1377095919","1377095922","1377095957","1377095959"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94834c329ed9d9769db56a7792c0b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody1922904289606291735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197783066,"filename":"image_14082025_11_42_58_9120.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8e6945319c2911936aeb11aa12d667d.jpg","text":"TemporaryFile(/tmp/multipartBody7738539208408416134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197783066,"filename":"image_14082025_11_42_38_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51b7720566cea1bc63dd0fb3a846f7df.jpg","text":"TemporaryFile(/tmp/multipartBody6015164876424341070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197783066,"filename":"image_14082025_11_42_49_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/efb090c04cc93960fa32081d8ff772bc.jpg","text":"TemporaryFile(/tmp/multipartBody2253684645417632686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197783066,"filename":"image_14082025_11_43_09_10716.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f9dbdd5ab2f9bdd0441cdc11400c90e.jpg","text":"TemporaryFile(/tmp/multipartBody4993733463635526955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197783066,"filename":"image_14082025_11_43_19_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47ddd65b312d0daee8903327a9424932.jpg","text":"TemporaryFile(/tmp/multipartBody7443309009688916030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197783066,"filename":"image_14082025_11_42_28_9115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377095919","file1":"1377095901","file0":"1377095893","file4":"1377095957","file5":"1377095959","file3":"1377095922"},"map_files_photo_id_array":[{"photo_id":"1377095959","filename":"file5"},{"photo_id":"1377095919","filename":"file2"},{"photo_id":"1377095957","filename":"file4"},{"photo_id":"1377095901","filename":"file1"},{"photo_id":"1377095893","filename":"file0"},{"photo_id":"1377095922","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377095922":["hashtag1","hashtag2"]},{"1377095901":["hashtag1","hashtag2"]},{"1377095919":["hashtag1","hashtag2"]},{"1377095957":["hashtag1","hashtag2"]},{"1377095959":["hashtag1","hashtag2"]},{"1377095893":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377095922, 1377095901, 1377095919, 1377095957, 1377095959, 1377095893)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.1387836933136 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:56:22.120880 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/43/image_14082025_11_43_28_9084.jpg', '/media/data/images/14082025/11/43/image_14082025_11_43_38_10250.jpg', '/media/data/images/14082025/11/43/image_14082025_11_43_49_10251.jpg', '/media/data/images/14082025/11/43/image_14082025_11_43_59_10385.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_08_9345.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_19_10402.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/43/image_14082025_11_43_28_9084.jpg /media/data/images/14082025/11/43/image_14082025_11_43_38_10250.jpg /media/data/images/14082025/11/43/image_14082025_11_43_49_10251.jpg /media/data/images/14082025/11/43/image_14082025_11_43_59_10385.jpg /media/data/images/14082025/11/44/image_14082025_11_44_08_9345.jpg /media/data/images/14082025/11/44/image_14082025_11_44_19_10402.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377096236","1377096131","1377096199","1377096340","1377096307","1377096270"],"photo_ids_order":["1377096131","1377096199","1377096236","1377096270","1377096307","1377096340"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cac11f69fe29dccf3afe2396424b0f00.jpg","text":"TemporaryFile(/tmp/multipartBody7935454623078646128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197843151,"filename":"image_14082025_11_43_49_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3f65af52ac475a5bd44adb24776c6ebe.jpg","text":"TemporaryFile(/tmp/multipartBody2064567894933127919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197843151,"filename":"image_14082025_11_43_28_9084.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4748b049d00ed02d05477b64a073b74b.jpg","text":"TemporaryFile(/tmp/multipartBody3717617241795932350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197843151,"filename":"image_14082025_11_43_38_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c222ac24f970bb06f20d778873ac7b4.jpg","text":"TemporaryFile(/tmp/multipartBody2726490589820070730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197843151,"filename":"image_14082025_11_44_19_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0189ec2c133a5dd32d70078da7a5db2.jpg","text":"TemporaryFile(/tmp/multipartBody4946577795034761994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197843151,"filename":"image_14082025_11_44_08_9345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b777ade956dcb0e3b5b55151a462bd71.jpg","text":"TemporaryFile(/tmp/multipartBody6440047403598518076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197843151,"filename":"image_14082025_11_43_59_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377096236","file1":"1377096199","file0":"1377096131","file4":"1377096307","file5":"1377096340","file3":"1377096270"},"map_files_photo_id_array":[{"photo_id":"1377096340","filename":"file5"},{"photo_id":"1377096236","filename":"file2"},{"photo_id":"1377096307","filename":"file4"},{"photo_id":"1377096199","filename":"file1"},{"photo_id":"1377096131","filename":"file0"},{"photo_id":"1377096270","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377096236":["hashtag1","hashtag2"]},{"1377096131":["hashtag1","hashtag2"]},{"1377096199":["hashtag1","hashtag2"]},{"1377096340":["hashtag1","hashtag2"]},{"1377096307":["hashtag1","hashtag2"]},{"1377096270":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377096236, 1377096131, 1377096199, 1377096340, 1377096307, 1377096270)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.5975124835968 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:57:22.201592 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/44/image_14082025_11_44_28_9147.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_38_10358.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_49_10396.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_59_10337.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_08_9199.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_19_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/44/image_14082025_11_44_28_9147.jpg /media/data/images/14082025/11/44/image_14082025_11_44_38_10358.jpg /media/data/images/14082025/11/44/image_14082025_11_44_49_10396.jpg /media/data/images/14082025/11/44/image_14082025_11_44_59_10337.jpg /media/data/images/14082025/11/45/image_14082025_11_45_08_9199.jpg /media/data/images/14082025/11/45/image_14082025_11_45_19_10400.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5698769092559814 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:57:42.210897 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/44/image_14082025_11_44_28_9147.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_38_10358.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_49_10396.jpg', '/media/data/images/14082025/11/44/image_14082025_11_44_59_10337.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_08_9199.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_19_10400.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/44/image_14082025_11_44_28_9147.jpg /media/data/images/14082025/11/44/image_14082025_11_44_38_10358.jpg /media/data/images/14082025/11/44/image_14082025_11_44_49_10396.jpg /media/data/images/14082025/11/44/image_14082025_11_44_59_10337.jpg /media/data/images/14082025/11/45/image_14082025_11_45_08_9199.jpg /media/data/images/14082025/11/45/image_14082025_11_45_19_10400.jpg after data_to_send, before sending request after request b'{"photo_ids":["1377096788","1377096854","1377096679","1377096715","1377096822","1377096753"],"photo_ids_order":["1377096679","1377096715","1377096753","1377096788","1377096822","1377096854"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/749ba36aaf993e564de46129b56b0e47.jpg","text":"TemporaryFile(/tmp/multipartBody5751455544602968266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197923096,"filename":"image_14082025_11_44_59_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c0f2453aff8dd4282606fb92d9b26d5.jpg","text":"TemporaryFile(/tmp/multipartBody8974711886402252342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197923096,"filename":"image_14082025_11_45_19_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1167f344163817266587609b9249eee4.jpg","text":"TemporaryFile(/tmp/multipartBody6447511733664717890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197923096,"filename":"image_14082025_11_44_28_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8cf123abea1bf58a1595283f69a63b80.jpg","text":"TemporaryFile(/tmp/multipartBody84016039504316623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197923096,"filename":"image_14082025_11_44_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c23279c51568dd23b0738ac035125d8.jpg","text":"TemporaryFile(/tmp/multipartBody7616664641268744829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197923096,"filename":"image_14082025_11_45_08_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e81b98fe9c663530b8050f8e1be3e97.jpg","text":"TemporaryFile(/tmp/multipartBody2660019171728518926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755197923096,"filename":"image_14082025_11_44_49_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377096753","file1":"1377096715","file0":"1377096679","file4":"1377096822","file5":"1377096854","file3":"1377096788"},"map_files_photo_id_array":[{"photo_id":"1377096854","filename":"file5"},{"photo_id":"1377096753","filename":"file2"},{"photo_id":"1377096822","filename":"file4"},{"photo_id":"1377096715","filename":"file1"},{"photo_id":"1377096679","filename":"file0"},{"photo_id":"1377096788","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377096788":["hashtag1","hashtag2"]},{"1377096854":["hashtag1","hashtag2"]},{"1377096679":["hashtag1","hashtag2"]},{"1377096715":["hashtag1","hashtag2"]},{"1377096822":["hashtag1","hashtag2"]},{"1377096753":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377096788, 1377096854, 1377096679, 1377096715, 1377096822, 1377096753)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.87527298927307 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 20:59:02.771402 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/45/image_14082025_11_45_29_10388.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_38_9200.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_49_10422.jpg', '/media/data/images/14082025/11/45/image_14082025_11_45_59_10458.jpg', '/media/data/images/14082025/11/46/image_14082025_11_46_08_9028.jpg', '/media/data/images/14082025/11/46/image_14082025_11_46_18_10384.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/45/image_14082025_11_45_29_10388.jpg /media/data/images/14082025/11/45/image_14082025_11_45_38_9200.jpg /media/data/images/14082025/11/45/image_14082025_11_45_49_10422.jpg /media/data/images/14082025/11/45/image_14082025_11_45_59_10458.jpg /media/data/images/14082025/11/46/image_14082025_11_46_08_9028.jpg /media/data/images/14082025/11/46/image_14082025_11_46_18_10384.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377096920","1377096914","1377096907","1377096916","1377096910","1377096918"],"photo_ids_order":["1377096907","1377096910","1377096914","1377096916","1377096918","1377096920"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4173f5d2ef8bbed2cccd88bbd324361f.jpg","text":"TemporaryFile(/tmp/multipartBody8377779425776449549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198003808,"filename":"image_14082025_11_46_18_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b9c25ecd94021802f173ef274d4aa43e.jpg","text":"TemporaryFile(/tmp/multipartBody7842993018650967281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198003808,"filename":"image_14082025_11_45_49_10422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5490d7b0c1ffb9fde59ef5ee83f6e466.jpg","text":"TemporaryFile(/tmp/multipartBody8773660670682131095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198003808,"filename":"image_14082025_11_45_29_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c2dba6f2163ea1774c63a76430cdd86.jpg","text":"TemporaryFile(/tmp/multipartBody2037071599145119703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198003808,"filename":"image_14082025_11_45_59_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/049755df45bef4f21340d9fa91b7f75a.jpg","text":"TemporaryFile(/tmp/multipartBody7639683921153299986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198003808,"filename":"image_14082025_11_45_38_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1f5bbffdea7d349a286e908617755b85.jpg","text":"TemporaryFile(/tmp/multipartBody5332536723707874161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198003808,"filename":"image_14082025_11_46_08_9028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377096914","file1":"1377096910","file0":"1377096907","file4":"1377096918","file5":"1377096920","file3":"1377096916"},"map_files_photo_id_array":[{"photo_id":"1377096920","filename":"file5"},{"photo_id":"1377096914","filename":"file2"},{"photo_id":"1377096918","filename":"file4"},{"photo_id":"1377096910","filename":"file1"},{"photo_id":"1377096907","filename":"file0"},{"photo_id":"1377096916","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377096920":["hashtag1","hashtag2"]},{"1377096914":["hashtag1","hashtag2"]},{"1377096907":["hashtag1","hashtag2"]},{"1377096916":["hashtag1","hashtag2"]},{"1377096910":["hashtag1","hashtag2"]},{"1377096918":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377096920, 1377096914, 1377096907, 1377096916, 1377096910, 1377096918)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.57578754425049 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:00:02.709150 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/46/image_14082025_11_46_29_10312.jpg', '/media/data/images/14082025/11/46/image_14082025_11_46_38_9108.jpg', '/media/data/images/14082025/11/46/image_14082025_11_46_48_10414.jpg', '/media/data/images/14082025/11/46/image_14082025_11_46_59_10335.jpg', '/media/data/images/14082025/11/47/image_14082025_11_47_08_9357.jpg', '/media/data/images/14082025/11/47/image_14082025_11_47_18_10364.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/46/image_14082025_11_46_29_10312.jpg /media/data/images/14082025/11/46/image_14082025_11_46_38_9108.jpg /media/data/images/14082025/11/46/image_14082025_11_46_48_10414.jpg /media/data/images/14082025/11/46/image_14082025_11_46_59_10335.jpg /media/data/images/14082025/11/47/image_14082025_11_47_08_9357.jpg /media/data/images/14082025/11/47/image_14082025_11_47_18_10364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377097477","1377097267","1377097135","1377097414","1377097338","1377097203"],"photo_ids_order":["1377097135","1377097203","1377097267","1377097338","1377097414","1377097477"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b8ec1f8e3bd0827c78ff88929a8c40f9.jpg","text":"TemporaryFile(/tmp/multipartBody7723891219761684841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198063742,"filename":"image_14082025_11_47_18_10364.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c079f1a1b406c79195f0ed4ae45d13c1.jpg","text":"TemporaryFile(/tmp/multipartBody8238761810810675120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198063742,"filename":"image_14082025_11_46_48_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7159a9e3be8977e3e7b23e5290609c33.jpg","text":"TemporaryFile(/tmp/multipartBody3963819836468506420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198063742,"filename":"image_14082025_11_46_29_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a22b99d5d302fd93fdb14caed447c8d6.jpg","text":"TemporaryFile(/tmp/multipartBody6257537769426225010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198063742,"filename":"image_14082025_11_47_08_9357.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb7fd85f4c32ea0659dd8776fa0af89a.jpg","text":"TemporaryFile(/tmp/multipartBody3293823851218975079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198063742,"filename":"image_14082025_11_46_59_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5675c43e6910db5e3c3209d516f55c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8921754398324460296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198063742,"filename":"image_14082025_11_46_38_9108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377097267","file1":"1377097203","file0":"1377097135","file4":"1377097414","file5":"1377097477","file3":"1377097338"},"map_files_photo_id_array":[{"photo_id":"1377097477","filename":"file5"},{"photo_id":"1377097267","filename":"file2"},{"photo_id":"1377097414","filename":"file4"},{"photo_id":"1377097203","filename":"file1"},{"photo_id":"1377097135","filename":"file0"},{"photo_id":"1377097338","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377097477":["hashtag1","hashtag2"]},{"1377097267":["hashtag1","hashtag2"]},{"1377097135":["hashtag1","hashtag2"]},{"1377097414":["hashtag1","hashtag2"]},{"1377097338":["hashtag1","hashtag2"]},{"1377097203":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377097477, 1377097267, 1377097135, 1377097414, 1377097338, 1377097203)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.523149490356445 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:01:03.063179 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/47/image_14082025_11_47_29_10419.jpg', '/media/data/images/14082025/11/47/image_14082025_11_47_38_9121.jpg', '/media/data/images/14082025/11/47/image_14082025_11_47_48_10326.jpg', '/media/data/images/14082025/11/47/image_14082025_11_47_59_10433.jpg', '/media/data/images/14082025/11/48/image_14082025_11_48_08_9300.jpg', '/media/data/images/14082025/11/48/image_14082025_11_48_18_10341.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/47/image_14082025_11_47_29_10419.jpg /media/data/images/14082025/11/47/image_14082025_11_47_38_9121.jpg /media/data/images/14082025/11/47/image_14082025_11_47_48_10326.jpg /media/data/images/14082025/11/47/image_14082025_11_47_59_10433.jpg /media/data/images/14082025/11/48/image_14082025_11_48_08_9300.jpg /media/data/images/14082025/11/48/image_14082025_11_48_18_10341.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377098015","1377097952","1377098097","1377098052","1377097889","1377098150"],"photo_ids_order":["1377097889","1377097952","1377098015","1377098052","1377098097","1377098150"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d4fab5d51aec1114ca1cf9fcf0de2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5342100796181107788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198124081,"filename":"image_14082025_11_47_48_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b9fe6a052e34b67cd94838237835ada.jpg","text":"TemporaryFile(/tmp/multipartBody9180672132597820091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198124081,"filename":"image_14082025_11_47_38_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d97624c360f1ddabcd88c5c7a2a9324.jpg","text":"TemporaryFile(/tmp/multipartBody1352904300948598082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198124081,"filename":"image_14082025_11_48_08_9300.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/822c28b62b0dd01a080e2c88f1183b93.jpg","text":"TemporaryFile(/tmp/multipartBody3839248854104195362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198124081,"filename":"image_14082025_11_47_59_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b49ff83025c94fd89074feb501b6630d.jpg","text":"TemporaryFile(/tmp/multipartBody4220373320117822965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198124081,"filename":"image_14082025_11_47_29_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34ff5691326ca43d4bd0f51c00218670.jpg","text":"TemporaryFile(/tmp/multipartBody6823620840681190949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198124081,"filename":"image_14082025_11_48_18_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377098015","file1":"1377097952","file0":"1377097889","file4":"1377098097","file5":"1377098150","file3":"1377098052"},"map_files_photo_id_array":[{"photo_id":"1377098150","filename":"file5"},{"photo_id":"1377098015","filename":"file2"},{"photo_id":"1377098097","filename":"file4"},{"photo_id":"1377097952","filename":"file1"},{"photo_id":"1377097889","filename":"file0"},{"photo_id":"1377098052","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377098015":["hashtag1","hashtag2"]},{"1377097952":["hashtag1","hashtag2"]},{"1377098097":["hashtag1","hashtag2"]},{"1377098052":["hashtag1","hashtag2"]},{"1377097889":["hashtag1","hashtag2"]},{"1377098150":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377098015, 1377097952, 1377098097, 1377098052, 1377097889, 1377098150)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.59676432609558 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:02:02.820590 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/48/image_14082025_11_48_29_10309.jpg', '/media/data/images/14082025/11/48/image_14082025_11_48_39_10312.jpg', '/media/data/images/14082025/11/48/image_14082025_11_48_48_9171.jpg', '/media/data/images/14082025/11/48/image_14082025_11_48_58_10287.jpg', '/media/data/images/14082025/11/49/image_14082025_11_49_09_10353.jpg', '/media/data/images/14082025/11/49/image_14082025_11_49_19_10268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/48/image_14082025_11_48_29_10309.jpg /media/data/images/14082025/11/48/image_14082025_11_48_39_10312.jpg /media/data/images/14082025/11/48/image_14082025_11_48_48_9171.jpg /media/data/images/14082025/11/48/image_14082025_11_48_58_10287.jpg /media/data/images/14082025/11/49/image_14082025_11_49_09_10353.jpg /media/data/images/14082025/11/49/image_14082025_11_49_19_10268.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377098504","1377098676","1377098629","1377098589","1377098450","1377098549"],"photo_ids_order":["1377098450","1377098504","1377098549","1377098589","1377098629","1377098676"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/55f129185b3974328aba851ed35c195f.jpg","text":"TemporaryFile(/tmp/multipartBody7938621264368312990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198183934,"filename":"image_14082025_11_48_39_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9032bfcf1575c7511398295c83dd8c97.jpg","text":"TemporaryFile(/tmp/multipartBody106608379501975671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198183934,"filename":"image_14082025_11_49_19_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e11f4a0f1faa417eb12bc4c4f23a5eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7184813788867799423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198183934,"filename":"image_14082025_11_49_09_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34abef0df39afe978ea6c59abe396edb.jpg","text":"TemporaryFile(/tmp/multipartBody4770902226223971239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198183934,"filename":"image_14082025_11_48_58_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5929282ca731002a833ceef19c17b031.jpg","text":"TemporaryFile(/tmp/multipartBody3576794692995445153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198183934,"filename":"image_14082025_11_48_29_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37b41eaa7bf702b819c879a43ab6b231.jpg","text":"TemporaryFile(/tmp/multipartBody7048658219226743472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198183934,"filename":"image_14082025_11_48_48_9171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377098549","file1":"1377098504","file0":"1377098450","file4":"1377098629","file5":"1377098676","file3":"1377098589"},"map_files_photo_id_array":[{"photo_id":"1377098676","filename":"file5"},{"photo_id":"1377098549","filename":"file2"},{"photo_id":"1377098629","filename":"file4"},{"photo_id":"1377098504","filename":"file1"},{"photo_id":"1377098450","filename":"file0"},{"photo_id":"1377098589","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377098504":["hashtag1","hashtag2"]},{"1377098676":["hashtag1","hashtag2"]},{"1377098629":["hashtag1","hashtag2"]},{"1377098589":["hashtag1","hashtag2"]},{"1377098450":["hashtag1","hashtag2"]},{"1377098549":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377098504, 1377098676, 1377098629, 1377098589, 1377098450, 1377098549)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.58659219741821 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:03:03.189045 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/49/image_14082025_11_49_28_9034.jpg', '/media/data/images/14082025/11/49/image_14082025_11_49_38_10322.jpg', '/media/data/images/14082025/11/49/image_14082025_11_49_49_10256.jpg', '/media/data/images/14082025/11/49/image_14082025_11_49_59_10250.jpg', '/media/data/images/14082025/11/50/image_14082025_11_50_08_9315.jpg', '/media/data/images/14082025/11/50/image_14082025_11_50_18_10266.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/49/image_14082025_11_49_28_9034.jpg /media/data/images/14082025/11/49/image_14082025_11_49_38_10322.jpg /media/data/images/14082025/11/49/image_14082025_11_49_49_10256.jpg /media/data/images/14082025/11/49/image_14082025_11_49_59_10250.jpg /media/data/images/14082025/11/50/image_14082025_11_50_08_9315.jpg /media/data/images/14082025/11/50/image_14082025_11_50_18_10266.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377099019","1377098964","1377099098","1377098931","1377099175","1377098896"],"photo_ids_order":["1377098896","1377098931","1377098964","1377099019","1377099098","1377099175"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51b185030d8ca42f67646ce31d9993f7.jpg","text":"TemporaryFile(/tmp/multipartBody9183599256879759437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198244326,"filename":"image_14082025_11_49_59_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99f4177bc11d3daf7fd41685b7e223bb.jpg","text":"TemporaryFile(/tmp/multipartBody3493623060695196346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198244326,"filename":"image_14082025_11_49_49_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1218bd7120e6d59607ac40f6f2d7db97.jpg","text":"TemporaryFile(/tmp/multipartBody1829601508642703438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198244326,"filename":"image_14082025_11_50_08_9315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1d33c7aa66305e067136fa42ab9e83cb.jpg","text":"TemporaryFile(/tmp/multipartBody7310268486879282422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198244326,"filename":"image_14082025_11_49_38_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44f7fcc29dcf7de39beba01dff4abbfd.jpg","text":"TemporaryFile(/tmp/multipartBody4282923806539734748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198244326,"filename":"image_14082025_11_50_18_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f4b278b18c64216b0e8805acc3bd373.jpg","text":"TemporaryFile(/tmp/multipartBody1967238619458144727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198244326,"filename":"image_14082025_11_49_28_9034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377098964","file1":"1377098931","file0":"1377098896","file4":"1377099098","file5":"1377099175","file3":"1377099019"},"map_files_photo_id_array":[{"photo_id":"1377099175","filename":"file5"},{"photo_id":"1377098964","filename":"file2"},{"photo_id":"1377099098","filename":"file4"},{"photo_id":"1377098931","filename":"file1"},{"photo_id":"1377098896","filename":"file0"},{"photo_id":"1377099019","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377099019":["hashtag1","hashtag2"]},{"1377098964":["hashtag1","hashtag2"]},{"1377099098":["hashtag1","hashtag2"]},{"1377098931":["hashtag1","hashtag2"]},{"1377099175":["hashtag1","hashtag2"]},{"1377098896":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377099019, 1377098964, 1377099098, 1377098931, 1377099175, 1377098896)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.407705545425415 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:04:03.125529 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/50/image_14082025_11_50_29_10300.jpg', '/media/data/images/14082025/11/50/image_14082025_11_50_38_9143.jpg', '/media/data/images/14082025/11/50/image_14082025_11_50_48_10347.jpg', '/media/data/images/14082025/11/50/image_14082025_11_50_58_10263.jpg', '/media/data/images/14082025/11/51/image_14082025_11_51_09_10104.jpg', '/media/data/images/14082025/11/51/image_14082025_11_51_19_10343.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/50/image_14082025_11_50_29_10300.jpg /media/data/images/14082025/11/50/image_14082025_11_50_38_9143.jpg /media/data/images/14082025/11/50/image_14082025_11_50_48_10347.jpg /media/data/images/14082025/11/50/image_14082025_11_50_58_10263.jpg /media/data/images/14082025/11/51/image_14082025_11_51_09_10104.jpg /media/data/images/14082025/11/51/image_14082025_11_51_19_10343.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377099897","1377100475","1377100177","1377099991","1377100290","1377100392"],"photo_ids_order":["1377099897","1377099991","1377100177","1377100290","1377100392","1377100475"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3399f90abea35d26e41c3331c15f41e.jpg","text":"TemporaryFile(/tmp/multipartBody547984155125833083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198304223,"filename":"image_14082025_11_50_29_10300.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff2a8ca3e4df11cd3f82697bbcaeb9e1.jpg","text":"TemporaryFile(/tmp/multipartBody6735193009028037870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198304223,"filename":"image_14082025_11_51_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/301b6f46c43aa8918ff3b6a1f42d0cad.jpg","text":"TemporaryFile(/tmp/multipartBody3776367659114664699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198304223,"filename":"image_14082025_11_50_48_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b09c97bd67f97449e0ee1f5047cb071.jpg","text":"TemporaryFile(/tmp/multipartBody6180422445235429627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198304223,"filename":"image_14082025_11_50_38_9143.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/965c37ef0e27bf29d8e87731fac389fd.jpg","text":"TemporaryFile(/tmp/multipartBody8239073892046954860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198304223,"filename":"image_14082025_11_50_58_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86330180d9c719dc463a8279e1f2019f.jpg","text":"TemporaryFile(/tmp/multipartBody8952251615543660517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198304223,"filename":"image_14082025_11_51_09_10104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377100177","file1":"1377099991","file0":"1377099897","file4":"1377100392","file5":"1377100475","file3":"1377100290"},"map_files_photo_id_array":[{"photo_id":"1377100475","filename":"file5"},{"photo_id":"1377100177","filename":"file2"},{"photo_id":"1377100392","filename":"file4"},{"photo_id":"1377099991","filename":"file1"},{"photo_id":"1377099897","filename":"file0"},{"photo_id":"1377100290","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377099897":["hashtag1","hashtag2"]},{"1377100475":["hashtag1","hashtag2"]},{"1377100177":["hashtag1","hashtag2"]},{"1377099991":["hashtag1","hashtag2"]},{"1377100290":["hashtag1","hashtag2"]},{"1377100392":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377099897, 1377100475, 1377100177, 1377099991, 1377100290, 1377100392)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.460668325424194 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:05:03.413995 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/51/image_14082025_11_51_28_9064.jpg', '/media/data/images/14082025/11/51/image_14082025_11_51_38_10297.jpg', '/media/data/images/14082025/11/51/image_14082025_11_51_49_10463.jpg', '/media/data/images/14082025/11/51/image_14082025_11_51_59_10299.jpg', '/media/data/images/14082025/11/52/image_14082025_11_52_08_9195.jpg', '/media/data/images/14082025/11/52/image_14082025_11_52_19_10309.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/51/image_14082025_11_51_28_9064.jpg /media/data/images/14082025/11/51/image_14082025_11_51_38_10297.jpg /media/data/images/14082025/11/51/image_14082025_11_51_49_10463.jpg /media/data/images/14082025/11/51/image_14082025_11_51_59_10299.jpg /media/data/images/14082025/11/52/image_14082025_11_52_08_9195.jpg /media/data/images/14082025/11/52/image_14082025_11_52_19_10309.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377100833","1377101129","1377100961","1377101227","1377101029","1377100896"],"photo_ids_order":["1377100833","1377100896","1377100961","1377101029","1377101129","1377101227"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8b05ae27527ea730becb01a42adae00.jpg","text":"TemporaryFile(/tmp/multipartBody81717669637546228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198364542,"filename":"image_14082025_11_51_28_9064.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5033bc00c77a17ec9e9781a74fab4a9.jpg","text":"TemporaryFile(/tmp/multipartBody3387208797335821597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198364542,"filename":"image_14082025_11_52_08_9195.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4060a4713c994ab0c383a6d047b9e9a.jpg","text":"TemporaryFile(/tmp/multipartBody6389371443929393180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198364542,"filename":"image_14082025_11_51_49_10463.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c49166224cd3aa95f28a557781da442.jpg","text":"TemporaryFile(/tmp/multipartBody4738813251492564012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198364542,"filename":"image_14082025_11_52_19_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ab6011759beb96f07f00be8b70954867.jpg","text":"TemporaryFile(/tmp/multipartBody2370341487344882708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198364542,"filename":"image_14082025_11_51_59_10299.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8698d9f7445466b95dc2202bb183ebab.jpg","text":"TemporaryFile(/tmp/multipartBody2631489653953725919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198364542,"filename":"image_14082025_11_51_38_10297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377100961","file1":"1377100896","file0":"1377100833","file4":"1377101129","file5":"1377101227","file3":"1377101029"},"map_files_photo_id_array":[{"photo_id":"1377101227","filename":"file5"},{"photo_id":"1377100961","filename":"file2"},{"photo_id":"1377101129","filename":"file4"},{"photo_id":"1377100896","filename":"file1"},{"photo_id":"1377100833","filename":"file0"},{"photo_id":"1377101029","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377100833":["hashtag1","hashtag2"]},{"1377101129":["hashtag1","hashtag2"]},{"1377100961":["hashtag1","hashtag2"]},{"1377101227":["hashtag1","hashtag2"]},{"1377101029":["hashtag1","hashtag2"]},{"1377100896":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377100833, 1377101129, 1377100961, 1377101227, 1377101029, 1377100896)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.84891486167908 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:06:03.457413 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/52/image_14082025_11_52_29_10332.jpg', '/media/data/images/14082025/11/52/image_14082025_11_52_38_9118.jpg', '/media/data/images/14082025/11/52/image_14082025_11_52_48_10346.jpg', '/media/data/images/14082025/11/52/image_14082025_11_52_59_10414.jpg', '/media/data/images/14082025/11/53/image_14082025_11_53_09_10235.jpg', '/media/data/images/14082025/11/53/image_14082025_11_53_18_9140.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/52/image_14082025_11_52_29_10332.jpg /media/data/images/14082025/11/52/image_14082025_11_52_38_9118.jpg /media/data/images/14082025/11/52/image_14082025_11_52_48_10346.jpg /media/data/images/14082025/11/52/image_14082025_11_52_59_10414.jpg /media/data/images/14082025/11/53/image_14082025_11_53_09_10235.jpg /media/data/images/14082025/11/53/image_14082025_11_53_18_9140.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377101882","1377101721","1377101999","1377101687","1377101757","1377101805"],"photo_ids_order":["1377101687","1377101721","1377101757","1377101805","1377101882","1377101999"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9a16468a0965ccb555a8169923a1e93.jpg","text":"TemporaryFile(/tmp/multipartBody4691858485677897740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198424460,"filename":"image_14082025_11_53_09_10235.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c988ece766be75c0efc9b284ebbce735.jpg","text":"TemporaryFile(/tmp/multipartBody3298309031244548065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198424460,"filename":"image_14082025_11_52_38_9118.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3825f63205741ff6f8f223b9e5251c4d.jpg","text":"TemporaryFile(/tmp/multipartBody3239878686528934684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198424460,"filename":"image_14082025_11_53_18_9140.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/049446133ccd3b499bf61bc9bc207e43.jpg","text":"TemporaryFile(/tmp/multipartBody5905272519034903090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198424460,"filename":"image_14082025_11_52_29_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e662df572f16461e409cab8441d553ff.jpg","text":"TemporaryFile(/tmp/multipartBody5411537242666648041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198424460,"filename":"image_14082025_11_52_48_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/798afceab94ec2a0d44ff7e898ea5488.jpg","text":"TemporaryFile(/tmp/multipartBody3107232005481594964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198424460,"filename":"image_14082025_11_52_59_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377101757","file1":"1377101721","file0":"1377101687","file4":"1377101882","file5":"1377101999","file3":"1377101805"},"map_files_photo_id_array":[{"photo_id":"1377101999","filename":"file5"},{"photo_id":"1377101757","filename":"file2"},{"photo_id":"1377101882","filename":"file4"},{"photo_id":"1377101721","filename":"file1"},{"photo_id":"1377101687","filename":"file0"},{"photo_id":"1377101805","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377101882":["hashtag1","hashtag2"]},{"1377101721":["hashtag1","hashtag2"]},{"1377101999":["hashtag1","hashtag2"]},{"1377101687":["hashtag1","hashtag2"]},{"1377101757":["hashtag1","hashtag2"]},{"1377101805":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377101882, 1377101721, 1377101999, 1377101687, 1377101757, 1377101805)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 44.416468143463135 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:07:02.813853 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/53/image_14082025_11_53_29_10468.jpg', '/media/data/images/14082025/11/53/image_14082025_11_53_38_9259.jpg', '/media/data/images/14082025/11/53/image_14082025_11_53_48_10589.jpg', '/media/data/images/14082025/11/53/image_14082025_11_53_59_10423.jpg', '/media/data/images/14082025/11/54/image_14082025_11_54_08_9075.jpg', '/media/data/images/14082025/11/54/image_14082025_11_54_18_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/53/image_14082025_11_53_29_10468.jpg /media/data/images/14082025/11/53/image_14082025_11_53_38_9259.jpg /media/data/images/14082025/11/53/image_14082025_11_53_48_10589.jpg /media/data/images/14082025/11/53/image_14082025_11_53_59_10423.jpg /media/data/images/14082025/11/54/image_14082025_11_54_08_9075.jpg /media/data/images/14082025/11/54/image_14082025_11_54_18_10368.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377102959","1377102731","1377102827","1377102496","1377103077","1377102613"],"photo_ids_order":["1377102496","1377102613","1377102731","1377102827","1377102959","1377103077"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dbb8b57dadbf46b90f20a059e042659e.jpg","text":"TemporaryFile(/tmp/multipartBody2067498471640796008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198483797,"filename":"image_14082025_11_54_08_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3543a9095cc1751e649e37fb12ab3702.jpg","text":"TemporaryFile(/tmp/multipartBody3952396366917285214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198483797,"filename":"image_14082025_11_53_48_10589.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c3c283a5e5a275198f9330bf89d41039.jpg","text":"TemporaryFile(/tmp/multipartBody571559188189189030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198483797,"filename":"image_14082025_11_53_59_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e439a19b361047730fdb4343c691367f.jpg","text":"TemporaryFile(/tmp/multipartBody3548556675451184952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198483797,"filename":"image_14082025_11_53_29_10468.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ee229f9eb9862a46fdf1f4dcc2aed43.jpg","text":"TemporaryFile(/tmp/multipartBody8565390519292180974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198483797,"filename":"image_14082025_11_54_18_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc4f5ab9e5f83959499ab4276d24fae2.jpg","text":"TemporaryFile(/tmp/multipartBody4959014905708517237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198483797,"filename":"image_14082025_11_53_38_9259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377102731","file1":"1377102613","file0":"1377102496","file4":"1377102959","file5":"1377103077","file3":"1377102827"},"map_files_photo_id_array":[{"photo_id":"1377103077","filename":"file5"},{"photo_id":"1377102731","filename":"file2"},{"photo_id":"1377102959","filename":"file4"},{"photo_id":"1377102613","filename":"file1"},{"photo_id":"1377102496","filename":"file0"},{"photo_id":"1377102827","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377102959":["hashtag1","hashtag2"]},{"1377102731":["hashtag1","hashtag2"]},{"1377102827":["hashtag1","hashtag2"]},{"1377102496":["hashtag1","hashtag2"]},{"1377103077":["hashtag1","hashtag2"]},{"1377102613":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377102959, 1377102731, 1377102827, 1377102496, 1377103077, 1377102613)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.796040058135986 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:08:02.679525 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/54/image_14082025_11_54_29_10349.jpg', '/media/data/images/14082025/11/54/image_14082025_11_54_39_10346.jpg', '/media/data/images/14082025/11/54/image_14082025_11_54_48_9155.jpg', '/media/data/images/14082025/11/54/image_14082025_11_54_59_10383.jpg', '/media/data/images/14082025/11/55/image_14082025_11_55_09_10449.jpg', '/media/data/images/14082025/11/55/image_14082025_11_55_18_9396.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/54/image_14082025_11_54_29_10349.jpg /media/data/images/14082025/11/54/image_14082025_11_54_39_10346.jpg /media/data/images/14082025/11/54/image_14082025_11_54_48_9155.jpg /media/data/images/14082025/11/54/image_14082025_11_54_59_10383.jpg /media/data/images/14082025/11/55/image_14082025_11_55_09_10449.jpg /media/data/images/14082025/11/55/image_14082025_11_55_18_9396.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377104190","1377103942","1377104019","1377104279","1377103836","1377104098"],"photo_ids_order":["1377103836","1377103942","1377104019","1377104098","1377104190","1377104279"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/153f67b1263542a627d6c37c73da3c48.jpg","text":"TemporaryFile(/tmp/multipartBody8980731922186561891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198543661,"filename":"image_14082025_11_55_09_10449.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a194e42df0723eb4f8b77c011a44fe46.jpg","text":"TemporaryFile(/tmp/multipartBody6259730975683337985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198543661,"filename":"image_14082025_11_54_39_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b30bfa6f27b8636b64630e0ed0560d4b.jpg","text":"TemporaryFile(/tmp/multipartBody6747342248205247973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198543661,"filename":"image_14082025_11_54_48_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b95b7c7705a4b28228163bf529484c9.jpg","text":"TemporaryFile(/tmp/multipartBody3858014977062361002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198543661,"filename":"image_14082025_11_55_18_9396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74a8866980e4697052316d3097918d48.jpg","text":"TemporaryFile(/tmp/multipartBody6496714087018546660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198543661,"filename":"image_14082025_11_54_29_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10fd19598868973be3d172c7bf6d98ce.jpg","text":"TemporaryFile(/tmp/multipartBody9185304244383147107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198543661,"filename":"image_14082025_11_54_59_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377104019","file1":"1377103942","file0":"1377103836","file4":"1377104190","file5":"1377104279","file3":"1377104098"},"map_files_photo_id_array":[{"photo_id":"1377104279","filename":"file5"},{"photo_id":"1377104019","filename":"file2"},{"photo_id":"1377104190","filename":"file4"},{"photo_id":"1377103942","filename":"file1"},{"photo_id":"1377103836","filename":"file0"},{"photo_id":"1377104098","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377104190":["hashtag1","hashtag2"]},{"1377103942":["hashtag1","hashtag2"]},{"1377104019":["hashtag1","hashtag2"]},{"1377104279":["hashtag1","hashtag2"]},{"1377103836":["hashtag1","hashtag2"]},{"1377104098":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377104190, 1377103942, 1377104019, 1377104279, 1377103836, 1377104098)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.168745040893555 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:09:03.180485 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/55/image_14082025_11_55_29_10383.jpg', '/media/data/images/14082025/11/55/image_14082025_11_55_38_9200.jpg', '/media/data/images/14082025/11/55/image_14082025_11_55_48_10426.jpg', '/media/data/images/14082025/11/55/image_14082025_11_55_59_10437.jpg', '/media/data/images/14082025/11/56/image_14082025_11_56_08_9074.jpg', '/media/data/images/14082025/11/56/image_14082025_11_56_18_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/55/image_14082025_11_55_29_10383.jpg /media/data/images/14082025/11/55/image_14082025_11_55_38_9200.jpg /media/data/images/14082025/11/55/image_14082025_11_55_48_10426.jpg /media/data/images/14082025/11/55/image_14082025_11_55_59_10437.jpg /media/data/images/14082025/11/56/image_14082025_11_56_08_9074.jpg /media/data/images/14082025/11/56/image_14082025_11_56_18_10351.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377104626","1377104619","1377104628","1377104621","1377104615","1377104624"],"photo_ids_order":["1377104615","1377104619","1377104621","1377104624","1377104626","1377104628"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a40801c9da6bc9c47c8020fc3fd8f35.jpg","text":"TemporaryFile(/tmp/multipartBody3859560521718925960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198604193,"filename":"image_14082025_11_56_08_9074.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b7df8e2e75743eef5cf68f1c0fd90c1.jpg","text":"TemporaryFile(/tmp/multipartBody3379889225581318040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198604193,"filename":"image_14082025_11_55_38_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bec271eb3cdf98b5adc9957173a1666f.jpg","text":"TemporaryFile(/tmp/multipartBody6353730325599905773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198604193,"filename":"image_14082025_11_56_18_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89fb96a13da5da9749476d63929bc316.jpg","text":"TemporaryFile(/tmp/multipartBody5862872407441337203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198604193,"filename":"image_14082025_11_55_48_10426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/081c71664eef528c1c9f7093e8c0f762.jpg","text":"TemporaryFile(/tmp/multipartBody3520568921883958572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198604193,"filename":"image_14082025_11_55_29_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15863ed274b8ff0a1f46792b28233955.jpg","text":"TemporaryFile(/tmp/multipartBody3326084589072526445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198604193,"filename":"image_14082025_11_55_59_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377104621","file1":"1377104619","file0":"1377104615","file4":"1377104626","file5":"1377104628","file3":"1377104624"},"map_files_photo_id_array":[{"photo_id":"1377104628","filename":"file5"},{"photo_id":"1377104621","filename":"file2"},{"photo_id":"1377104626","filename":"file4"},{"photo_id":"1377104619","filename":"file1"},{"photo_id":"1377104615","filename":"file0"},{"photo_id":"1377104624","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377104626":["hashtag1","hashtag2"]},{"1377104619":["hashtag1","hashtag2"]},{"1377104628":["hashtag1","hashtag2"]},{"1377104621":["hashtag1","hashtag2"]},{"1377104615":["hashtag1","hashtag2"]},{"1377104624":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377104626, 1377104619, 1377104628, 1377104621, 1377104615, 1377104624)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.80509543418884 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:10:03.074835 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/56/image_14082025_11_56_29_10363.jpg', '/media/data/images/14082025/11/56/image_14082025_11_56_39_10344.jpg', '/media/data/images/14082025/11/56/image_14082025_11_56_48_9079.jpg', '/media/data/images/14082025/11/56/image_14082025_11_56_58_10298.jpg', '/media/data/images/14082025/11/57/image_14082025_11_57_09_10314.jpg', '/media/data/images/14082025/11/57/image_14082025_11_57_19_10314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/56/image_14082025_11_56_29_10363.jpg /media/data/images/14082025/11/56/image_14082025_11_56_39_10344.jpg /media/data/images/14082025/11/56/image_14082025_11_56_48_9079.jpg /media/data/images/14082025/11/56/image_14082025_11_56_58_10298.jpg /media/data/images/14082025/11/57/image_14082025_11_57_09_10314.jpg /media/data/images/14082025/11/57/image_14082025_11_57_19_10314.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377105171","1377104772","1377105092","1377104961","1377104870","1377105025"],"photo_ids_order":["1377104772","1377104870","1377104961","1377105025","1377105092","1377105171"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5cf154229969c1c6eae10b4470172cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8641125560330291929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198664093,"filename":"image_14082025_11_57_19_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea1294b23a2784acb22fb5398aad2d46.jpg","text":"TemporaryFile(/tmp/multipartBody2160135186112767086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198664093,"filename":"image_14082025_11_56_29_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9b200973b7f5a16833510e51d22bc88.jpg","text":"TemporaryFile(/tmp/multipartBody8677150912319113899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198664093,"filename":"image_14082025_11_57_09_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ac2124cb6ad0d147fecdd5455a1d654.jpg","text":"TemporaryFile(/tmp/multipartBody8241510080086416015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198664093,"filename":"image_14082025_11_56_48_9079.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f199d7da2b01cc0087cf5cadc60a1df.jpg","text":"TemporaryFile(/tmp/multipartBody5629994133331869089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198664093,"filename":"image_14082025_11_56_39_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1877b1aea26dbab924ad6431d1b7232d.jpg","text":"TemporaryFile(/tmp/multipartBody8854648027532365635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198664093,"filename":"image_14082025_11_56_58_10298.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377104961","file1":"1377104870","file0":"1377104772","file4":"1377105092","file5":"1377105171","file3":"1377105025"},"map_files_photo_id_array":[{"photo_id":"1377105171","filename":"file5"},{"photo_id":"1377104961","filename":"file2"},{"photo_id":"1377105092","filename":"file4"},{"photo_id":"1377104870","filename":"file1"},{"photo_id":"1377104772","filename":"file0"},{"photo_id":"1377105025","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377105171":["hashtag1","hashtag2"]},{"1377104772":["hashtag1","hashtag2"]},{"1377105092":["hashtag1","hashtag2"]},{"1377104961":["hashtag1","hashtag2"]},{"1377104870":["hashtag1","hashtag2"]},{"1377105025":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377105171, 1377104772, 1377105092, 1377104961, 1377104870, 1377105025)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.48801779747009 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:11:03.220320 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/57/image_14082025_11_57_28_9092.jpg', '/media/data/images/14082025/11/57/image_14082025_11_57_38_10331.jpg', '/media/data/images/14082025/11/57/image_14082025_11_57_49_10288.jpg', '/media/data/images/14082025/11/57/image_14082025_11_57_59_10308.jpg', '/media/data/images/14082025/11/58/image_14082025_11_58_08_9114.jpg', '/media/data/images/14082025/11/58/image_14082025_11_58_19_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/57/image_14082025_11_57_28_9092.jpg /media/data/images/14082025/11/57/image_14082025_11_57_38_10331.jpg /media/data/images/14082025/11/57/image_14082025_11_57_49_10288.jpg /media/data/images/14082025/11/57/image_14082025_11_57_59_10308.jpg /media/data/images/14082025/11/58/image_14082025_11_58_08_9114.jpg /media/data/images/14082025/11/58/image_14082025_11_58_19_10397.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377105648","1377105592","1377105589","1377105580","1377105640","1377105610"],"photo_ids_order":["1377105580","1377105589","1377105592","1377105610","1377105640","1377105648"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/347401a52b4264e177a93545f0d094e1.jpg","text":"TemporaryFile(/tmp/multipartBody6242244660679236979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198724303,"filename":"image_14082025_11_58_19_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a55ca29d9dc0354e40ca8321c87852fd.jpg","text":"TemporaryFile(/tmp/multipartBody3533647041612226056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198724303,"filename":"image_14082025_11_57_49_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6242ba99ad7d58d5f6d9c19ab718427d.jpg","text":"TemporaryFile(/tmp/multipartBody5764432831327543386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198724303,"filename":"image_14082025_11_57_38_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e65585396e8bfde914fd2d0b704a2bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5297138819184031439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198724303,"filename":"image_14082025_11_57_28_9092.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e2c01077b504b8bbd9ff4c19809bb4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4525440974194368276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198724303,"filename":"image_14082025_11_58_08_9114.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebb7bbf4926c0f06923ce64d074583b6.jpg","text":"TemporaryFile(/tmp/multipartBody3458144353652135126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198724303,"filename":"image_14082025_11_57_59_10308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377105592","file1":"1377105589","file0":"1377105580","file4":"1377105640","file5":"1377105648","file3":"1377105610"},"map_files_photo_id_array":[{"photo_id":"1377105648","filename":"file5"},{"photo_id":"1377105592","filename":"file2"},{"photo_id":"1377105640","filename":"file4"},{"photo_id":"1377105589","filename":"file1"},{"photo_id":"1377105580","filename":"file0"},{"photo_id":"1377105610","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377105648":["hashtag1","hashtag2"]},{"1377105592":["hashtag1","hashtag2"]},{"1377105589":["hashtag1","hashtag2"]},{"1377105580":["hashtag1","hashtag2"]},{"1377105640":["hashtag1","hashtag2"]},{"1377105610":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377105648, 1377105592, 1377105589, 1377105580, 1377105640, 1377105610)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.47645688056946 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:12:03.250246 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/58/image_14082025_11_58_29_10280.jpg', '/media/data/images/14082025/11/58/image_14082025_11_58_38_9225.jpg', '/media/data/images/14082025/11/58/image_14082025_11_58_48_10359.jpg', '/media/data/images/14082025/11/58/image_14082025_11_58_59_10400.jpg', '/media/data/images/14082025/11/59/image_14082025_11_59_08_9102.jpg', '/media/data/images/14082025/11/59/image_14082025_11_59_18_10393.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/58/image_14082025_11_58_29_10280.jpg /media/data/images/14082025/11/58/image_14082025_11_58_38_9225.jpg /media/data/images/14082025/11/58/image_14082025_11_58_48_10359.jpg /media/data/images/14082025/11/58/image_14082025_11_58_59_10400.jpg /media/data/images/14082025/11/59/image_14082025_11_59_08_9102.jpg /media/data/images/14082025/11/59/image_14082025_11_59_18_10393.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377105957","1377105915","1377105994","1377105821","1377105880","1377105925"],"photo_ids_order":["1377105821","1377105880","1377105915","1377105925","1377105957","1377105994"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/733cde9d6bf55a6223191c8bdc943674.jpg","text":"TemporaryFile(/tmp/multipartBody1160968374731406602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198784317,"filename":"image_14082025_11_59_08_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a6fdc9e6b5f2ec8b6f30a16a27cc3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2089886653136542843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198784317,"filename":"image_14082025_11_58_48_10359.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f5fcf07cdb712976f925caf3625124b.jpg","text":"TemporaryFile(/tmp/multipartBody3825751249837279322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198784317,"filename":"image_14082025_11_59_18_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ffd9328906c707a7ffd142726b19cd4.jpg","text":"TemporaryFile(/tmp/multipartBody3038335502232908913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198784317,"filename":"image_14082025_11_58_29_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2a6e202838fed290d9e6889e2ff7cd3.jpg","text":"TemporaryFile(/tmp/multipartBody4919185536872502110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198784317,"filename":"image_14082025_11_58_38_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62093bdb2045a8c8b145c35ae6b134b3.jpg","text":"TemporaryFile(/tmp/multipartBody1200969729734434501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198784317,"filename":"image_14082025_11_58_59_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377105915","file1":"1377105880","file0":"1377105821","file4":"1377105957","file5":"1377105994","file3":"1377105925"},"map_files_photo_id_array":[{"photo_id":"1377105994","filename":"file5"},{"photo_id":"1377105915","filename":"file2"},{"photo_id":"1377105957","filename":"file4"},{"photo_id":"1377105880","filename":"file1"},{"photo_id":"1377105821","filename":"file0"},{"photo_id":"1377105925","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377105957":["hashtag1","hashtag2"]},{"1377105915":["hashtag1","hashtag2"]},{"1377105994":["hashtag1","hashtag2"]},{"1377105821":["hashtag1","hashtag2"]},{"1377105880":["hashtag1","hashtag2"]},{"1377105925":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377105957, 1377105915, 1377105994, 1377105821, 1377105880, 1377105925)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.4379665851593 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:13:03.519013 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/11/59/image_14082025_11_59_29_10318.jpg', '/media/data/images/14082025/11/59/image_14082025_11_59_39_10271.jpg', '/media/data/images/14082025/11/59/image_14082025_11_59_48_9108.jpg', '/media/data/images/14082025/11/59/image_14082025_11_59_58_10407.jpg', '/media/data/images/14082025/12/00/image_14082025_12_00_28_10360.jpg', '/media/data/images/14082025/12/00/image_14082025_12_00_39_10270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/11/59/image_14082025_11_59_29_10318.jpg /media/data/images/14082025/11/59/image_14082025_11_59_39_10271.jpg /media/data/images/14082025/11/59/image_14082025_11_59_48_9108.jpg /media/data/images/14082025/11/59/image_14082025_11_59_58_10407.jpg /media/data/images/14082025/12/00/image_14082025_12_00_28_10360.jpg /media/data/images/14082025/12/00/image_14082025_12_00_39_10270.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377106245","1377106295","1377106206","1377106162","1377106150","1377106087"],"photo_ids_order":["1377106087","1377106150","1377106162","1377106206","1377106245","1377106295"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2379c81cf505841e668368326d41dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3228493661799568830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198844561,"filename":"image_14082025_12_00_28_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1713085641b587a57026f510891cf541.jpg","text":"TemporaryFile(/tmp/multipartBody3231595644430630481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198844561,"filename":"image_14082025_12_00_39_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e096a64273218ad72c62813ad8f78bd.jpg","text":"TemporaryFile(/tmp/multipartBody3663574953825251418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198844561,"filename":"image_14082025_11_59_58_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71fe23a06c78c7d1c01fc46181bd39fe.jpg","text":"TemporaryFile(/tmp/multipartBody1566143590608110841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198844561,"filename":"image_14082025_11_59_48_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b42f113c899faf91909fc909c4b0f418.jpg","text":"TemporaryFile(/tmp/multipartBody8601037795143699458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198844561,"filename":"image_14082025_11_59_39_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70eae644c4b81abcb06a208201f4b0e6.jpg","text":"TemporaryFile(/tmp/multipartBody4212753628333504026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198844561,"filename":"image_14082025_11_59_29_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377106162","file1":"1377106150","file0":"1377106087","file4":"1377106245","file5":"1377106295","file3":"1377106206"},"map_files_photo_id_array":[{"photo_id":"1377106295","filename":"file5"},{"photo_id":"1377106162","filename":"file2"},{"photo_id":"1377106245","filename":"file4"},{"photo_id":"1377106150","filename":"file1"},{"photo_id":"1377106087","filename":"file0"},{"photo_id":"1377106206","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377106245":["hashtag1","hashtag2"]},{"1377106295":["hashtag1","hashtag2"]},{"1377106206":["hashtag1","hashtag2"]},{"1377106162":["hashtag1","hashtag2"]},{"1377106150":["hashtag1","hashtag2"]},{"1377106087":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377106245, 1377106295, 1377106206, 1377106162, 1377106150, 1377106087)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.03330636024475 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:14:03.495404 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/00/image_14082025_12_00_49_10366.jpg', '/media/data/images/14082025/12/00/image_14082025_12_00_58_9058.jpg', '/media/data/images/14082025/12/00/image_14082025_12_01_08_10440.jpg', '/media/data/images/14082025/12/01/image_14082025_12_01_19_10567.jpg', '/media/data/images/14082025/12/01/image_14082025_12_01_28_9106.jpg', '/media/data/images/14082025/12/01/image_14082025_12_01_38_10320.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/00/image_14082025_12_00_49_10366.jpg /media/data/images/14082025/12/00/image_14082025_12_00_58_9058.jpg /media/data/images/14082025/12/00/image_14082025_12_01_08_10440.jpg /media/data/images/14082025/12/01/image_14082025_12_01_19_10567.jpg /media/data/images/14082025/12/01/image_14082025_12_01_28_9106.jpg /media/data/images/14082025/12/01/image_14082025_12_01_38_10320.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377106914","1377106847","1377106775","1377106817","1377106805","1377106822"],"photo_ids_order":["1377106775","1377106805","1377106817","1377106822","1377106847","1377106914"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3ebc3778bc1f91eff890b6d003e1712.jpg","text":"TemporaryFile(/tmp/multipartBody559729788982714443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198904503,"filename":"image_14082025_12_01_38_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a98cd10aae21926f697789dbae31f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1412464973585899469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198904503,"filename":"image_14082025_12_01_28_9106.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3abd67bb5617dd811d4d62666de39243.jpg","text":"TemporaryFile(/tmp/multipartBody8175756552067946485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198904503,"filename":"image_14082025_12_00_49_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc4284b492a89a865508d6e8e8cfef4e.jpg","text":"TemporaryFile(/tmp/multipartBody2014876968603239790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198904503,"filename":"image_14082025_12_01_08_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2320919fa1c0b7602dad07cf15d613b.jpg","text":"TemporaryFile(/tmp/multipartBody5901940727655936881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198904503,"filename":"image_14082025_12_00_58_9058.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54ba9b888506d0048cb3bba74178a5a6.jpg","text":"TemporaryFile(/tmp/multipartBody7325364045083709098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198904503,"filename":"image_14082025_12_01_19_10567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377106817","file1":"1377106805","file0":"1377106775","file4":"1377106847","file5":"1377106914","file3":"1377106822"},"map_files_photo_id_array":[{"photo_id":"1377106914","filename":"file5"},{"photo_id":"1377106817","filename":"file2"},{"photo_id":"1377106847","filename":"file4"},{"photo_id":"1377106805","filename":"file1"},{"photo_id":"1377106775","filename":"file0"},{"photo_id":"1377106822","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377106914":["hashtag1","hashtag2"]},{"1377106847":["hashtag1","hashtag2"]},{"1377106775":["hashtag1","hashtag2"]},{"1377106817":["hashtag1","hashtag2"]},{"1377106805":["hashtag1","hashtag2"]},{"1377106822":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377106914, 1377106847, 1377106775, 1377106817, 1377106805, 1377106822)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.51120924949646 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:15:02.775541 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/01/image_14082025_12_01_49_10321.jpg', '/media/data/images/14082025/12/01/image_14082025_12_01_58_9155.jpg', '/media/data/images/14082025/12/01/image_14082025_12_02_08_10526.jpg', '/media/data/images/14082025/12/02/image_14082025_12_02_19_10377.jpg', '/media/data/images/14082025/12/02/image_14082025_12_02_28_9141.jpg', '/media/data/images/14082025/12/02/image_14082025_12_02_38_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/01/image_14082025_12_01_49_10321.jpg /media/data/images/14082025/12/01/image_14082025_12_01_58_9155.jpg /media/data/images/14082025/12/01/image_14082025_12_02_08_10526.jpg /media/data/images/14082025/12/02/image_14082025_12_02_19_10377.jpg /media/data/images/14082025/12/02/image_14082025_12_02_28_9141.jpg /media/data/images/14082025/12/02/image_14082025_12_02_38_10355.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107189","1377107207","1377107204","1377107128","1377107209","1377107151"],"photo_ids_order":["1377107128","1377107151","1377107189","1377107204","1377107207","1377107209"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3525a245ca743f47df57071ab0f2c53f.jpg","text":"TemporaryFile(/tmp/multipartBody4725127683638824397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198963909,"filename":"image_14082025_12_02_08_10526.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2809757c99d3be205b5b97394222cc51.jpg","text":"TemporaryFile(/tmp/multipartBody7405964628649855913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198963909,"filename":"image_14082025_12_02_28_9141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65ead9e0f3f1a06df801850fa9a76895.jpg","text":"TemporaryFile(/tmp/multipartBody5775828202933751925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198963909,"filename":"image_14082025_12_02_19_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f84806db4dbcd3f58ee5da37cc40e01.jpg","text":"TemporaryFile(/tmp/multipartBody921465269368808396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198963909,"filename":"image_14082025_12_01_49_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3a3115a53d9be1699b1ca9546c505f69.jpg","text":"TemporaryFile(/tmp/multipartBody4144166983799042491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198963909,"filename":"image_14082025_12_02_38_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dca2da9d06f6ab8c08fa124b4d2b66e.jpg","text":"TemporaryFile(/tmp/multipartBody7534116810879739841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755198963909,"filename":"image_14082025_12_01_58_9155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107189","file1":"1377107151","file0":"1377107128","file4":"1377107207","file5":"1377107209","file3":"1377107204"},"map_files_photo_id_array":[{"photo_id":"1377107209","filename":"file5"},{"photo_id":"1377107189","filename":"file2"},{"photo_id":"1377107207","filename":"file4"},{"photo_id":"1377107151","filename":"file1"},{"photo_id":"1377107128","filename":"file0"},{"photo_id":"1377107204","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107189":["hashtag1","hashtag2"]},{"1377107207":["hashtag1","hashtag2"]},{"1377107204":["hashtag1","hashtag2"]},{"1377107128":["hashtag1","hashtag2"]},{"1377107209":["hashtag1","hashtag2"]},{"1377107151":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107189, 1377107207, 1377107204, 1377107128, 1377107209, 1377107151)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.86610007286072 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:16:02.593406 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/02/image_14082025_12_02_49_10319.jpg', '/media/data/images/14082025/12/02/image_14082025_12_02_58_9255.jpg', '/media/data/images/14082025/12/02/image_14082025_12_03_09_10748.jpg', '/media/data/images/14082025/12/03/image_14082025_12_03_19_10393.jpg', '/media/data/images/14082025/12/03/image_14082025_12_03_28_9115.jpg', '/media/data/images/14082025/12/03/image_14082025_12_03_38_10316.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/02/image_14082025_12_02_49_10319.jpg /media/data/images/14082025/12/02/image_14082025_12_02_58_9255.jpg /media/data/images/14082025/12/02/image_14082025_12_03_09_10748.jpg /media/data/images/14082025/12/03/image_14082025_12_03_19_10393.jpg /media/data/images/14082025/12/03/image_14082025_12_03_28_9115.jpg /media/data/images/14082025/12/03/image_14082025_12_03_38_10316.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107342","1377107339","1377107252","1377107222","1377107320","1377107286"],"photo_ids_order":["1377107222","1377107252","1377107286","1377107320","1377107339","1377107342"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b0ba6e55f8afe5a5978234bb108067e.jpg","text":"TemporaryFile(/tmp/multipartBody5934004466649967959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199023626,"filename":"image_14082025_12_03_38_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43cbebf42454f3e9889df9769d360371.jpg","text":"TemporaryFile(/tmp/multipartBody3148831747531532884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199023626,"filename":"image_14082025_12_03_28_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03a196e44e38ff6011d548e24f22eadf.jpg","text":"TemporaryFile(/tmp/multipartBody8135503236238396427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199023626,"filename":"image_14082025_12_02_58_9255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4204370113b2531969c3426a7c123fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6497116949795812372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199023626,"filename":"image_14082025_12_02_49_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f4c671f6a7803416bf86a4e6644ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody1984965564508619143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199023626,"filename":"image_14082025_12_03_19_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74be90225fdf0a548081eb2a72791633.jpg","text":"TemporaryFile(/tmp/multipartBody4101837198721072765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199023626,"filename":"image_14082025_12_03_09_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107286","file1":"1377107252","file0":"1377107222","file4":"1377107339","file5":"1377107342","file3":"1377107320"},"map_files_photo_id_array":[{"photo_id":"1377107342","filename":"file5"},{"photo_id":"1377107286","filename":"file2"},{"photo_id":"1377107339","filename":"file4"},{"photo_id":"1377107252","filename":"file1"},{"photo_id":"1377107222","filename":"file0"},{"photo_id":"1377107320","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107342":["hashtag1","hashtag2"]},{"1377107339":["hashtag1","hashtag2"]},{"1377107252":["hashtag1","hashtag2"]},{"1377107222":["hashtag1","hashtag2"]},{"1377107320":["hashtag1","hashtag2"]},{"1377107286":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107342, 1377107339, 1377107252, 1377107222, 1377107320, 1377107286)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.2989456653595 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:17:02.773866 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/03/image_14082025_12_03_49_10539.jpg', '/media/data/images/14082025/12/03/image_14082025_12_03_58_9121.jpg', '/media/data/images/14082025/12/04/image_14082025_12_04_09_10488.jpg', '/media/data/images/14082025/12/04/image_14082025_12_04_19_10333.jpg', '/media/data/images/14082025/12/04/image_14082025_12_04_28_9221.jpg', '/media/data/images/14082025/12/04/image_14082025_12_04_38_10315.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/03/image_14082025_12_03_49_10539.jpg /media/data/images/14082025/12/03/image_14082025_12_03_58_9121.jpg /media/data/images/14082025/12/04/image_14082025_12_04_09_10488.jpg /media/data/images/14082025/12/04/image_14082025_12_04_19_10333.jpg /media/data/images/14082025/12/04/image_14082025_12_04_28_9221.jpg /media/data/images/14082025/12/04/image_14082025_12_04_38_10315.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107465","1377107512","1377107509","1377107503","1377107506","1377107514"],"photo_ids_order":["1377107465","1377107503","1377107506","1377107509","1377107512","1377107514"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43a5191ee4070c50f6e113befc1b34b7.jpg","text":"TemporaryFile(/tmp/multipartBody401871435025870371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199083795,"filename":"image_14082025_12_03_49_10539.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/176bf1131a5d9f059c8270d00d995e16.jpg","text":"TemporaryFile(/tmp/multipartBody1880324875690798908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199083795,"filename":"image_14082025_12_04_28_9221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/622fb8291a245493fb37d6983c7ae369.jpg","text":"TemporaryFile(/tmp/multipartBody6025749994533662647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199083795,"filename":"image_14082025_12_04_19_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2906857ef83bbd49f9da0773715f9c21.jpg","text":"TemporaryFile(/tmp/multipartBody9204729516236434566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199083795,"filename":"image_14082025_12_03_58_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52bf1784eae1b048c865d3e332c1c5da.jpg","text":"TemporaryFile(/tmp/multipartBody9023247233649081223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199083795,"filename":"image_14082025_12_04_09_10488.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13bf4da22574445aef1526442ede8573.jpg","text":"TemporaryFile(/tmp/multipartBody2161191018496740661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199083795,"filename":"image_14082025_12_04_38_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107506","file1":"1377107503","file0":"1377107465","file4":"1377107512","file5":"1377107514","file3":"1377107509"},"map_files_photo_id_array":[{"photo_id":"1377107514","filename":"file5"},{"photo_id":"1377107506","filename":"file2"},{"photo_id":"1377107512","filename":"file4"},{"photo_id":"1377107503","filename":"file1"},{"photo_id":"1377107465","filename":"file0"},{"photo_id":"1377107509","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107465":["hashtag1","hashtag2"]},{"1377107512":["hashtag1","hashtag2"]},{"1377107509":["hashtag1","hashtag2"]},{"1377107503":["hashtag1","hashtag2"]},{"1377107506":["hashtag1","hashtag2"]},{"1377107514":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107465, 1377107512, 1377107509, 1377107503, 1377107506, 1377107514)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.66182613372803 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:18:02.963329 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/04/image_14082025_12_04_49_10322.jpg', '/media/data/images/14082025/12/04/image_14082025_12_04_58_9138.jpg', '/media/data/images/14082025/12/04/image_14082025_12_05_09_10694.jpg', '/media/data/images/14082025/12/05/image_14082025_12_05_19_10323.jpg', '/media/data/images/14082025/12/05/image_14082025_12_05_28_9137.jpg', '/media/data/images/14082025/12/05/image_14082025_12_05_39_10451.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/04/image_14082025_12_04_49_10322.jpg /media/data/images/14082025/12/04/image_14082025_12_04_58_9138.jpg /media/data/images/14082025/12/04/image_14082025_12_05_09_10694.jpg /media/data/images/14082025/12/05/image_14082025_12_05_19_10323.jpg /media/data/images/14082025/12/05/image_14082025_12_05_28_9137.jpg /media/data/images/14082025/12/05/image_14082025_12_05_39_10451.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107570","1377107639","1377107575","1377107586","1377107610","1377107582"],"photo_ids_order":["1377107570","1377107575","1377107582","1377107586","1377107610","1377107639"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e74a78b3a04dbb5bbd1adb12a8afecba.jpg","text":"TemporaryFile(/tmp/multipartBody3874407343540446030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199143959,"filename":"image_14082025_12_04_49_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae035c3b6ff7bce2b1b420068e58b83b.jpg","text":"TemporaryFile(/tmp/multipartBody8795166489708839751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199143959,"filename":"image_14082025_12_05_39_10451.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb7b9c694f7e2844bff6239b2562d70a.jpg","text":"TemporaryFile(/tmp/multipartBody9101656918418562113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199143959,"filename":"image_14082025_12_04_58_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a83f86ba6b928ee952e890db8edcb51.jpg","text":"TemporaryFile(/tmp/multipartBody631404862407164936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199143959,"filename":"image_14082025_12_05_19_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea6f375bd9020dbc47d80a0fbc294733.jpg","text":"TemporaryFile(/tmp/multipartBody6694949177221952936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199143959,"filename":"image_14082025_12_05_28_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43a08531aed2c45ec98aeeb099f72fdb.jpg","text":"TemporaryFile(/tmp/multipartBody322959752826074908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199143959,"filename":"image_14082025_12_05_09_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107582","file1":"1377107575","file0":"1377107570","file4":"1377107610","file5":"1377107639","file3":"1377107586"},"map_files_photo_id_array":[{"photo_id":"1377107639","filename":"file5"},{"photo_id":"1377107582","filename":"file2"},{"photo_id":"1377107610","filename":"file4"},{"photo_id":"1377107575","filename":"file1"},{"photo_id":"1377107570","filename":"file0"},{"photo_id":"1377107586","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107570":["hashtag1","hashtag2"]},{"1377107639":["hashtag1","hashtag2"]},{"1377107575":["hashtag1","hashtag2"]},{"1377107586":["hashtag1","hashtag2"]},{"1377107610":["hashtag1","hashtag2"]},{"1377107582":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107570, 1377107639, 1377107575, 1377107586, 1377107610, 1377107582)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.55721950531006 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:19:03.389277 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/05/image_14082025_12_05_49_10300.jpg', '/media/data/images/14082025/12/05/image_14082025_12_05_58_9110.jpg', '/media/data/images/14082025/12/05/image_14082025_12_06_09_10575.jpg', '/media/data/images/14082025/12/06/image_14082025_12_06_19_10270.jpg', '/media/data/images/14082025/12/06/image_14082025_12_06_29_10236.jpg', '/media/data/images/14082025/12/06/image_14082025_12_06_38_9093.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/05/image_14082025_12_05_49_10300.jpg /media/data/images/14082025/12/05/image_14082025_12_05_58_9110.jpg /media/data/images/14082025/12/05/image_14082025_12_06_09_10575.jpg /media/data/images/14082025/12/06/image_14082025_12_06_19_10270.jpg /media/data/images/14082025/12/06/image_14082025_12_06_29_10236.jpg /media/data/images/14082025/12/06/image_14082025_12_06_38_9093.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107753","1377107756","1377107764","1377107760","1377107736","1377107745"],"photo_ids_order":["1377107736","1377107745","1377107753","1377107756","1377107760","1377107764"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ba9a697c811e548d54d83cae8c70a070.jpg","text":"TemporaryFile(/tmp/multipartBody7834684219002190177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199204508,"filename":"image_14082025_12_06_09_10575.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d70621e13da995d504ec621da8eb81c6.jpg","text":"TemporaryFile(/tmp/multipartBody3638272803372672627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199204508,"filename":"image_14082025_12_06_19_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5eb1cfc4c6194c356e2310d935d1789.jpg","text":"TemporaryFile(/tmp/multipartBody409776789538934378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199204508,"filename":"image_14082025_12_06_38_9093.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e28d5960dcdab59b5b0ba19b5f50c05d.jpg","text":"TemporaryFile(/tmp/multipartBody536626849898204305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199204508,"filename":"image_14082025_12_06_29_10236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5aa52b34ace97b39436050182a822796.jpg","text":"TemporaryFile(/tmp/multipartBody4506217328999234256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199204508,"filename":"image_14082025_12_05_49_10300.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e27f4e23f96a4957aa3267eb8888a38f.jpg","text":"TemporaryFile(/tmp/multipartBody1256040397061337068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199204508,"filename":"image_14082025_12_05_58_9110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107753","file1":"1377107745","file0":"1377107736","file4":"1377107760","file5":"1377107764","file3":"1377107756"},"map_files_photo_id_array":[{"photo_id":"1377107764","filename":"file5"},{"photo_id":"1377107753","filename":"file2"},{"photo_id":"1377107760","filename":"file4"},{"photo_id":"1377107745","filename":"file1"},{"photo_id":"1377107736","filename":"file0"},{"photo_id":"1377107756","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107753":["hashtag1","hashtag2"]},{"1377107756":["hashtag1","hashtag2"]},{"1377107764":["hashtag1","hashtag2"]},{"1377107760":["hashtag1","hashtag2"]},{"1377107736":["hashtag1","hashtag2"]},{"1377107745":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107753, 1377107756, 1377107764, 1377107760, 1377107736, 1377107745)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.913963317871094 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:20:03.115188 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/06/image_14082025_12_06_48_10327.jpg', '/media/data/images/14082025/12/06/image_14082025_12_06_59_10214.jpg', '/media/data/images/14082025/12/07/image_14082025_12_07_18_10221.jpg', '/media/data/images/14082025/12/07/image_14082025_12_07_28_10405.jpg', '/media/data/images/14082025/12/07/image_14082025_12_07_39_10246.jpg', '/media/data/images/14082025/12/07/image_14082025_12_07_49_10236.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/06/image_14082025_12_06_48_10327.jpg /media/data/images/14082025/12/06/image_14082025_12_06_59_10214.jpg /media/data/images/14082025/12/07/image_14082025_12_07_18_10221.jpg /media/data/images/14082025/12/07/image_14082025_12_07_28_10405.jpg /media/data/images/14082025/12/07/image_14082025_12_07_39_10246.jpg /media/data/images/14082025/12/07/image_14082025_12_07_49_10236.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107798","1377107810","1377107806","1377107803","1377107814","1377107817"],"photo_ids_order":["1377107798","1377107803","1377107806","1377107810","1377107814","1377107817"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1279660b91c3539a622bc29304a5e789.jpg","text":"TemporaryFile(/tmp/multipartBody3455036993899039378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199264202,"filename":"image_14082025_12_06_48_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee800074658f0f4f24e8c1828cd50247.jpg","text":"TemporaryFile(/tmp/multipartBody6336754010141822579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199264202,"filename":"image_14082025_12_07_28_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b52f6a719e1b48daa6ee1aa8b7e14604.jpg","text":"TemporaryFile(/tmp/multipartBody4250870311616688315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199264202,"filename":"image_14082025_12_07_18_10221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/419ead12325ba2d7c4d06ce2cfd3e2e7.jpg","text":"TemporaryFile(/tmp/multipartBody2023568914626378750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199264202,"filename":"image_14082025_12_06_59_10214.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2d3da42598a0f8e2f7f54d9ac82c3a5.jpg","text":"TemporaryFile(/tmp/multipartBody216305913832219205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199264202,"filename":"image_14082025_12_07_39_10246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e70f51aac56b891ed68521cfda605b1b.jpg","text":"TemporaryFile(/tmp/multipartBody7517875166678103457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199264202,"filename":"image_14082025_12_07_49_10236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107806","file1":"1377107803","file0":"1377107798","file4":"1377107814","file5":"1377107817","file3":"1377107810"},"map_files_photo_id_array":[{"photo_id":"1377107817","filename":"file5"},{"photo_id":"1377107806","filename":"file2"},{"photo_id":"1377107814","filename":"file4"},{"photo_id":"1377107803","filename":"file1"},{"photo_id":"1377107798","filename":"file0"},{"photo_id":"1377107810","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107798":["hashtag1","hashtag2"]},{"1377107810":["hashtag1","hashtag2"]},{"1377107806":["hashtag1","hashtag2"]},{"1377107803":["hashtag1","hashtag2"]},{"1377107814":["hashtag1","hashtag2"]},{"1377107817":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107798, 1377107810, 1377107806, 1377107803, 1377107814, 1377107817)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.318952798843384 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:21:03.210065 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/07/image_14082025_12_08_09_10593.jpg', '/media/data/images/14082025/12/08/image_14082025_12_08_19_10241.jpg', '/media/data/images/14082025/12/08/image_14082025_12_08_29_10247.jpg', '/media/data/images/14082025/12/08/image_14082025_12_08_38_9240.jpg', '/media/data/images/14082025/12/08/image_14082025_12_08_49_10360.jpg', '/media/data/images/14082025/12/08/image_14082025_12_08_59_10345.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/07/image_14082025_12_08_09_10593.jpg /media/data/images/14082025/12/08/image_14082025_12_08_19_10241.jpg /media/data/images/14082025/12/08/image_14082025_12_08_29_10247.jpg /media/data/images/14082025/12/08/image_14082025_12_08_38_9240.jpg /media/data/images/14082025/12/08/image_14082025_12_08_49_10360.jpg /media/data/images/14082025/12/08/image_14082025_12_08_59_10345.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377107861","1377107858","1377107863","1377107842","1377107830","1377107865"],"photo_ids_order":["1377107830","1377107842","1377107858","1377107861","1377107863","1377107865"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9bca6e9d41984909ac7c257e00abf36b.jpg","text":"TemporaryFile(/tmp/multipartBody5697089257508294207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199324352,"filename":"image_14082025_12_08_38_9240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c311f636485fe1f7395b00d4807dc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3745848312701536131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199324352,"filename":"image_14082025_12_08_29_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f58abc97e4e8cffe9014eb58a69220cc.jpg","text":"TemporaryFile(/tmp/multipartBody7505748826173350492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199324352,"filename":"image_14082025_12_08_49_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68a4c31aa3df79c9fae3ec9b345dc686.jpg","text":"TemporaryFile(/tmp/multipartBody669738834244314835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199324352,"filename":"image_14082025_12_08_19_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/40fb2e7bd6fd7c93c102c0f25b257c01.jpg","text":"TemporaryFile(/tmp/multipartBody7611670005728382974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199324352,"filename":"image_14082025_12_08_09_10593.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7b693ff21feb65613556973a8d08ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6231099769696957552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199324352,"filename":"image_14082025_12_08_59_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107858","file1":"1377107842","file0":"1377107830","file4":"1377107863","file5":"1377107865","file3":"1377107861"},"map_files_photo_id_array":[{"photo_id":"1377107865","filename":"file5"},{"photo_id":"1377107858","filename":"file2"},{"photo_id":"1377107863","filename":"file4"},{"photo_id":"1377107842","filename":"file1"},{"photo_id":"1377107830","filename":"file0"},{"photo_id":"1377107861","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377107861":["hashtag1","hashtag2"]},{"1377107858":["hashtag1","hashtag2"]},{"1377107863":["hashtag1","hashtag2"]},{"1377107842":["hashtag1","hashtag2"]},{"1377107830":["hashtag1","hashtag2"]},{"1377107865":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377107861, 1377107858, 1377107863, 1377107842, 1377107830, 1377107865)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 50.05132579803467 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:22:03.360438 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/09/image_14082025_12_09_08_9093.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_18_10252.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_29_10240.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_39_10268.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_48_9016.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_58_10247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/09/image_14082025_12_09_08_9093.jpg /media/data/images/14082025/12/09/image_14082025_12_09_18_10252.jpg /media/data/images/14082025/12/09/image_14082025_12_09_29_10240.jpg /media/data/images/14082025/12/09/image_14082025_12_09_39_10268.jpg /media/data/images/14082025/12/09/image_14082025_12_09_48_9016.jpg /media/data/images/14082025/12/09/image_14082025_12_09_58_10247.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6641016006469727 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:22:22.684828 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/09/image_14082025_12_09_08_9093.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_18_10252.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_29_10240.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_39_10268.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_48_9016.jpg', '/media/data/images/14082025/12/09/image_14082025_12_09_58_10247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/09/image_14082025_12_09_08_9093.jpg /media/data/images/14082025/12/09/image_14082025_12_09_18_10252.jpg /media/data/images/14082025/12/09/image_14082025_12_09_29_10240.jpg /media/data/images/14082025/12/09/image_14082025_12_09_39_10268.jpg /media/data/images/14082025/12/09/image_14082025_12_09_48_9016.jpg /media/data/images/14082025/12/09/image_14082025_12_09_58_10247.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377108011","1377107936","1377107977","1377107950","1377107926","1377107913"],"photo_ids_order":["1377107913","1377107926","1377107936","1377107950","1377107977","1377108011"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/afb91dd23971be6d7de285ac95a1b9b0.jpg","text":"TemporaryFile(/tmp/multipartBody8960139507468197233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199403660,"filename":"image_14082025_12_09_58_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a55d656a4463554f4db48c1baf1525b1.jpg","text":"TemporaryFile(/tmp/multipartBody6010357013374965096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199403660,"filename":"image_14082025_12_09_29_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07cd85e9c002a3be60c16b0daccf15db.jpg","text":"TemporaryFile(/tmp/multipartBody4738609751234576247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199403660,"filename":"image_14082025_12_09_48_9016.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d991adebc1bda069d109dac36920fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8179507938799352509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199403660,"filename":"image_14082025_12_09_39_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/616616d90d61cf1c158433b1e871beee.jpg","text":"TemporaryFile(/tmp/multipartBody1757890574603535918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199403660,"filename":"image_14082025_12_09_18_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/875a7b7b635ddb2f327ec25aa0c79aa4.jpg","text":"TemporaryFile(/tmp/multipartBody5700100551949505093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199403660,"filename":"image_14082025_12_09_08_9093.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377107936","file1":"1377107926","file0":"1377107913","file4":"1377107977","file5":"1377108011","file3":"1377107950"},"map_files_photo_id_array":[{"photo_id":"1377108011","filename":"file5"},{"photo_id":"1377107936","filename":"file2"},{"photo_id":"1377107977","filename":"file4"},{"photo_id":"1377107926","filename":"file1"},{"photo_id":"1377107913","filename":"file0"},{"photo_id":"1377107950","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377108011":["hashtag1","hashtag2"]},{"1377107936":["hashtag1","hashtag2"]},{"1377107977":["hashtag1","hashtag2"]},{"1377107950":["hashtag1","hashtag2"]},{"1377107926":["hashtag1","hashtag2"]},{"1377107913":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377108011, 1377107936, 1377107977, 1377107950, 1377107926, 1377107913)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.91927886009216 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:23:21.787534 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/10/image_14082025_12_10_08_10216.jpg', '/media/data/images/14082025/12/10/image_14082025_12_10_19_10244.jpg', '/media/data/images/14082025/12/10/image_14082025_12_10_38_9033.jpg', '/media/data/images/14082025/12/10/image_14082025_12_10_48_10313.jpg', '/media/data/images/14082025/12/10/image_14082025_12_10_59_10227.jpg', '/media/data/images/14082025/12/11/image_14082025_12_11_09_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/10/image_14082025_12_10_08_10216.jpg /media/data/images/14082025/12/10/image_14082025_12_10_19_10244.jpg /media/data/images/14082025/12/10/image_14082025_12_10_38_9033.jpg /media/data/images/14082025/12/10/image_14082025_12_10_48_10313.jpg /media/data/images/14082025/12/10/image_14082025_12_10_59_10227.jpg /media/data/images/14082025/12/11/image_14082025_12_11_09_10290.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377108308","1377108199","1377108202","1377108372","1377108219","1377108251"],"photo_ids_order":["1377108199","1377108202","1377108219","1377108251","1377108308","1377108372"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2c51c4dd4f949e1155ee4fa696f9c5b.jpg","text":"TemporaryFile(/tmp/multipartBody8859829760339710422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199462851,"filename":"image_14082025_12_10_59_10227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7e8a03413c228dbeddb74464aa4327fe.jpg","text":"TemporaryFile(/tmp/multipartBody1444611225491949967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199462851,"filename":"image_14082025_12_10_08_10216.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc3a234d67b144edb2280902891aac2e.jpg","text":"TemporaryFile(/tmp/multipartBody136123335586616841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199462851,"filename":"image_14082025_12_10_19_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5726eba008d859e6bc72fb2d108b5426.jpg","text":"TemporaryFile(/tmp/multipartBody600551431977055662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199462851,"filename":"image_14082025_12_11_09_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ec2f0429356a3d98702f63a1f7880c5.jpg","text":"TemporaryFile(/tmp/multipartBody545847232789496701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199462851,"filename":"image_14082025_12_10_38_9033.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ccd241817630d487b6d5cf178e050d9.jpg","text":"TemporaryFile(/tmp/multipartBody2248046492687695926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199462851,"filename":"image_14082025_12_10_48_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377108219","file1":"1377108202","file0":"1377108199","file4":"1377108308","file5":"1377108372","file3":"1377108251"},"map_files_photo_id_array":[{"photo_id":"1377108372","filename":"file5"},{"photo_id":"1377108219","filename":"file2"},{"photo_id":"1377108308","filename":"file4"},{"photo_id":"1377108202","filename":"file1"},{"photo_id":"1377108199","filename":"file0"},{"photo_id":"1377108251","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377108308":["hashtag1","hashtag2"]},{"1377108199":["hashtag1","hashtag2"]},{"1377108202":["hashtag1","hashtag2"]},{"1377108372":["hashtag1","hashtag2"]},{"1377108219":["hashtag1","hashtag2"]},{"1377108251":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377108308, 1377108199, 1377108202, 1377108372, 1377108219, 1377108251)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.0413978099823 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:24:21.892305 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/11/image_14082025_12_11_28_10315.jpg', '/media/data/images/14082025/12/11/image_14082025_12_11_39_10334.jpg', '/media/data/images/14082025/12/11/image_14082025_12_11_49_10336.jpg', '/media/data/images/14082025/12/11/image_14082025_12_11_58_9122.jpg', '/media/data/images/14082025/12/11/image_14082025_12_12_09_10629.jpg', '/media/data/images/14082025/12/12/image_14082025_12_12_19_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/11/image_14082025_12_11_28_10315.jpg /media/data/images/14082025/12/11/image_14082025_12_11_39_10334.jpg /media/data/images/14082025/12/11/image_14082025_12_11_49_10336.jpg /media/data/images/14082025/12/11/image_14082025_12_11_58_9122.jpg /media/data/images/14082025/12/11/image_14082025_12_12_09_10629.jpg /media/data/images/14082025/12/12/image_14082025_12_12_19_10368.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377108653","1377108548","1377108582","1377108535","1377108615","1377108683"],"photo_ids_order":["1377108535","1377108548","1377108582","1377108615","1377108653","1377108683"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d493fdd03719a04e1bb29c81c01b254.jpg","text":"TemporaryFile(/tmp/multipartBody6518963010641006331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199522885,"filename":"image_14082025_12_12_09_10629.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f8982a84e9099621280bd8fdd7f4aaea.jpg","text":"TemporaryFile(/tmp/multipartBody2000775467303031510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199522885,"filename":"image_14082025_12_11_39_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81c280ba91c6a6314e497d8689c039df.jpg","text":"TemporaryFile(/tmp/multipartBody4869523305514947911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199522885,"filename":"image_14082025_12_11_49_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c1b12dd6e89dd0228d53a31f4d198d9.jpg","text":"TemporaryFile(/tmp/multipartBody7601361636953129985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199522885,"filename":"image_14082025_12_11_28_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca80165ecede6debdc4e59e7903027c1.jpg","text":"TemporaryFile(/tmp/multipartBody1135959503476555693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199522885,"filename":"image_14082025_12_11_58_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8d354f2464f607eabcf48fbbad43375.jpg","text":"TemporaryFile(/tmp/multipartBody788919004619849793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199522885,"filename":"image_14082025_12_12_19_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377108582","file1":"1377108548","file0":"1377108535","file4":"1377108653","file5":"1377108683","file3":"1377108615"},"map_files_photo_id_array":[{"photo_id":"1377108683","filename":"file5"},{"photo_id":"1377108582","filename":"file2"},{"photo_id":"1377108653","filename":"file4"},{"photo_id":"1377108548","filename":"file1"},{"photo_id":"1377108535","filename":"file0"},{"photo_id":"1377108615","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377108653":["hashtag1","hashtag2"]},{"1377108548":["hashtag1","hashtag2"]},{"1377108582":["hashtag1","hashtag2"]},{"1377108535":["hashtag1","hashtag2"]},{"1377108615":["hashtag1","hashtag2"]},{"1377108683":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377108653, 1377108548, 1377108582, 1377108535, 1377108615, 1377108683)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.71809983253479 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:25:21.972611 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/12/image_14082025_12_12_28_9163.jpg', '/media/data/images/14082025/12/12/image_14082025_12_12_39_10401.jpg', '/media/data/images/14082025/12/12/image_14082025_12_12_49_10327.jpg', '/media/data/images/14082025/12/12/image_14082025_12_12_58_9128.jpg', '/media/data/images/14082025/12/12/image_14082025_12_13_09_10653.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_18_9229.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/12/image_14082025_12_12_28_9163.jpg /media/data/images/14082025/12/12/image_14082025_12_12_39_10401.jpg /media/data/images/14082025/12/12/image_14082025_12_12_49_10327.jpg /media/data/images/14082025/12/12/image_14082025_12_12_58_9128.jpg /media/data/images/14082025/12/12/image_14082025_12_13_09_10653.jpg /media/data/images/14082025/12/13/image_14082025_12_13_18_9229.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109153","1377109167","1377109143","1377109053","1377109094","1377109115"],"photo_ids_order":["1377109053","1377109094","1377109115","1377109143","1377109153","1377109167"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff23782bb39e5f8f13b0453bd3797821.jpg","text":"TemporaryFile(/tmp/multipartBody9133780968125460907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199582971,"filename":"image_14082025_12_13_09_10653.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8dc70a7e2c5632b0b6f50e4e9b992222.jpg","text":"TemporaryFile(/tmp/multipartBody1487142042626342551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199582971,"filename":"image_14082025_12_13_18_9229.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10cb6e1edbb5b836d2b201e319dea231.jpg","text":"TemporaryFile(/tmp/multipartBody3434527450809963100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199582971,"filename":"image_14082025_12_12_58_9128.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1fe7fe372adb590ef883abb3f2329033.jpg","text":"TemporaryFile(/tmp/multipartBody4308393435565459605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199582971,"filename":"image_14082025_12_12_28_9163.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9076169ef054755e9e6ba4eccf53dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5982881468394845999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199582971,"filename":"image_14082025_12_12_39_10401.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a5098052e7a78db3105beef4e339c86.jpg","text":"TemporaryFile(/tmp/multipartBody8182293037730998269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199582971,"filename":"image_14082025_12_12_49_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109115","file1":"1377109094","file0":"1377109053","file4":"1377109153","file5":"1377109167","file3":"1377109143"},"map_files_photo_id_array":[{"photo_id":"1377109167","filename":"file5"},{"photo_id":"1377109115","filename":"file2"},{"photo_id":"1377109153","filename":"file4"},{"photo_id":"1377109094","filename":"file1"},{"photo_id":"1377109053","filename":"file0"},{"photo_id":"1377109143","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109153":["hashtag1","hashtag2"]},{"1377109167":["hashtag1","hashtag2"]},{"1377109143":["hashtag1","hashtag2"]},{"1377109053":["hashtag1","hashtag2"]},{"1377109094":["hashtag1","hashtag2"]},{"1377109115":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109153, 1377109167, 1377109143, 1377109053, 1377109094, 1377109115)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.02505874633789 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:26:22.149930 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/13/image_14082025_12_13_28_10314.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_39_10414.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_48_9194.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_58_10365.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_09_10589.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_18_9162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/13/image_14082025_12_13_28_10314.jpg /media/data/images/14082025/12/13/image_14082025_12_13_39_10414.jpg /media/data/images/14082025/12/13/image_14082025_12_13_48_9194.jpg /media/data/images/14082025/12/13/image_14082025_12_13_58_10365.jpg /media/data/images/14082025/12/14/image_14082025_12_14_09_10589.jpg /media/data/images/14082025/12/14/image_14082025_12_14_18_9162.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5585117340087891 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:26:42.145589 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/13/image_14082025_12_13_28_10314.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_39_10414.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_48_9194.jpg', '/media/data/images/14082025/12/13/image_14082025_12_13_58_10365.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_09_10589.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_18_9162.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/13/image_14082025_12_13_28_10314.jpg /media/data/images/14082025/12/13/image_14082025_12_13_39_10414.jpg /media/data/images/14082025/12/13/image_14082025_12_13_48_9194.jpg /media/data/images/14082025/12/13/image_14082025_12_13_58_10365.jpg /media/data/images/14082025/12/14/image_14082025_12_14_09_10589.jpg /media/data/images/14082025/12/14/image_14082025_12_14_18_9162.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109240","1377109315","1377109260","1377109320","1377109323","1377109265"],"photo_ids_order":["1377109240","1377109260","1377109265","1377109315","1377109320","1377109323"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13d561397ed7158ff599997249164a45.jpg","text":"TemporaryFile(/tmp/multipartBody5050979735334882861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199663072,"filename":"image_14082025_12_13_28_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/724034d79123c073d093f44c2bdaa02f.jpg","text":"TemporaryFile(/tmp/multipartBody5092722132953234227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199663072,"filename":"image_14082025_12_13_58_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d42325ab0e2c857a90b0668c089435f4.jpg","text":"TemporaryFile(/tmp/multipartBody7331484693788236337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199663072,"filename":"image_14082025_12_13_39_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df8bb3e735d4b00426ca1aa322f0319a.jpg","text":"TemporaryFile(/tmp/multipartBody6856426286746168768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199663072,"filename":"image_14082025_12_14_09_10589.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb9d77983ea4a9da6eed0c8cac48a037.jpg","text":"TemporaryFile(/tmp/multipartBody5652436502756854395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199663072,"filename":"image_14082025_12_14_18_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f65a6eb700215bc2a41eba96a93d457f.jpg","text":"TemporaryFile(/tmp/multipartBody7910344613662096859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199663072,"filename":"image_14082025_12_13_48_9194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109265","file1":"1377109260","file0":"1377109240","file4":"1377109320","file5":"1377109323","file3":"1377109315"},"map_files_photo_id_array":[{"photo_id":"1377109323","filename":"file5"},{"photo_id":"1377109265","filename":"file2"},{"photo_id":"1377109320","filename":"file4"},{"photo_id":"1377109260","filename":"file1"},{"photo_id":"1377109240","filename":"file0"},{"photo_id":"1377109315","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109240":["hashtag1","hashtag2"]},{"1377109315":["hashtag1","hashtag2"]},{"1377109260":["hashtag1","hashtag2"]},{"1377109320":["hashtag1","hashtag2"]},{"1377109323":["hashtag1","hashtag2"]},{"1377109265":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109240, 1377109315, 1377109260, 1377109320, 1377109323, 1377109265)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.18820357322693 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:27:42.259101 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/14/image_14082025_12_14_28_10444.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_39_10318.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_48_9105.jpg', '/media/data/images/14082025/12/14/image_14082025_12_14_58_10365.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_08_10269.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_19_10367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/14/image_14082025_12_14_28_10444.jpg /media/data/images/14082025/12/14/image_14082025_12_14_39_10318.jpg /media/data/images/14082025/12/14/image_14082025_12_14_48_9105.jpg /media/data/images/14082025/12/14/image_14082025_12_14_58_10365.jpg /media/data/images/14082025/12/15/image_14082025_12_15_08_10269.jpg /media/data/images/14082025/12/15/image_14082025_12_15_19_10367.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109335","1377109344","1377109419","1377109376","1377109409","1377109337"],"photo_ids_order":["1377109335","1377109337","1377109344","1377109376","1377109409","1377109419"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71e9f6c293579d98b892892210890e5c.jpg","text":"TemporaryFile(/tmp/multipartBody219770325864833277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199723259,"filename":"image_14082025_12_14_28_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb0ba3887024c745baa6c316ee2687b8.jpg","text":"TemporaryFile(/tmp/multipartBody4017730705513336745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199723259,"filename":"image_14082025_12_14_48_9105.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb12f33b555012527c5c0e8a65eb3433.jpg","text":"TemporaryFile(/tmp/multipartBody2669103595201443022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199723259,"filename":"image_14082025_12_15_19_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4ed23e143d10aba2a0ad5b23486505e3.jpg","text":"TemporaryFile(/tmp/multipartBody8836749057891103404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199723259,"filename":"image_14082025_12_14_58_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c591c186a9da43d98403a2acf416e2b8.jpg","text":"TemporaryFile(/tmp/multipartBody6747842242140971159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199723259,"filename":"image_14082025_12_15_08_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/81daa0e6495329216e1b4feae3803692.jpg","text":"TemporaryFile(/tmp/multipartBody3003700210588329516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199723259,"filename":"image_14082025_12_14_39_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109344","file1":"1377109337","file0":"1377109335","file4":"1377109409","file5":"1377109419","file3":"1377109376"},"map_files_photo_id_array":[{"photo_id":"1377109419","filename":"file5"},{"photo_id":"1377109344","filename":"file2"},{"photo_id":"1377109409","filename":"file4"},{"photo_id":"1377109337","filename":"file1"},{"photo_id":"1377109335","filename":"file0"},{"photo_id":"1377109376","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109335":["hashtag1","hashtag2"]},{"1377109344":["hashtag1","hashtag2"]},{"1377109419":["hashtag1","hashtag2"]},{"1377109376":["hashtag1","hashtag2"]},{"1377109409":["hashtag1","hashtag2"]},{"1377109337":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109335, 1377109344, 1377109419, 1377109376, 1377109409, 1377109337)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.657740116119385 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:28:42.330819 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/15/image_14082025_12_15_28_9095.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_38_10331.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_49_10340.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_59_10269.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_08_9108.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_18_10293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/15/image_14082025_12_15_28_9095.jpg /media/data/images/14082025/12/15/image_14082025_12_15_38_10331.jpg /media/data/images/14082025/12/15/image_14082025_12_15_49_10340.jpg /media/data/images/14082025/12/15/image_14082025_12_15_59_10269.jpg /media/data/images/14082025/12/16/image_14082025_12_16_08_9108.jpg /media/data/images/14082025/12/16/image_14082025_12_16_18_10293.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5959901809692383 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:29:03.774499 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/15/image_14082025_12_15_28_9095.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_38_10331.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_49_10340.jpg', '/media/data/images/14082025/12/15/image_14082025_12_15_59_10269.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_08_9108.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_18_10293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/15/image_14082025_12_15_28_9095.jpg /media/data/images/14082025/12/15/image_14082025_12_15_38_10331.jpg /media/data/images/14082025/12/15/image_14082025_12_15_49_10340.jpg /media/data/images/14082025/12/15/image_14082025_12_15_59_10269.jpg /media/data/images/14082025/12/16/image_14082025_12_16_08_9108.jpg /media/data/images/14082025/12/16/image_14082025_12_16_18_10293.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109543","1377109531","1377109535","1377109538","1377109523","1377109547"],"photo_ids_order":["1377109523","1377109531","1377109535","1377109538","1377109543","1377109547"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/259bd10e3b5e2c5e07f3d9fa05769453.jpg","text":"TemporaryFile(/tmp/multipartBody4881826875103335716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199804743,"filename":"image_14082025_12_16_08_9108.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1d0bd12a64648b800c9b9d4820e4a79d.jpg","text":"TemporaryFile(/tmp/multipartBody7108434366279845365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199804743,"filename":"image_14082025_12_15_38_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b788ba02b25bf53245a57372e0cd9acc.jpg","text":"TemporaryFile(/tmp/multipartBody2479690185729116711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199804743,"filename":"image_14082025_12_15_49_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d77590cb31d08692073557472d9d105a.jpg","text":"TemporaryFile(/tmp/multipartBody2440732657111401440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199804743,"filename":"image_14082025_12_15_59_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c08021b731201cd53e8c06eb554a534.jpg","text":"TemporaryFile(/tmp/multipartBody7354906387983258714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199804743,"filename":"image_14082025_12_15_28_9095.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9fb0b6c66a7344da3dd9d1309a16c55.jpg","text":"TemporaryFile(/tmp/multipartBody3316783977209879441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199804743,"filename":"image_14082025_12_16_18_10293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109535","file1":"1377109531","file0":"1377109523","file4":"1377109543","file5":"1377109547","file3":"1377109538"},"map_files_photo_id_array":[{"photo_id":"1377109547","filename":"file5"},{"photo_id":"1377109535","filename":"file2"},{"photo_id":"1377109543","filename":"file4"},{"photo_id":"1377109531","filename":"file1"},{"photo_id":"1377109523","filename":"file0"},{"photo_id":"1377109538","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109543":["hashtag1","hashtag2"]},{"1377109531":["hashtag1","hashtag2"]},{"1377109535":["hashtag1","hashtag2"]},{"1377109538":["hashtag1","hashtag2"]},{"1377109523":["hashtag1","hashtag2"]},{"1377109547":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109543, 1377109531, 1377109535, 1377109538, 1377109523, 1377109547)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.24862742424011 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:30:03.285120 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/16/image_14082025_12_16_29_10318.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_39_10410.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_48_9200.jpg', '/media/data/images/14082025/12/16/image_14082025_12_16_59_10449.jpg', '/media/data/images/14082025/12/17/image_14082025_12_17_09_10350.jpg', '/media/data/images/14082025/12/17/image_14082025_12_17_18_9145.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/16/image_14082025_12_16_29_10318.jpg /media/data/images/14082025/12/16/image_14082025_12_16_39_10410.jpg /media/data/images/14082025/12/16/image_14082025_12_16_48_9200.jpg /media/data/images/14082025/12/16/image_14082025_12_16_59_10449.jpg /media/data/images/14082025/12/17/image_14082025_12_17_09_10350.jpg /media/data/images/14082025/12/17/image_14082025_12_17_18_9145.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109744","1377109636","1377109671","1377109598","1377109781","1377109706"],"photo_ids_order":["1377109598","1377109636","1377109671","1377109706","1377109744","1377109781"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ffbf3017e13f9b3864b5065346d99e6.jpg","text":"TemporaryFile(/tmp/multipartBody6531672228129527241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199864374,"filename":"image_14082025_12_17_09_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5114541d8320f8b90904c5e97bb05b69.jpg","text":"TemporaryFile(/tmp/multipartBody8925095994258481066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199864374,"filename":"image_14082025_12_16_39_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ebd1d0f34448d68694fc98bfdc15d4f2.jpg","text":"TemporaryFile(/tmp/multipartBody2783787111604689753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199864374,"filename":"image_14082025_12_16_48_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0777cd8d18d207c6755b921447e3c73c.jpg","text":"TemporaryFile(/tmp/multipartBody5502483438972250321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199864374,"filename":"image_14082025_12_16_29_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/182996491e7aa2f8eb879711eb7fdf39.jpg","text":"TemporaryFile(/tmp/multipartBody6570648399271432724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199864374,"filename":"image_14082025_12_17_18_9145.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8db38143eb18d7eb2ccdd3b0a3d9dd83.jpg","text":"TemporaryFile(/tmp/multipartBody4114031766674235879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199864374,"filename":"image_14082025_12_16_59_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109671","file1":"1377109636","file0":"1377109598","file4":"1377109744","file5":"1377109781","file3":"1377109706"},"map_files_photo_id_array":[{"photo_id":"1377109781","filename":"file5"},{"photo_id":"1377109671","filename":"file2"},{"photo_id":"1377109744","filename":"file4"},{"photo_id":"1377109636","filename":"file1"},{"photo_id":"1377109598","filename":"file0"},{"photo_id":"1377109706","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109744":["hashtag1","hashtag2"]},{"1377109636":["hashtag1","hashtag2"]},{"1377109671":["hashtag1","hashtag2"]},{"1377109598":["hashtag1","hashtag2"]},{"1377109781":["hashtag1","hashtag2"]},{"1377109706":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109744, 1377109636, 1377109671, 1377109598, 1377109781, 1377109706)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07165741920471 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:31:03.492911 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/17/image_14082025_12_17_29_10431.jpg', '/media/data/images/14082025/12/17/image_14082025_12_17_39_10304.jpg', '/media/data/images/14082025/12/17/image_14082025_12_17_48_9050.jpg', '/media/data/images/14082025/12/17/image_14082025_12_17_58_10350.jpg', '/media/data/images/14082025/12/18/image_14082025_12_18_09_10458.jpg', '/media/data/images/14082025/12/18/image_14082025_12_18_19_10257.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/17/image_14082025_12_17_29_10431.jpg /media/data/images/14082025/12/17/image_14082025_12_17_39_10304.jpg /media/data/images/14082025/12/17/image_14082025_12_17_48_9050.jpg /media/data/images/14082025/12/17/image_14082025_12_17_58_10350.jpg /media/data/images/14082025/12/18/image_14082025_12_18_09_10458.jpg /media/data/images/14082025/12/18/image_14082025_12_18_19_10257.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109846","1377109857","1377109865","1377109859","1377109868","1377109862"],"photo_ids_order":["1377109846","1377109857","1377109859","1377109862","1377109865","1377109868"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/85ce3505d4ec5c268c6017c5b0bc9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3278462873533834889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199924614,"filename":"image_14082025_12_17_29_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ea0688ce6be9e0478298b62d5cfc5b8.jpg","text":"TemporaryFile(/tmp/multipartBody1550804304626325511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199924614,"filename":"image_14082025_12_17_39_10304.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b02e065e313c3e9c206e842c955a7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2860648882251955949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199924614,"filename":"image_14082025_12_18_09_10458.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be2179aff105acd55b90ee10ff6207c4.jpg","text":"TemporaryFile(/tmp/multipartBody8685824153294240611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199924614,"filename":"image_14082025_12_17_48_9050.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/65f032895289ff30c2b4c0e40d51e468.jpg","text":"TemporaryFile(/tmp/multipartBody3306272007718292187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199924614,"filename":"image_14082025_12_18_19_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da512533d63f24d5bdd660a26faa5e07.jpg","text":"TemporaryFile(/tmp/multipartBody7225363570046848584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199924614,"filename":"image_14082025_12_17_58_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109859","file1":"1377109857","file0":"1377109846","file4":"1377109865","file5":"1377109868","file3":"1377109862"},"map_files_photo_id_array":[{"photo_id":"1377109868","filename":"file5"},{"photo_id":"1377109859","filename":"file2"},{"photo_id":"1377109865","filename":"file4"},{"photo_id":"1377109857","filename":"file1"},{"photo_id":"1377109846","filename":"file0"},{"photo_id":"1377109862","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109846":["hashtag1","hashtag2"]},{"1377109857":["hashtag1","hashtag2"]},{"1377109865":["hashtag1","hashtag2"]},{"1377109859":["hashtag1","hashtag2"]},{"1377109868":["hashtag1","hashtag2"]},{"1377109862":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109846, 1377109857, 1377109865, 1377109859, 1377109868, 1377109862)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.80511283874512 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:32:02.584894 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/18/image_14082025_12_18_28_9046.jpg', '/media/data/images/14082025/12/18/image_14082025_12_18_38_10267.jpg', '/media/data/images/14082025/12/18/image_14082025_12_18_49_10321.jpg', '/media/data/images/14082025/12/18/image_14082025_12_18_59_10269.jpg', '/media/data/images/14082025/12/19/image_14082025_12_19_08_9162.jpg', '/media/data/images/14082025/12/19/image_14082025_12_19_18_10270.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/18/image_14082025_12_18_28_9046.jpg /media/data/images/14082025/12/18/image_14082025_12_18_38_10267.jpg /media/data/images/14082025/12/18/image_14082025_12_18_49_10321.jpg /media/data/images/14082025/12/18/image_14082025_12_18_59_10269.jpg /media/data/images/14082025/12/19/image_14082025_12_19_08_9162.jpg /media/data/images/14082025/12/19/image_14082025_12_19_18_10270.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109876","1377109879","1377109887","1377109872","1377109883","1377109891"],"photo_ids_order":["1377109872","1377109876","1377109879","1377109883","1377109887","1377109891"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e44283db9ad04c581a958290ea21b3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1982420681454316918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199983684,"filename":"image_14082025_12_18_38_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b78edde412c10960913b812af9f280b4.jpg","text":"TemporaryFile(/tmp/multipartBody5169917893756175514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199983684,"filename":"image_14082025_12_18_49_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e69b748dd1d18b1cb445411220ce638.jpg","text":"TemporaryFile(/tmp/multipartBody453909819331547407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199983684,"filename":"image_14082025_12_19_08_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de254b2a3f41a0923fa6775b4002128a.jpg","text":"TemporaryFile(/tmp/multipartBody7243484771613904860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199983684,"filename":"image_14082025_12_18_28_9046.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b995c8e889a2e1fad7c5930a776f11d.jpg","text":"TemporaryFile(/tmp/multipartBody5910856715459183966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199983684,"filename":"image_14082025_12_18_59_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9450f713f10ff7676bb2ec696e727b8d.jpg","text":"TemporaryFile(/tmp/multipartBody715264996840353590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755199983684,"filename":"image_14082025_12_19_18_10270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109879","file1":"1377109876","file0":"1377109872","file4":"1377109887","file5":"1377109891","file3":"1377109883"},"map_files_photo_id_array":[{"photo_id":"1377109891","filename":"file5"},{"photo_id":"1377109879","filename":"file2"},{"photo_id":"1377109887","filename":"file4"},{"photo_id":"1377109876","filename":"file1"},{"photo_id":"1377109872","filename":"file0"},{"photo_id":"1377109883","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109876":["hashtag1","hashtag2"]},{"1377109879":["hashtag1","hashtag2"]},{"1377109887":["hashtag1","hashtag2"]},{"1377109872":["hashtag1","hashtag2"]},{"1377109883":["hashtag1","hashtag2"]},{"1377109891":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109876, 1377109879, 1377109887, 1377109872, 1377109883, 1377109891)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.435909032821655 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:33:02.713605 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/19/image_14082025_12_19_29_10351.jpg', '/media/data/images/14082025/12/19/image_14082025_12_19_39_10309.jpg', '/media/data/images/14082025/12/19/image_14082025_12_19_48_9032.jpg', '/media/data/images/14082025/12/19/image_14082025_12_19_58_10298.jpg', '/media/data/images/14082025/12/20/image_14082025_12_20_09_10333.jpg', '/media/data/images/14082025/12/20/image_14082025_12_20_19_10351.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/19/image_14082025_12_19_29_10351.jpg /media/data/images/14082025/12/19/image_14082025_12_19_39_10309.jpg /media/data/images/14082025/12/19/image_14082025_12_19_48_9032.jpg /media/data/images/14082025/12/19/image_14082025_12_19_58_10298.jpg /media/data/images/14082025/12/20/image_14082025_12_20_09_10333.jpg /media/data/images/14082025/12/20/image_14082025_12_20_19_10351.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109906","1377109920","1377109923","1377109917","1377109911","1377109925"],"photo_ids_order":["1377109906","1377109911","1377109917","1377109920","1377109923","1377109925"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ed7a3988795604a8ce00ef73320a2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8254211997793250608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200043854,"filename":"image_14082025_12_19_29_10351.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/daee1ee65ff323a9d968d02728fe32fe.jpg","text":"TemporaryFile(/tmp/multipartBody8806487737357053538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200043854,"filename":"image_14082025_12_19_58_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3d5ffd9741d919a193b6a397e9cafe0.jpg","text":"TemporaryFile(/tmp/multipartBody7407560012333180112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200043854,"filename":"image_14082025_12_20_09_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27140dee1c4c77c70b1680d3f1ee4979.jpg","text":"TemporaryFile(/tmp/multipartBody1883032402029998343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200043854,"filename":"image_14082025_12_19_48_9032.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c6a136679a2aff63caf037110202bd2.jpg","text":"TemporaryFile(/tmp/multipartBody5364602417294654201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200043854,"filename":"image_14082025_12_19_39_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f392b2a75f0489aa61052806a1854a9.jpg","text":"TemporaryFile(/tmp/multipartBody4481960672443685875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200043854,"filename":"image_14082025_12_20_19_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109917","file1":"1377109911","file0":"1377109906","file4":"1377109923","file5":"1377109925","file3":"1377109920"},"map_files_photo_id_array":[{"photo_id":"1377109925","filename":"file5"},{"photo_id":"1377109917","filename":"file2"},{"photo_id":"1377109923","filename":"file4"},{"photo_id":"1377109911","filename":"file1"},{"photo_id":"1377109906","filename":"file0"},{"photo_id":"1377109920","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109906":["hashtag1","hashtag2"]},{"1377109920":["hashtag1","hashtag2"]},{"1377109923":["hashtag1","hashtag2"]},{"1377109917":["hashtag1","hashtag2"]},{"1377109911":["hashtag1","hashtag2"]},{"1377109925":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109906, 1377109920, 1377109923, 1377109917, 1377109911, 1377109925)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.79162859916687 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:34:02.864850 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/20/image_14082025_12_20_28_9049.jpg', '/media/data/images/14082025/12/20/image_14082025_12_20_38_10267.jpg', '/media/data/images/14082025/12/20/image_14082025_12_20_49_10421.jpg', '/media/data/images/14082025/12/20/image_14082025_12_20_58_9321.jpg', '/media/data/images/14082025/12/21/image_14082025_12_21_09_10485.jpg', '/media/data/images/14082025/12/21/image_14082025_12_21_19_10273.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/20/image_14082025_12_20_28_9049.jpg /media/data/images/14082025/12/20/image_14082025_12_20_38_10267.jpg /media/data/images/14082025/12/20/image_14082025_12_20_49_10421.jpg /media/data/images/14082025/12/20/image_14082025_12_20_58_9321.jpg /media/data/images/14082025/12/21/image_14082025_12_21_09_10485.jpg /media/data/images/14082025/12/21/image_14082025_12_21_19_10273.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377109954","1377109945","1377109947","1377109950","1377109958","1377109940"],"photo_ids_order":["1377109940","1377109945","1377109947","1377109950","1377109954","1377109958"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb233c1277cbf0dc13807f3a0de920e7.jpg","text":"TemporaryFile(/tmp/multipartBody3557517826620540016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200103944,"filename":"image_14082025_12_21_09_10485.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/693837e5a4ec7c9ea2cd2cf5815ee6bc.jpg","text":"TemporaryFile(/tmp/multipartBody1865340346437495330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200103944,"filename":"image_14082025_12_20_38_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36565719b17fa8ab03378a268a0c63f1.jpg","text":"TemporaryFile(/tmp/multipartBody6798673615412631255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200103944,"filename":"image_14082025_12_20_49_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24ed9d070c4f8694ea30eb30edf1860d.jpg","text":"TemporaryFile(/tmp/multipartBody4239878975406810046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200103944,"filename":"image_14082025_12_20_58_9321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b10068a1a3bdb73734755c66c434fa3d.jpg","text":"TemporaryFile(/tmp/multipartBody5760673727913535848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200103944,"filename":"image_14082025_12_21_19_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21b37a0fcd52dc489958893006b66f14.jpg","text":"TemporaryFile(/tmp/multipartBody6600218114612819638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200103944,"filename":"image_14082025_12_20_28_9049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377109947","file1":"1377109945","file0":"1377109940","file4":"1377109954","file5":"1377109958","file3":"1377109950"},"map_files_photo_id_array":[{"photo_id":"1377109958","filename":"file5"},{"photo_id":"1377109947","filename":"file2"},{"photo_id":"1377109954","filename":"file4"},{"photo_id":"1377109945","filename":"file1"},{"photo_id":"1377109940","filename":"file0"},{"photo_id":"1377109950","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377109954":["hashtag1","hashtag2"]},{"1377109945":["hashtag1","hashtag2"]},{"1377109947":["hashtag1","hashtag2"]},{"1377109950":["hashtag1","hashtag2"]},{"1377109958":["hashtag1","hashtag2"]},{"1377109940":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377109954, 1377109945, 1377109947, 1377109950, 1377109958, 1377109940)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.239630937576294 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:35:03.109630 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/21/image_14082025_12_21_28_9157.jpg', '/media/data/images/14082025/12/21/image_14082025_12_21_38_10263.jpg', '/media/data/images/14082025/12/21/image_14082025_12_21_49_10404.jpg', '/media/data/images/14082025/12/21/image_14082025_12_21_59_10352.jpg', '/media/data/images/14082025/12/22/image_14082025_12_22_08_9389.jpg', '/media/data/images/14082025/12/22/image_14082025_12_22_19_10267.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/21/image_14082025_12_21_28_9157.jpg /media/data/images/14082025/12/21/image_14082025_12_21_38_10263.jpg /media/data/images/14082025/12/21/image_14082025_12_21_49_10404.jpg /media/data/images/14082025/12/21/image_14082025_12_21_59_10352.jpg /media/data/images/14082025/12/22/image_14082025_12_22_08_9389.jpg /media/data/images/14082025/12/22/image_14082025_12_22_19_10267.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377110027","1377110135","1377110065","1377110101","1377110205","1377110171"],"photo_ids_order":["1377110027","1377110065","1377110101","1377110135","1377110171","1377110205"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f965ceb21ec3c9d47c55669e7497e4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1097188803757705393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200164215,"filename":"image_14082025_12_21_28_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c32ea5b874232de541cd12971f771aa.jpg","text":"TemporaryFile(/tmp/multipartBody8529713231930008880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200164215,"filename":"image_14082025_12_21_59_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62a1bc88cd2b952d635fca31c46b71b7.jpg","text":"TemporaryFile(/tmp/multipartBody9093477178794134607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200164215,"filename":"image_14082025_12_21_38_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/749e1be8b12e303e3eb3be0788d03512.jpg","text":"TemporaryFile(/tmp/multipartBody2475595816143793205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200164215,"filename":"image_14082025_12_21_49_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c7faa3d415e035e8004a32507dfede1a.jpg","text":"TemporaryFile(/tmp/multipartBody2478409153205986135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200164215,"filename":"image_14082025_12_22_19_10267.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44db5091873c996053fb73825ceb09d5.jpg","text":"TemporaryFile(/tmp/multipartBody4678998042361710229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200164215,"filename":"image_14082025_12_22_08_9389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377110101","file1":"1377110065","file0":"1377110027","file4":"1377110171","file5":"1377110205","file3":"1377110135"},"map_files_photo_id_array":[{"photo_id":"1377110205","filename":"file5"},{"photo_id":"1377110101","filename":"file2"},{"photo_id":"1377110171","filename":"file4"},{"photo_id":"1377110065","filename":"file1"},{"photo_id":"1377110027","filename":"file0"},{"photo_id":"1377110135","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377110027":["hashtag1","hashtag2"]},{"1377110135":["hashtag1","hashtag2"]},{"1377110065":["hashtag1","hashtag2"]},{"1377110101":["hashtag1","hashtag2"]},{"1377110205":["hashtag1","hashtag2"]},{"1377110171":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377110027, 1377110135, 1377110065, 1377110101, 1377110205, 1377110171)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.49726963043213 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:36:02.698427 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/22/image_14082025_12_22_29_10273.jpg', '/media/data/images/14082025/12/22/image_14082025_12_22_38_9023.jpg', '/media/data/images/14082025/12/22/image_14082025_12_22_48_10358.jpg', '/media/data/images/14082025/12/22/image_14082025_12_22_59_10274.jpg', '/media/data/images/14082025/12/23/image_14082025_12_23_09_10348.jpg', '/media/data/images/14082025/12/23/image_14082025_12_23_28_10290.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/22/image_14082025_12_22_29_10273.jpg /media/data/images/14082025/12/22/image_14082025_12_22_38_9023.jpg /media/data/images/14082025/12/22/image_14082025_12_22_48_10358.jpg /media/data/images/14082025/12/22/image_14082025_12_22_59_10274.jpg /media/data/images/14082025/12/23/image_14082025_12_23_09_10348.jpg /media/data/images/14082025/12/23/image_14082025_12_23_28_10290.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377110408","1377110421","1377110387","1377110319","1377110310","1377110357"],"photo_ids_order":["1377110310","1377110319","1377110357","1377110387","1377110408","1377110421"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f82ade616ecea6ba147de87eec1a94fa.jpg","text":"TemporaryFile(/tmp/multipartBody5216617973804086808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200223776,"filename":"image_14082025_12_23_09_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c58bb7b6893a140e5f28218fc38bfcdc.jpg","text":"TemporaryFile(/tmp/multipartBody1413562072879047436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200223776,"filename":"image_14082025_12_23_28_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f4fc8fa9ac0c28971d74631773c0551.jpg","text":"TemporaryFile(/tmp/multipartBody464948103025857790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200223776,"filename":"image_14082025_12_22_59_10274.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3e532513c9883d026bccbe2054efa32.jpg","text":"TemporaryFile(/tmp/multipartBody3188550492913847251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200223776,"filename":"image_14082025_12_22_38_9023.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e34a4444b2d49ab00b9ef2ef3f922381.jpg","text":"TemporaryFile(/tmp/multipartBody629798893938838622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200223776,"filename":"image_14082025_12_22_29_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae828ec790e2599a91920f5e00e6467f.jpg","text":"TemporaryFile(/tmp/multipartBody341806434158472691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200223776,"filename":"image_14082025_12_22_48_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377110357","file1":"1377110319","file0":"1377110310","file4":"1377110408","file5":"1377110421","file3":"1377110387"},"map_files_photo_id_array":[{"photo_id":"1377110421","filename":"file5"},{"photo_id":"1377110357","filename":"file2"},{"photo_id":"1377110408","filename":"file4"},{"photo_id":"1377110319","filename":"file1"},{"photo_id":"1377110310","filename":"file0"},{"photo_id":"1377110387","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377110408":["hashtag1","hashtag2"]},{"1377110421":["hashtag1","hashtag2"]},{"1377110387":["hashtag1","hashtag2"]},{"1377110319":["hashtag1","hashtag2"]},{"1377110310":["hashtag1","hashtag2"]},{"1377110357":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377110408, 1377110421, 1377110387, 1377110319, 1377110310, 1377110357)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.29083204269409 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:37:03.031189 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/23/image_14082025_12_23_39_10385.jpg', '/media/data/images/14082025/12/23/image_14082025_12_23_49_10315.jpg', '/media/data/images/14082025/12/23/image_14082025_12_23_58_9147.jpg', '/media/data/images/14082025/12/24/image_14082025_12_24_09_10371.jpg', '/media/data/images/14082025/12/24/image_14082025_12_24_19_10327.jpg', '/media/data/images/14082025/12/24/image_14082025_12_24_28_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/23/image_14082025_12_23_39_10385.jpg /media/data/images/14082025/12/23/image_14082025_12_23_49_10315.jpg /media/data/images/14082025/12/23/image_14082025_12_23_58_9147.jpg /media/data/images/14082025/12/24/image_14082025_12_24_09_10371.jpg /media/data/images/14082025/12/24/image_14082025_12_24_19_10327.jpg /media/data/images/14082025/12/24/image_14082025_12_24_28_9123.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377110821","1377110784","1377110716","1377110751","1377110684","1377110648"],"photo_ids_order":["1377110648","1377110684","1377110716","1377110751","1377110784","1377110821"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d7a4ac461656e081da2720a31967e26.jpg","text":"TemporaryFile(/tmp/multipartBody1294749464212470032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200284038,"filename":"image_14082025_12_24_28_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de5ec544e432879213b0265d8233feea.jpg","text":"TemporaryFile(/tmp/multipartBody1239768828481906869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200284038,"filename":"image_14082025_12_24_19_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8cedb93dbef5f2aff22e79b1ad0e3e77.jpg","text":"TemporaryFile(/tmp/multipartBody1330981815985959479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200284038,"filename":"image_14082025_12_23_58_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51bdd9e9ededecb75e131dd370739bee.jpg","text":"TemporaryFile(/tmp/multipartBody8233823392231549054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200284038,"filename":"image_14082025_12_24_09_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2ccb534e0c10242b317994515e434e6.jpg","text":"TemporaryFile(/tmp/multipartBody5089543980353864055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200284038,"filename":"image_14082025_12_23_49_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f83a1983b8ad675beac01ea67e217f9.jpg","text":"TemporaryFile(/tmp/multipartBody2267491872023258983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200284038,"filename":"image_14082025_12_23_39_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377110716","file1":"1377110684","file0":"1377110648","file4":"1377110784","file5":"1377110821","file3":"1377110751"},"map_files_photo_id_array":[{"photo_id":"1377110821","filename":"file5"},{"photo_id":"1377110716","filename":"file2"},{"photo_id":"1377110784","filename":"file4"},{"photo_id":"1377110684","filename":"file1"},{"photo_id":"1377110648","filename":"file0"},{"photo_id":"1377110751","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377110821":["hashtag1","hashtag2"]},{"1377110784":["hashtag1","hashtag2"]},{"1377110716":["hashtag1","hashtag2"]},{"1377110751":["hashtag1","hashtag2"]},{"1377110684":["hashtag1","hashtag2"]},{"1377110648":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377110821, 1377110784, 1377110716, 1377110751, 1377110684, 1377110648)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.36380338668823 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:38:03.092425 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/24/image_14082025_12_24_38_10320.jpg', '/media/data/images/14082025/12/24/image_14082025_12_24_49_10343.jpg', '/media/data/images/14082025/12/24/image_14082025_12_24_58_9371.jpg', '/media/data/images/14082025/12/24/image_14082025_12_25_09_10554.jpg', '/media/data/images/14082025/12/25/image_14082025_12_25_19_10365.jpg', '/media/data/images/14082025/12/25/image_14082025_12_25_28_9253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/24/image_14082025_12_24_38_10320.jpg /media/data/images/14082025/12/24/image_14082025_12_24_49_10343.jpg /media/data/images/14082025/12/24/image_14082025_12_24_58_9371.jpg /media/data/images/14082025/12/24/image_14082025_12_25_09_10554.jpg /media/data/images/14082025/12/25/image_14082025_12_25_19_10365.jpg /media/data/images/14082025/12/25/image_14082025_12_25_28_9253.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377111101","1377111172","1377111067","1377111208","1377111135","1377111029"],"photo_ids_order":["1377111029","1377111067","1377111101","1377111135","1377111172","1377111208"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eaa367ff3ab73f93186b5e30da7e0884.jpg","text":"TemporaryFile(/tmp/multipartBody983532895588985410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200344108,"filename":"image_14082025_12_24_58_9371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2008d9ce05f0b9f92d6aa2cd012cd2de.jpg","text":"TemporaryFile(/tmp/multipartBody3849137209164994358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200344108,"filename":"image_14082025_12_25_19_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f24da286a7bfafbe1472bb8dbf25df0e.jpg","text":"TemporaryFile(/tmp/multipartBody1375754462344154088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200344108,"filename":"image_14082025_12_24_49_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/860bf09e492f34d08c6e3c7adcd34524.jpg","text":"TemporaryFile(/tmp/multipartBody6141750316046934906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200344108,"filename":"image_14082025_12_25_28_9253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0efbe3e1ad8479b32b50b420084d0e62.jpg","text":"TemporaryFile(/tmp/multipartBody2773587848686516669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200344108,"filename":"image_14082025_12_25_09_10554.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/41cc73ac83aed1901e0b5fcb5aaae7ae.jpg","text":"TemporaryFile(/tmp/multipartBody1783274937955918439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200344108,"filename":"image_14082025_12_24_38_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377111101","file1":"1377111067","file0":"1377111029","file4":"1377111172","file5":"1377111208","file3":"1377111135"},"map_files_photo_id_array":[{"photo_id":"1377111208","filename":"file5"},{"photo_id":"1377111101","filename":"file2"},{"photo_id":"1377111172","filename":"file4"},{"photo_id":"1377111067","filename":"file1"},{"photo_id":"1377111029","filename":"file0"},{"photo_id":"1377111135","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377111101":["hashtag1","hashtag2"]},{"1377111172":["hashtag1","hashtag2"]},{"1377111067":["hashtag1","hashtag2"]},{"1377111208":["hashtag1","hashtag2"]},{"1377111135":["hashtag1","hashtag2"]},{"1377111029":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377111101, 1377111172, 1377111067, 1377111208, 1377111135, 1377111029)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.84679341316223 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:39:03.716942 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/25/image_14082025_12_25_39_10321.jpg', '/media/data/images/14082025/12/25/image_14082025_12_25_49_10322.jpg', '/media/data/images/14082025/12/25/image_14082025_12_25_58_9081.jpg', '/media/data/images/14082025/12/25/image_14082025_12_26_09_10650.jpg', '/media/data/images/14082025/12/26/image_14082025_12_26_19_10349.jpg', '/media/data/images/14082025/12/26/image_14082025_12_26_28_9115.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/25/image_14082025_12_25_39_10321.jpg /media/data/images/14082025/12/25/image_14082025_12_25_49_10322.jpg /media/data/images/14082025/12/25/image_14082025_12_25_58_9081.jpg /media/data/images/14082025/12/25/image_14082025_12_26_09_10650.jpg /media/data/images/14082025/12/26/image_14082025_12_26_19_10349.jpg /media/data/images/14082025/12/26/image_14082025_12_26_28_9115.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377111451","1377111553","1377111483","1377111417","1377111586","1377111518"],"photo_ids_order":["1377111417","1377111451","1377111483","1377111518","1377111553","1377111586"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5512c7b97a4d12cbdf35d2b18c0504c.jpg","text":"TemporaryFile(/tmp/multipartBody8387118587194021026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200404733,"filename":"image_14082025_12_25_49_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea736c57fea14d87ae498215d29780ab.jpg","text":"TemporaryFile(/tmp/multipartBody6099221844983381988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200404733,"filename":"image_14082025_12_26_19_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7fc70d1147739a5b151ff1942a5aa12d.jpg","text":"TemporaryFile(/tmp/multipartBody6423071353554477249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200404733,"filename":"image_14082025_12_25_58_9081.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/528fa0150acea8c5626f6fdeb96828dc.jpg","text":"TemporaryFile(/tmp/multipartBody3050951350315076759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200404733,"filename":"image_14082025_12_25_39_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e306bf0083f08d2a17eedb031325035f.jpg","text":"TemporaryFile(/tmp/multipartBody1363871095155325745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200404733,"filename":"image_14082025_12_26_28_9115.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e62f2913db5d96bf447a8017d839d258.jpg","text":"TemporaryFile(/tmp/multipartBody4655015268124438081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200404733,"filename":"image_14082025_12_26_09_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377111483","file1":"1377111451","file0":"1377111417","file4":"1377111553","file5":"1377111586","file3":"1377111518"},"map_files_photo_id_array":[{"photo_id":"1377111586","filename":"file5"},{"photo_id":"1377111483","filename":"file2"},{"photo_id":"1377111553","filename":"file4"},{"photo_id":"1377111451","filename":"file1"},{"photo_id":"1377111417","filename":"file0"},{"photo_id":"1377111518","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377111451":["hashtag1","hashtag2"]},{"1377111553":["hashtag1","hashtag2"]},{"1377111483":["hashtag1","hashtag2"]},{"1377111417":["hashtag1","hashtag2"]},{"1377111586":["hashtag1","hashtag2"]},{"1377111518":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377111451, 1377111553, 1377111483, 1377111417, 1377111586, 1377111518)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.34535598754883 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:40:03.294011 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/26/image_14082025_12_26_38_10421.jpg', '/media/data/images/14082025/12/26/image_14082025_12_26_49_10372.jpg', '/media/data/images/14082025/12/26/image_14082025_12_26_58_9171.jpg', '/media/data/images/14082025/12/26/image_14082025_12_27_09_10599.jpg', '/media/data/images/14082025/12/27/image_14082025_12_27_19_10342.jpg', '/media/data/images/14082025/12/27/image_14082025_12_27_28_9051.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/26/image_14082025_12_26_38_10421.jpg /media/data/images/14082025/12/26/image_14082025_12_26_49_10372.jpg /media/data/images/14082025/12/26/image_14082025_12_26_58_9171.jpg /media/data/images/14082025/12/26/image_14082025_12_27_09_10599.jpg /media/data/images/14082025/12/27/image_14082025_12_27_19_10342.jpg /media/data/images/14082025/12/27/image_14082025_12_27_28_9051.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377111871","1377111880","1377111874","1377111869","1377111839","1377111877"],"photo_ids_order":["1377111839","1377111869","1377111871","1377111874","1377111877","1377111880"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66cb385bcedd796c967141d9b7ef0080.jpg","text":"TemporaryFile(/tmp/multipartBody1954677074262825208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200464332,"filename":"image_14082025_12_26_58_9171.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/91dabd819e8227ecd952c9af3d161141.jpg","text":"TemporaryFile(/tmp/multipartBody1798023313451331140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200464332,"filename":"image_14082025_12_27_28_9051.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96ef17e924cef47c24ee4524a54513f7.jpg","text":"TemporaryFile(/tmp/multipartBody5852827997661457988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200464332,"filename":"image_14082025_12_27_09_10599.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f869c6c218354f662811663af2a5e8b.jpg","text":"TemporaryFile(/tmp/multipartBody4145825941582562807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200464332,"filename":"image_14082025_12_26_49_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b61b3c8bd56a7b00346b3f8ee2fdd236.jpg","text":"TemporaryFile(/tmp/multipartBody1339079574443385370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200464332,"filename":"image_14082025_12_26_38_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ad39a5b2b3aee021e6cfd94c3482fa7.jpg","text":"TemporaryFile(/tmp/multipartBody5064868566932659071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200464332,"filename":"image_14082025_12_27_19_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377111871","file1":"1377111869","file0":"1377111839","file4":"1377111877","file5":"1377111880","file3":"1377111874"},"map_files_photo_id_array":[{"photo_id":"1377111880","filename":"file5"},{"photo_id":"1377111871","filename":"file2"},{"photo_id":"1377111877","filename":"file4"},{"photo_id":"1377111869","filename":"file1"},{"photo_id":"1377111839","filename":"file0"},{"photo_id":"1377111874","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377111871":["hashtag1","hashtag2"]},{"1377111880":["hashtag1","hashtag2"]},{"1377111874":["hashtag1","hashtag2"]},{"1377111869":["hashtag1","hashtag2"]},{"1377111839":["hashtag1","hashtag2"]},{"1377111877":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377111871, 1377111880, 1377111874, 1377111869, 1377111839, 1377111877)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.2625629901886 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:41:02.774736 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/27/image_14082025_12_27_38_10343.jpg', '/media/data/images/14082025/12/27/image_14082025_12_27_49_10355.jpg', '/media/data/images/14082025/12/27/image_14082025_12_27_59_10283.jpg', '/media/data/images/14082025/12/28/image_14082025_12_28_08_9205.jpg', '/media/data/images/14082025/12/28/image_14082025_12_28_19_10332.jpg', '/media/data/images/14082025/12/28/image_14082025_12_28_29_10258.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/27/image_14082025_12_27_38_10343.jpg /media/data/images/14082025/12/27/image_14082025_12_27_49_10355.jpg /media/data/images/14082025/12/27/image_14082025_12_27_59_10283.jpg /media/data/images/14082025/12/28/image_14082025_12_28_08_9205.jpg /media/data/images/14082025/12/28/image_14082025_12_28_19_10332.jpg /media/data/images/14082025/12/28/image_14082025_12_28_29_10258.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377112012","1377112041","1377112059","1377111990","1377111983","1377112025"],"photo_ids_order":["1377111983","1377111990","1377112012","1377112025","1377112041","1377112059"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c78143394bd20fa9a2acc4b66121ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6379579148574436674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200523878,"filename":"image_14082025_12_27_59_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/707ce89d79ca4af0addb0ca9c20c331d.jpg","text":"TemporaryFile(/tmp/multipartBody5246810409115581391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200523878,"filename":"image_14082025_12_28_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00467fa5167340661f04a1a4d3deacfd.jpg","text":"TemporaryFile(/tmp/multipartBody2464170672920694806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200523878,"filename":"image_14082025_12_28_29_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1521bc4aba359030b8e496a8983638c.jpg","text":"TemporaryFile(/tmp/multipartBody8684052059750048915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200523878,"filename":"image_14082025_12_27_49_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4b2598606ce8c71cd9a6723f87a5364.jpg","text":"TemporaryFile(/tmp/multipartBody7691147331347829936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200523878,"filename":"image_14082025_12_27_38_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd2998fcbf584f9c17a748c5854077c2.jpg","text":"TemporaryFile(/tmp/multipartBody5139372269384695074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200523878,"filename":"image_14082025_12_28_08_9205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377112012","file1":"1377111990","file0":"1377111983","file4":"1377112041","file5":"1377112059","file3":"1377112025"},"map_files_photo_id_array":[{"photo_id":"1377112059","filename":"file5"},{"photo_id":"1377112012","filename":"file2"},{"photo_id":"1377112041","filename":"file4"},{"photo_id":"1377111990","filename":"file1"},{"photo_id":"1377111983","filename":"file0"},{"photo_id":"1377112025","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377112012":["hashtag1","hashtag2"]},{"1377112041":["hashtag1","hashtag2"]},{"1377112059":["hashtag1","hashtag2"]},{"1377111990":["hashtag1","hashtag2"]},{"1377111983":["hashtag1","hashtag2"]},{"1377112025":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377112012, 1377112041, 1377112059, 1377111990, 1377111983, 1377112025)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.646799087524414 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:42:02.790200 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/28/image_14082025_12_28_39_10264.jpg', '/media/data/images/14082025/12/28/image_14082025_12_28_48_9036.jpg', '/media/data/images/14082025/12/28/image_14082025_12_28_58_10371.jpg', '/media/data/images/14082025/12/29/image_14082025_12_29_09_10141.jpg', '/media/data/images/14082025/12/29/image_14082025_12_29_19_10258.jpg', '/media/data/images/14082025/12/29/image_14082025_12_29_48_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/28/image_14082025_12_28_39_10264.jpg /media/data/images/14082025/12/28/image_14082025_12_28_48_9036.jpg /media/data/images/14082025/12/28/image_14082025_12_28_58_10371.jpg /media/data/images/14082025/12/29/image_14082025_12_29_09_10141.jpg /media/data/images/14082025/12/29/image_14082025_12_29_19_10258.jpg /media/data/images/14082025/12/29/image_14082025_12_29_48_10352.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377112296","1377112562","1377112529","1377112415","1377112477","1377112363"],"photo_ids_order":["1377112296","1377112363","1377112415","1377112477","1377112529","1377112562"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f94743f2f55745c5cae406e6c235fc2.jpg","text":"TemporaryFile(/tmp/multipartBody2634961419325939515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200583904,"filename":"image_14082025_12_28_39_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f6735ad22dbf1db6ee9e56dd349e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody5605207195070689362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200583904,"filename":"image_14082025_12_29_48_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2aa4144f1a4aa6b00c4195841f8449a7.jpg","text":"TemporaryFile(/tmp/multipartBody8479393004887387766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200583904,"filename":"image_14082025_12_29_19_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63661cf847fe1cdf9d1d39b856386f84.jpg","text":"TemporaryFile(/tmp/multipartBody7409702947051920010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200583904,"filename":"image_14082025_12_28_58_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/767cd90b1d977270b809ad481f3a9ada.jpg","text":"TemporaryFile(/tmp/multipartBody6198073733420559798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200583904,"filename":"image_14082025_12_29_09_10141.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79781df0dcef52074a9d7239ae7ae64a.jpg","text":"TemporaryFile(/tmp/multipartBody4016699603045764341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200583904,"filename":"image_14082025_12_28_48_9036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377112415","file1":"1377112363","file0":"1377112296","file4":"1377112529","file5":"1377112562","file3":"1377112477"},"map_files_photo_id_array":[{"photo_id":"1377112562","filename":"file5"},{"photo_id":"1377112415","filename":"file2"},{"photo_id":"1377112529","filename":"file4"},{"photo_id":"1377112363","filename":"file1"},{"photo_id":"1377112296","filename":"file0"},{"photo_id":"1377112477","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377112296":["hashtag1","hashtag2"]},{"1377112562":["hashtag1","hashtag2"]},{"1377112529":["hashtag1","hashtag2"]},{"1377112415":["hashtag1","hashtag2"]},{"1377112477":["hashtag1","hashtag2"]},{"1377112363":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377112296, 1377112562, 1377112529, 1377112415, 1377112477, 1377112363)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.54447650909424 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:43:02.903233 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/29/image_14082025_12_29_59_10347.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_08_9379.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_19_10412.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_29_10345.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_38_9058.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_48_10295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/29/image_14082025_12_29_59_10347.jpg /media/data/images/14082025/12/30/image_14082025_12_30_08_9379.jpg /media/data/images/14082025/12/30/image_14082025_12_30_19_10412.jpg /media/data/images/14082025/12/30/image_14082025_12_30_29_10345.jpg /media/data/images/14082025/12/30/image_14082025_12_30_38_9058.jpg /media/data/images/14082025/12/30/image_14082025_12_30_48_10295.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6626973152160645 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:43:22.060526 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/29/image_14082025_12_29_59_10347.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_08_9379.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_19_10412.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_29_10345.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_38_9058.jpg', '/media/data/images/14082025/12/30/image_14082025_12_30_48_10295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/29/image_14082025_12_29_59_10347.jpg /media/data/images/14082025/12/30/image_14082025_12_30_08_9379.jpg /media/data/images/14082025/12/30/image_14082025_12_30_19_10412.jpg /media/data/images/14082025/12/30/image_14082025_12_30_29_10345.jpg /media/data/images/14082025/12/30/image_14082025_12_30_38_9058.jpg /media/data/images/14082025/12/30/image_14082025_12_30_48_10295.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377112708","1377112773","1377112677","1377112647","1377112740","1377112654"],"photo_ids_order":["1377112647","1377112654","1377112677","1377112708","1377112740","1377112773"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8932570fab9e19b0e5f8bbe399835735.jpg","text":"TemporaryFile(/tmp/multipartBody3914869110698225289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200663001,"filename":"image_14082025_12_30_29_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53ebc75ea734fe8b96bd33667c9b69d2.jpg","text":"TemporaryFile(/tmp/multipartBody44115421039187390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200663001,"filename":"image_14082025_12_30_48_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/779fcf9fd67d608165562fb16d78d904.jpg","text":"TemporaryFile(/tmp/multipartBody565164174274870357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200663001,"filename":"image_14082025_12_30_19_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03e691e83146c4c6d43f9b7d06fe4a14.jpg","text":"TemporaryFile(/tmp/multipartBody8886462957846883187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200663001,"filename":"image_14082025_12_29_59_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f17ab8c4a177d43a79fd281b2f19dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6531324399580990050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200663001,"filename":"image_14082025_12_30_38_9058.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4795eea22c044c39936aced0b2f1d72.jpg","text":"TemporaryFile(/tmp/multipartBody1586531801929897622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200663001,"filename":"image_14082025_12_30_08_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377112677","file1":"1377112654","file0":"1377112647","file4":"1377112740","file5":"1377112773","file3":"1377112708"},"map_files_photo_id_array":[{"photo_id":"1377112773","filename":"file5"},{"photo_id":"1377112677","filename":"file2"},{"photo_id":"1377112740","filename":"file4"},{"photo_id":"1377112654","filename":"file1"},{"photo_id":"1377112647","filename":"file0"},{"photo_id":"1377112708","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377112708":["hashtag1","hashtag2"]},{"1377112773":["hashtag1","hashtag2"]},{"1377112677":["hashtag1","hashtag2"]},{"1377112647":["hashtag1","hashtag2"]},{"1377112740":["hashtag1","hashtag2"]},{"1377112654":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377112708, 1377112773, 1377112677, 1377112647, 1377112740, 1377112654)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.498613357543945 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:44:22.242728 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/30/image_14082025_12_30_59_10396.jpg', '/media/data/images/14082025/12/31/image_14082025_12_31_09_10226.jpg', '/media/data/images/14082025/12/31/image_14082025_12_31_28_10258.jpg', '/media/data/images/14082025/12/31/image_14082025_12_31_39_10277.jpg', '/media/data/images/14082025/12/31/image_14082025_12_31_49_10286.jpg', '/media/data/images/14082025/12/31/image_14082025_12_31_58_9065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/30/image_14082025_12_30_59_10396.jpg /media/data/images/14082025/12/31/image_14082025_12_31_09_10226.jpg /media/data/images/14082025/12/31/image_14082025_12_31_28_10258.jpg /media/data/images/14082025/12/31/image_14082025_12_31_39_10277.jpg /media/data/images/14082025/12/31/image_14082025_12_31_49_10286.jpg /media/data/images/14082025/12/31/image_14082025_12_31_58_9065.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377112947","1377112941","1377112950","1377112944","1377112952","1377112936"],"photo_ids_order":["1377112936","1377112941","1377112944","1377112947","1377112950","1377112952"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b00e09a7b2b606ca09674c5f6d700608.jpg","text":"TemporaryFile(/tmp/multipartBody6070067875199671584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200723318,"filename":"image_14082025_12_31_39_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6813242f8832b4c25365f44a51edb597.jpg","text":"TemporaryFile(/tmp/multipartBody6105908263027108271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200723318,"filename":"image_14082025_12_31_09_10226.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e7c73e16f87ab7b0db88591f7a13ddd.jpg","text":"TemporaryFile(/tmp/multipartBody407379677338102656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200723318,"filename":"image_14082025_12_31_49_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14f4e0856cf22799ca2c7e52b355e786.jpg","text":"TemporaryFile(/tmp/multipartBody3986420150434361286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200723318,"filename":"image_14082025_12_31_28_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc7b6d841993a80de225eedf1cd8755a.jpg","text":"TemporaryFile(/tmp/multipartBody5033383361919811478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200723318,"filename":"image_14082025_12_31_58_9065.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b63fc01ceda39915ec9f4136a73c1ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1592763513209939032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200723318,"filename":"image_14082025_12_30_59_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377112944","file1":"1377112941","file0":"1377112936","file4":"1377112950","file5":"1377112952","file3":"1377112947"},"map_files_photo_id_array":[{"photo_id":"1377112952","filename":"file5"},{"photo_id":"1377112944","filename":"file2"},{"photo_id":"1377112950","filename":"file4"},{"photo_id":"1377112941","filename":"file1"},{"photo_id":"1377112936","filename":"file0"},{"photo_id":"1377112947","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377112947":["hashtag1","hashtag2"]},{"1377112941":["hashtag1","hashtag2"]},{"1377112950":["hashtag1","hashtag2"]},{"1377112944":["hashtag1","hashtag2"]},{"1377112952":["hashtag1","hashtag2"]},{"1377112936":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377112947, 1377112941, 1377112950, 1377112944, 1377112952, 1377112936)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.08138585090637 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:45:22.338221 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/31/image_14082025_12_32_09_10704.jpg', '/media/data/images/14082025/12/32/image_14082025_12_32_19_10350.jpg', '/media/data/images/14082025/12/32/image_14082025_12_32_28_9101.jpg', '/media/data/images/14082025/12/32/image_14082025_12_32_49_10377.jpg', '/media/data/images/14082025/12/32/image_14082025_12_32_59_10263.jpg', '/media/data/images/14082025/12/33/image_14082025_12_33_09_10081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/31/image_14082025_12_32_09_10704.jpg /media/data/images/14082025/12/32/image_14082025_12_32_19_10350.jpg /media/data/images/14082025/12/32/image_14082025_12_32_28_9101.jpg /media/data/images/14082025/12/32/image_14082025_12_32_49_10377.jpg /media/data/images/14082025/12/32/image_14082025_12_32_59_10263.jpg /media/data/images/14082025/12/33/image_14082025_12_33_09_10081.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113073","1377112974","1377113039","1377112970","1377113006","1377112966"],"photo_ids_order":["1377112966","1377112970","1377112974","1377113006","1377113039","1377113073"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/509b8cab1311577929f719f73c8b6891.jpg","text":"TemporaryFile(/tmp/multipartBody7823505631636313091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200783437,"filename":"image_14082025_12_33_09_10081.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/098332f1d262a5c441c2b97c21cfca77.jpg","text":"TemporaryFile(/tmp/multipartBody6107490816916121725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200783437,"filename":"image_14082025_12_32_28_9101.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d5d40f805cc934f8b4911c695188e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4870596383473178783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200783437,"filename":"image_14082025_12_32_59_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/154b122179768bff43165ffe43c9cfab.jpg","text":"TemporaryFile(/tmp/multipartBody5888851783073281827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200783437,"filename":"image_14082025_12_32_19_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f258cce6b723cbee458d82f1b37831a.jpg","text":"TemporaryFile(/tmp/multipartBody4531990097117331250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200783437,"filename":"image_14082025_12_32_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5f5cb6a5dc297914d452df1292f402a.jpg","text":"TemporaryFile(/tmp/multipartBody489609321217970316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200783437,"filename":"image_14082025_12_32_09_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377112974","file1":"1377112970","file0":"1377112966","file4":"1377113039","file5":"1377113073","file3":"1377113006"},"map_files_photo_id_array":[{"photo_id":"1377113073","filename":"file5"},{"photo_id":"1377112974","filename":"file2"},{"photo_id":"1377113039","filename":"file4"},{"photo_id":"1377112970","filename":"file1"},{"photo_id":"1377112966","filename":"file0"},{"photo_id":"1377113006","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113073":["hashtag1","hashtag2"]},{"1377112974":["hashtag1","hashtag2"]},{"1377113039":["hashtag1","hashtag2"]},{"1377112970":["hashtag1","hashtag2"]},{"1377113006":["hashtag1","hashtag2"]},{"1377112966":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113073, 1377112974, 1377113039, 1377112970, 1377113006, 1377112966)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.26075196266174 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:46:22.416048 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/33/image_14082025_12_33_18_9162.jpg', '/media/data/images/14082025/12/33/image_14082025_12_33_29_10343.jpg', '/media/data/images/14082025/12/33/image_14082025_12_33_39_10261.jpg', '/media/data/images/14082025/12/33/image_14082025_12_33_48_9223.jpg', '/media/data/images/14082025/12/33/image_14082025_12_33_58_10247.jpg', '/media/data/images/14082025/12/34/image_14082025_12_34_09_10550.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/33/image_14082025_12_33_18_9162.jpg /media/data/images/14082025/12/33/image_14082025_12_33_29_10343.jpg /media/data/images/14082025/12/33/image_14082025_12_33_39_10261.jpg /media/data/images/14082025/12/33/image_14082025_12_33_48_9223.jpg /media/data/images/14082025/12/33/image_14082025_12_33_58_10247.jpg /media/data/images/14082025/12/34/image_14082025_12_34_09_10550.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113382","1377113343","1377113384","1377113378","1377113281","1377113311"],"photo_ids_order":["1377113281","1377113311","1377113343","1377113378","1377113382","1377113384"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5904b29e582ccbdd329b6b09cdf68211.jpg","text":"TemporaryFile(/tmp/multipartBody7258333189815861251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200843508,"filename":"image_14082025_12_33_58_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/233c7f7f74813bf60f8874be8a57fffb.jpg","text":"TemporaryFile(/tmp/multipartBody5253803002731629377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200843508,"filename":"image_14082025_12_33_39_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8a5d159c090862d7c57dfcc5158a48cc.jpg","text":"TemporaryFile(/tmp/multipartBody5007778596645767527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200843508,"filename":"image_14082025_12_34_09_10550.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/efcd910742eb0576e7d49da968cb547a.jpg","text":"TemporaryFile(/tmp/multipartBody7349689191177800515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200843508,"filename":"image_14082025_12_33_48_9223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb77e64d0c0b7d9dadf3f0eb796e195e.jpg","text":"TemporaryFile(/tmp/multipartBody7635981146948201023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200843508,"filename":"image_14082025_12_33_18_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f811cf0b357ae27f5c1fafef14b36ba5.jpg","text":"TemporaryFile(/tmp/multipartBody96053596652645440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200843508,"filename":"image_14082025_12_33_29_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113343","file1":"1377113311","file0":"1377113281","file4":"1377113382","file5":"1377113384","file3":"1377113378"},"map_files_photo_id_array":[{"photo_id":"1377113384","filename":"file5"},{"photo_id":"1377113343","filename":"file2"},{"photo_id":"1377113382","filename":"file4"},{"photo_id":"1377113311","filename":"file1"},{"photo_id":"1377113281","filename":"file0"},{"photo_id":"1377113378","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113382":["hashtag1","hashtag2"]},{"1377113343":["hashtag1","hashtag2"]},{"1377113384":["hashtag1","hashtag2"]},{"1377113378":["hashtag1","hashtag2"]},{"1377113281":["hashtag1","hashtag2"]},{"1377113311":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113382, 1377113343, 1377113384, 1377113378, 1377113281, 1377113311)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.96982955932617 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:47:22.516351 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/34/image_14082025_12_34_18_9222.jpg', '/media/data/images/14082025/12/34/image_14082025_12_34_28_10431.jpg', '/media/data/images/14082025/12/34/image_14082025_12_34_39_10425.jpg', '/media/data/images/14082025/12/34/image_14082025_12_34_48_9091.jpg', '/media/data/images/14082025/12/34/image_14082025_12_34_58_10326.jpg', '/media/data/images/14082025/12/35/image_14082025_12_35_09_10460.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/34/image_14082025_12_34_18_9222.jpg /media/data/images/14082025/12/34/image_14082025_12_34_28_10431.jpg /media/data/images/14082025/12/34/image_14082025_12_34_39_10425.jpg /media/data/images/14082025/12/34/image_14082025_12_34_48_9091.jpg /media/data/images/14082025/12/34/image_14082025_12_34_58_10326.jpg /media/data/images/14082025/12/35/image_14082025_12_35_09_10460.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113406","1377113405","1377113398","1377113401","1377113404","1377113394"],"photo_ids_order":["1377113394","1377113398","1377113401","1377113404","1377113405","1377113406"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2fc431616fed3435ca9fbabbbc3c2481.jpg","text":"TemporaryFile(/tmp/multipartBody75362189352641049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200903491,"filename":"image_14082025_12_35_09_10460.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b9030a73ad2fa344efd37156c4ad09df.jpg","text":"TemporaryFile(/tmp/multipartBody3579304658102801774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200903491,"filename":"image_14082025_12_34_58_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2bce6f054a09b23a189c2d4752fb05f.jpg","text":"TemporaryFile(/tmp/multipartBody4369976092729503855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200903491,"filename":"image_14082025_12_34_28_10431.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/db2860b3c1a0bafbcd04dae0bbcd7e98.jpg","text":"TemporaryFile(/tmp/multipartBody7710643258201025270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200903491,"filename":"image_14082025_12_34_39_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/320c847ffdf426e5eff3513354b0cfbc.jpg","text":"TemporaryFile(/tmp/multipartBody7049143058643311887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200903491,"filename":"image_14082025_12_34_48_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/60ab8708a08b402f4ecd7a40fe5db5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6017561852097055577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200903491,"filename":"image_14082025_12_34_18_9222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113401","file1":"1377113398","file0":"1377113394","file4":"1377113405","file5":"1377113406","file3":"1377113404"},"map_files_photo_id_array":[{"photo_id":"1377113406","filename":"file5"},{"photo_id":"1377113401","filename":"file2"},{"photo_id":"1377113405","filename":"file4"},{"photo_id":"1377113398","filename":"file1"},{"photo_id":"1377113394","filename":"file0"},{"photo_id":"1377113404","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113406":["hashtag1","hashtag2"]},{"1377113405":["hashtag1","hashtag2"]},{"1377113398":["hashtag1","hashtag2"]},{"1377113401":["hashtag1","hashtag2"]},{"1377113404":["hashtag1","hashtag2"]},{"1377113394":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113406, 1377113405, 1377113398, 1377113401, 1377113404, 1377113394)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.43252754211426 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:48:22.640597 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/35/image_14082025_12_35_18_9086.jpg', '/media/data/images/14082025/12/35/image_14082025_12_35_28_10314.jpg', '/media/data/images/14082025/12/35/image_14082025_12_35_39_10421.jpg', '/media/data/images/14082025/12/35/image_14082025_12_35_49_10318.jpg', '/media/data/images/14082025/12/35/image_14082025_12_35_58_9141.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_09_10506.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/35/image_14082025_12_35_18_9086.jpg /media/data/images/14082025/12/35/image_14082025_12_35_28_10314.jpg /media/data/images/14082025/12/35/image_14082025_12_35_39_10421.jpg /media/data/images/14082025/12/35/image_14082025_12_35_49_10318.jpg /media/data/images/14082025/12/35/image_14082025_12_35_58_9141.jpg /media/data/images/14082025/12/36/image_14082025_12_36_09_10506.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113436","1377113429","1377113423","1377113432","1377113426","1377113434"],"photo_ids_order":["1377113423","1377113426","1377113429","1377113432","1377113434","1377113436"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c29cc7c2dbca9d92bacb84a43ce8fa72.jpg","text":"TemporaryFile(/tmp/multipartBody6646082574357170594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200963650,"filename":"image_14082025_12_36_09_10506.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39f90d5e25bc4332e78a0d11323c628b.jpg","text":"TemporaryFile(/tmp/multipartBody7450959733171203534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200963650,"filename":"image_14082025_12_35_39_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/32bf8374713ab6175dcfb007d7dd32ca.jpg","text":"TemporaryFile(/tmp/multipartBody8449727574800107028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200963650,"filename":"image_14082025_12_35_18_9086.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/72d1833a9495cd0c610c5771fce81ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7804367827240182307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200963650,"filename":"image_14082025_12_35_49_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/69fcdfdb3606532c6d7b327974702ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5090144107762258033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200963650,"filename":"image_14082025_12_35_28_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e24baa2af5d8d421e146a1bbd43b96d2.jpg","text":"TemporaryFile(/tmp/multipartBody8582229446249304617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755200963650,"filename":"image_14082025_12_35_58_9141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113429","file1":"1377113426","file0":"1377113423","file4":"1377113434","file5":"1377113436","file3":"1377113432"},"map_files_photo_id_array":[{"photo_id":"1377113436","filename":"file5"},{"photo_id":"1377113429","filename":"file2"},{"photo_id":"1377113434","filename":"file4"},{"photo_id":"1377113426","filename":"file1"},{"photo_id":"1377113423","filename":"file0"},{"photo_id":"1377113432","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113436":["hashtag1","hashtag2"]},{"1377113429":["hashtag1","hashtag2"]},{"1377113423":["hashtag1","hashtag2"]},{"1377113432":["hashtag1","hashtag2"]},{"1377113426":["hashtag1","hashtag2"]},{"1377113434":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113436, 1377113429, 1377113423, 1377113432, 1377113426, 1377113434)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.78849458694458 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:49:22.770210 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/36/image_14082025_12_36_19_10343.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_28_9189.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_38_10380.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_49_10344.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_58_9091.jpg', '/media/data/images/14082025/12/36/image_14082025_12_37_08_10554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/36/image_14082025_12_36_19_10343.jpg /media/data/images/14082025/12/36/image_14082025_12_36_28_9189.jpg /media/data/images/14082025/12/36/image_14082025_12_36_38_10380.jpg /media/data/images/14082025/12/36/image_14082025_12_36_49_10344.jpg /media/data/images/14082025/12/36/image_14082025_12_36_58_9091.jpg /media/data/images/14082025/12/36/image_14082025_12_37_08_10554.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.5429098606109619 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:49:42.744973 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/36/image_14082025_12_36_19_10343.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_28_9189.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_38_10380.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_49_10344.jpg', '/media/data/images/14082025/12/36/image_14082025_12_36_58_9091.jpg', '/media/data/images/14082025/12/36/image_14082025_12_37_08_10554.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/36/image_14082025_12_36_19_10343.jpg /media/data/images/14082025/12/36/image_14082025_12_36_28_9189.jpg /media/data/images/14082025/12/36/image_14082025_12_36_38_10380.jpg /media/data/images/14082025/12/36/image_14082025_12_36_49_10344.jpg /media/data/images/14082025/12/36/image_14082025_12_36_58_9091.jpg /media/data/images/14082025/12/36/image_14082025_12_37_08_10554.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113510","1377113504","1377113507","1377113497","1377113485","1377113515"],"photo_ids_order":["1377113485","1377113497","1377113504","1377113507","1377113510","1377113515"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05976664298da32d0ba4f7458e50a87b.jpg","text":"TemporaryFile(/tmp/multipartBody6301349724104128863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201043650,"filename":"image_14082025_12_36_58_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6cfcddb0a92a869358715081517551c9.jpg","text":"TemporaryFile(/tmp/multipartBody7663962042190674150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201043650,"filename":"image_14082025_12_36_38_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c152073be9837072eb9dc9b62ecb74fa.jpg","text":"TemporaryFile(/tmp/multipartBody9219922352900329003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201043650,"filename":"image_14082025_12_36_49_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c792c52adc79d201675b7392be95d834.jpg","text":"TemporaryFile(/tmp/multipartBody7774546313994073884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201043650,"filename":"image_14082025_12_36_28_9189.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/009866b3789b790c95ca3fc10bf2543c.jpg","text":"TemporaryFile(/tmp/multipartBody4960721468063354306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201043650,"filename":"image_14082025_12_36_19_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f0b561475c1c46f65d60b1765844c38d.jpg","text":"TemporaryFile(/tmp/multipartBody2870815364995748881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201043650,"filename":"image_14082025_12_37_08_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113504","file1":"1377113497","file0":"1377113485","file4":"1377113510","file5":"1377113515","file3":"1377113507"},"map_files_photo_id_array":[{"photo_id":"1377113515","filename":"file5"},{"photo_id":"1377113504","filename":"file2"},{"photo_id":"1377113510","filename":"file4"},{"photo_id":"1377113497","filename":"file1"},{"photo_id":"1377113485","filename":"file0"},{"photo_id":"1377113507","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113510":["hashtag1","hashtag2"]},{"1377113504":["hashtag1","hashtag2"]},{"1377113507":["hashtag1","hashtag2"]},{"1377113497":["hashtag1","hashtag2"]},{"1377113485":["hashtag1","hashtag2"]},{"1377113515":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113510, 1377113504, 1377113507, 1377113497, 1377113485, 1377113515)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.642658710479736 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:50:41.829168 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/37/image_14082025_12_37_19_10409.jpg', '/media/data/images/14082025/12/37/image_14082025_12_37_28_9075.jpg', '/media/data/images/14082025/12/37/image_14082025_12_37_38_10340.jpg', '/media/data/images/14082025/12/37/image_14082025_12_37_49_10406.jpg', '/media/data/images/14082025/12/37/image_14082025_12_37_59_10317.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_08_9457.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/37/image_14082025_12_37_19_10409.jpg /media/data/images/14082025/12/37/image_14082025_12_37_28_9075.jpg /media/data/images/14082025/12/37/image_14082025_12_37_38_10340.jpg /media/data/images/14082025/12/37/image_14082025_12_37_49_10406.jpg /media/data/images/14082025/12/37/image_14082025_12_37_59_10317.jpg /media/data/images/14082025/12/38/image_14082025_12_38_08_9457.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113547","1377113534","1377113537","1377113531","1377113566","1377113530"],"photo_ids_order":["1377113530","1377113531","1377113534","1377113537","1377113547","1377113566"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a4b42740af6e333976b5c282a8bd264.jpg","text":"TemporaryFile(/tmp/multipartBody331761395813610573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201102816,"filename":"image_14082025_12_37_59_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6ebfeca11d64220d4b113e9adb1718a.jpg","text":"TemporaryFile(/tmp/multipartBody4971283851203814083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201102816,"filename":"image_14082025_12_37_38_10340.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f458b931ffb943c92123d66be7e370a.jpg","text":"TemporaryFile(/tmp/multipartBody4488884048721144437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201102816,"filename":"image_14082025_12_37_49_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/483a02b30ab1305e7e009825a234ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody8515912359915745001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201102816,"filename":"image_14082025_12_37_28_9075.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10e5226bf40afb439338cce9651db2d9.jpg","text":"TemporaryFile(/tmp/multipartBody319014296466286182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201102816,"filename":"image_14082025_12_38_08_9457.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2fbf0e634c734c40457e20109e1da0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1167861756704236360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201102816,"filename":"image_14082025_12_37_19_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113534","file1":"1377113531","file0":"1377113530","file4":"1377113547","file5":"1377113566","file3":"1377113537"},"map_files_photo_id_array":[{"photo_id":"1377113566","filename":"file5"},{"photo_id":"1377113534","filename":"file2"},{"photo_id":"1377113547","filename":"file4"},{"photo_id":"1377113531","filename":"file1"},{"photo_id":"1377113530","filename":"file0"},{"photo_id":"1377113537","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113547":["hashtag1","hashtag2"]},{"1377113534":["hashtag1","hashtag2"]},{"1377113537":["hashtag1","hashtag2"]},{"1377113531":["hashtag1","hashtag2"]},{"1377113566":["hashtag1","hashtag2"]},{"1377113530":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113547, 1377113534, 1377113537, 1377113531, 1377113566, 1377113530)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.987184047698975 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:51:41.935381 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/38/image_14082025_12_38_19_10342.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_28_9113.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_38_10240.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_48_10335.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_59_10248.jpg', '/media/data/images/14082025/12/39/image_14082025_12_39_09_10146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/38/image_14082025_12_38_19_10342.jpg /media/data/images/14082025/12/38/image_14082025_12_38_28_9113.jpg /media/data/images/14082025/12/38/image_14082025_12_38_38_10240.jpg /media/data/images/14082025/12/38/image_14082025_12_38_48_10335.jpg /media/data/images/14082025/12/38/image_14082025_12_38_59_10248.jpg /media/data/images/14082025/12/39/image_14082025_12_39_09_10146.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6132574081420898 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:52:02.814940 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/38/image_14082025_12_38_19_10342.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_28_9113.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_38_10240.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_48_10335.jpg', '/media/data/images/14082025/12/38/image_14082025_12_38_59_10248.jpg', '/media/data/images/14082025/12/39/image_14082025_12_39_09_10146.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/38/image_14082025_12_38_19_10342.jpg /media/data/images/14082025/12/38/image_14082025_12_38_28_9113.jpg /media/data/images/14082025/12/38/image_14082025_12_38_38_10240.jpg /media/data/images/14082025/12/38/image_14082025_12_38_48_10335.jpg /media/data/images/14082025/12/38/image_14082025_12_38_59_10248.jpg /media/data/images/14082025/12/39/image_14082025_12_39_09_10146.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113616","1377113619","1377113613","1377113627","1377113609","1377113624"],"photo_ids_order":["1377113609","1377113613","1377113616","1377113619","1377113624","1377113627"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aea61821c24f5e6166fd4b7ab162e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody1967520473224408427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201185033,"filename":"image_14082025_12_38_38_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca4733242b5d6e3b31e2bd09b2843f47.jpg","text":"TemporaryFile(/tmp/multipartBody3651740914134204367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201185033,"filename":"image_14082025_12_38_48_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b8ea3d67c450f417551853599f5b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2217266365153884845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201185033,"filename":"image_14082025_12_38_28_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e975cca2bca8ffc82266172c8e772b7.jpg","text":"TemporaryFile(/tmp/multipartBody3064919843742147845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201185033,"filename":"image_14082025_12_39_09_10146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e0b7ff82076d922e3ad7d84ae4db4b09.jpg","text":"TemporaryFile(/tmp/multipartBody7933916254456117667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201185033,"filename":"image_14082025_12_38_19_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1a665bba04e11d713f276da4dac00ed.jpg","text":"TemporaryFile(/tmp/multipartBody7663004072539812388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201185033,"filename":"image_14082025_12_38_59_10248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113616","file1":"1377113613","file0":"1377113609","file4":"1377113624","file5":"1377113627","file3":"1377113619"},"map_files_photo_id_array":[{"photo_id":"1377113627","filename":"file5"},{"photo_id":"1377113616","filename":"file2"},{"photo_id":"1377113624","filename":"file4"},{"photo_id":"1377113613","filename":"file1"},{"photo_id":"1377113609","filename":"file0"},{"photo_id":"1377113619","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113616":["hashtag1","hashtag2"]},{"1377113619":["hashtag1","hashtag2"]},{"1377113613":["hashtag1","hashtag2"]},{"1377113627":["hashtag1","hashtag2"]},{"1377113609":["hashtag1","hashtag2"]},{"1377113624":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113616, 1377113619, 1377113613, 1377113627, 1377113609, 1377113624)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.587162017822266 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:53:03.035322 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/39/image_14082025_12_39_18_9033.jpg', '/media/data/images/14082025/12/39/image_14082025_12_39_28_10420.jpg', '/media/data/images/14082025/12/39/image_14082025_12_39_39_10245.jpg', '/media/data/images/14082025/12/39/image_14082025_12_39_49_10322.jpg', '/media/data/images/14082025/12/39/image_14082025_12_39_58_9016.jpg', '/media/data/images/14082025/12/39/image_14082025_12_40_09_10730.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/39/image_14082025_12_39_18_9033.jpg /media/data/images/14082025/12/39/image_14082025_12_39_28_10420.jpg /media/data/images/14082025/12/39/image_14082025_12_39_39_10245.jpg /media/data/images/14082025/12/39/image_14082025_12_39_49_10322.jpg /media/data/images/14082025/12/39/image_14082025_12_39_58_9016.jpg /media/data/images/14082025/12/39/image_14082025_12_40_09_10730.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113643","1377113646","1377113654","1377113639","1377113641","1377113650"],"photo_ids_order":["1377113639","1377113641","1377113643","1377113646","1377113650","1377113654"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/770278fa4d9cf183cbb5e0d9baf3fde0.jpg","text":"TemporaryFile(/tmp/multipartBody8468767388227328119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201244131,"filename":"image_14082025_12_39_39_10245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3e68b0e161119e12235976327f3a473.jpg","text":"TemporaryFile(/tmp/multipartBody9050073984014117711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201244131,"filename":"image_14082025_12_39_49_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac38ed1b05754395cc0bb0e6ca932d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2871303163397117978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201244131,"filename":"image_14082025_12_40_09_10730.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a9b2d04dab1357ab65ba6a832b28d35.jpg","text":"TemporaryFile(/tmp/multipartBody4074793116575139272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201244131,"filename":"image_14082025_12_39_18_9033.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a8cac42adfee9c537155c7e76c954fe.jpg","text":"TemporaryFile(/tmp/multipartBody2073812802344296464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201244131,"filename":"image_14082025_12_39_28_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/87f4e7b9bcc9703bd13ff50d8fc9399d.jpg","text":"TemporaryFile(/tmp/multipartBody1499297785532496322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201244131,"filename":"image_14082025_12_39_58_9016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113643","file1":"1377113641","file0":"1377113639","file4":"1377113650","file5":"1377113654","file3":"1377113646"},"map_files_photo_id_array":[{"photo_id":"1377113654","filename":"file5"},{"photo_id":"1377113643","filename":"file2"},{"photo_id":"1377113650","filename":"file4"},{"photo_id":"1377113641","filename":"file1"},{"photo_id":"1377113639","filename":"file0"},{"photo_id":"1377113646","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113643":["hashtag1","hashtag2"]},{"1377113646":["hashtag1","hashtag2"]},{"1377113654":["hashtag1","hashtag2"]},{"1377113639":["hashtag1","hashtag2"]},{"1377113641":["hashtag1","hashtag2"]},{"1377113650":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113643, 1377113646, 1377113654, 1377113639, 1377113641, 1377113650)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.759865045547485 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:54:03.004710 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/40/image_14082025_12_40_19_10315.jpg', '/media/data/images/14082025/12/40/image_14082025_12_40_28_9133.jpg', '/media/data/images/14082025/12/40/image_14082025_12_40_38_10413.jpg', '/media/data/images/14082025/12/40/image_14082025_12_40_49_10239.jpg', '/media/data/images/14082025/12/40/image_14082025_12_40_59_10244.jpg', '/media/data/images/14082025/12/41/image_14082025_12_41_08_9077.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/40/image_14082025_12_40_19_10315.jpg /media/data/images/14082025/12/40/image_14082025_12_40_28_9133.jpg /media/data/images/14082025/12/40/image_14082025_12_40_38_10413.jpg /media/data/images/14082025/12/40/image_14082025_12_40_49_10239.jpg /media/data/images/14082025/12/40/image_14082025_12_40_59_10244.jpg /media/data/images/14082025/12/41/image_14082025_12_41_08_9077.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113681","1377113687","1377113672","1377113666","1377113677","1377113685"],"photo_ids_order":["1377113666","1377113672","1377113677","1377113681","1377113685","1377113687"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/05906db82375f5f3dc8d2f8f44f8b139.jpg","text":"TemporaryFile(/tmp/multipartBody2902024856733250674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201304127,"filename":"image_14082025_12_40_49_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7dca2fac061d1b2b5814ed83e906b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4140125191991794527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201304127,"filename":"image_14082025_12_41_08_9077.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d474402198a791b174256f294d2ed6e3.jpg","text":"TemporaryFile(/tmp/multipartBody6751176236359344409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201304127,"filename":"image_14082025_12_40_28_9133.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3988e281a32a186eb3132b097c8f08df.jpg","text":"TemporaryFile(/tmp/multipartBody4886502796709641599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201304127,"filename":"image_14082025_12_40_19_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ecda1b2ab5b23c52c84494cf00c8a19.jpg","text":"TemporaryFile(/tmp/multipartBody6545479615146932654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201304127,"filename":"image_14082025_12_40_38_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/864a20d25f34efeec29f15a3c083a112.jpg","text":"TemporaryFile(/tmp/multipartBody5501161789578204013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201304127,"filename":"image_14082025_12_40_59_10244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113677","file1":"1377113672","file0":"1377113666","file4":"1377113685","file5":"1377113687","file3":"1377113681"},"map_files_photo_id_array":[{"photo_id":"1377113687","filename":"file5"},{"photo_id":"1377113677","filename":"file2"},{"photo_id":"1377113685","filename":"file4"},{"photo_id":"1377113672","filename":"file1"},{"photo_id":"1377113666","filename":"file0"},{"photo_id":"1377113681","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113681":["hashtag1","hashtag2"]},{"1377113687":["hashtag1","hashtag2"]},{"1377113672":["hashtag1","hashtag2"]},{"1377113666":["hashtag1","hashtag2"]},{"1377113677":["hashtag1","hashtag2"]},{"1377113685":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113681, 1377113687, 1377113672, 1377113666, 1377113677, 1377113685)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.59920406341553 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:55:03.417191 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/41/image_14082025_12_41_18_10248.jpg', '/media/data/images/14082025/12/41/image_14082025_12_41_29_10256.jpg', '/media/data/images/14082025/12/41/image_14082025_12_41_39_10256.jpg', '/media/data/images/14082025/12/41/image_14082025_12_41_48_9202.jpg', '/media/data/images/14082025/12/41/image_14082025_12_41_58_10254.jpg', '/media/data/images/14082025/12/42/image_14082025_12_42_09_10215.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/41/image_14082025_12_41_18_10248.jpg /media/data/images/14082025/12/41/image_14082025_12_41_29_10256.jpg /media/data/images/14082025/12/41/image_14082025_12_41_39_10256.jpg /media/data/images/14082025/12/41/image_14082025_12_41_48_9202.jpg /media/data/images/14082025/12/41/image_14082025_12_41_58_10254.jpg /media/data/images/14082025/12/42/image_14082025_12_42_09_10215.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113703","1377113706","1377113696","1377113700","1377113710","1377113713"],"photo_ids_order":["1377113696","1377113700","1377113703","1377113706","1377113710","1377113713"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d476449a8f590f0bc611e4083a8ef8c.jpg","text":"TemporaryFile(/tmp/multipartBody106489660077536463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201364545,"filename":"image_14082025_12_41_39_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9be6a41f74161812adb77adff2abfa6c.jpg","text":"TemporaryFile(/tmp/multipartBody5519252017239389026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201364545,"filename":"image_14082025_12_41_48_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/639d22b4289f4ee557ea6fad4413a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody4970318710269702342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201364545,"filename":"image_14082025_12_41_18_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/369eee54b543595831f653349007815b.jpg","text":"TemporaryFile(/tmp/multipartBody6962024800412053832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201364545,"filename":"image_14082025_12_41_29_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8fe9320f01b347da640d9d1b51d479ef.jpg","text":"TemporaryFile(/tmp/multipartBody8574310010350189931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201364545,"filename":"image_14082025_12_41_58_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83c97d4bc6d265e756ce4bb7ee4ce238.jpg","text":"TemporaryFile(/tmp/multipartBody8743358476932148047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201364545,"filename":"image_14082025_12_42_09_10215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113703","file1":"1377113700","file0":"1377113696","file4":"1377113710","file5":"1377113713","file3":"1377113706"},"map_files_photo_id_array":[{"photo_id":"1377113713","filename":"file5"},{"photo_id":"1377113703","filename":"file2"},{"photo_id":"1377113710","filename":"file4"},{"photo_id":"1377113700","filename":"file1"},{"photo_id":"1377113696","filename":"file0"},{"photo_id":"1377113706","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113703":["hashtag1","hashtag2"]},{"1377113706":["hashtag1","hashtag2"]},{"1377113696":["hashtag1","hashtag2"]},{"1377113700":["hashtag1","hashtag2"]},{"1377113710":["hashtag1","hashtag2"]},{"1377113713":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113703, 1377113706, 1377113696, 1377113700, 1377113710, 1377113713)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.91882038116455 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:56:03.277070 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/42/image_14082025_12_42_19_10242.jpg', '/media/data/images/14082025/12/42/image_14082025_12_42_28_9111.jpg', '/media/data/images/14082025/12/42/image_14082025_12_42_38_10259.jpg', '/media/data/images/14082025/12/42/image_14082025_12_42_48_10258.jpg', '/media/data/images/14082025/12/42/image_14082025_12_42_59_10245.jpg', '/media/data/images/14082025/12/43/image_14082025_12_43_09_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/42/image_14082025_12_42_19_10242.jpg /media/data/images/14082025/12/42/image_14082025_12_42_28_9111.jpg /media/data/images/14082025/12/42/image_14082025_12_42_38_10259.jpg /media/data/images/14082025/12/42/image_14082025_12_42_48_10258.jpg /media/data/images/14082025/12/42/image_14082025_12_42_59_10245.jpg /media/data/images/14082025/12/43/image_14082025_12_43_09_10352.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113736","1377113724","1377113744","1377113732","1377113729","1377113740"],"photo_ids_order":["1377113724","1377113729","1377113732","1377113736","1377113740","1377113744"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00dbdca7cb3e4816e7050fe8709ed095.jpg","text":"TemporaryFile(/tmp/multipartBody8449317123548004742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201424345,"filename":"image_14082025_12_42_48_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df5f92118db0c18b9bfc2c91aa096e56.jpg","text":"TemporaryFile(/tmp/multipartBody633098748534794987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201424345,"filename":"image_14082025_12_42_19_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bad4528177c75cf34decb97dec19236.jpg","text":"TemporaryFile(/tmp/multipartBody6461581507278038218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201424345,"filename":"image_14082025_12_43_09_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8efb8c8d92fd277a04d1a35665fd53c8.jpg","text":"TemporaryFile(/tmp/multipartBody4748075637527069115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201424345,"filename":"image_14082025_12_42_38_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d5d9b710ea42ee29cb08c286fcd56a23.jpg","text":"TemporaryFile(/tmp/multipartBody6886005313516942762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201424345,"filename":"image_14082025_12_42_28_9111.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e78461092b9debb263ede9837f011069.jpg","text":"TemporaryFile(/tmp/multipartBody6102579469742482574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201424345,"filename":"image_14082025_12_42_59_10245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113732","file1":"1377113729","file0":"1377113724","file4":"1377113740","file5":"1377113744","file3":"1377113736"},"map_files_photo_id_array":[{"photo_id":"1377113744","filename":"file5"},{"photo_id":"1377113732","filename":"file2"},{"photo_id":"1377113740","filename":"file4"},{"photo_id":"1377113729","filename":"file1"},{"photo_id":"1377113724","filename":"file0"},{"photo_id":"1377113736","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113736":["hashtag1","hashtag2"]},{"1377113724":["hashtag1","hashtag2"]},{"1377113744":["hashtag1","hashtag2"]},{"1377113732":["hashtag1","hashtag2"]},{"1377113729":["hashtag1","hashtag2"]},{"1377113740":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113736, 1377113724, 1377113744, 1377113732, 1377113729, 1377113740)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.168412923812866 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:57:03.673297 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/43/image_14082025_12_43_18_9263.jpg', '/media/data/images/14082025/12/43/image_14082025_12_43_29_10344.jpg', '/media/data/images/14082025/12/43/image_14082025_12_43_39_10295.jpg', '/media/data/images/14082025/12/43/image_14082025_12_43_48_9078.jpg', '/media/data/images/14082025/12/43/image_14082025_12_43_58_10360.jpg', '/media/data/images/14082025/12/44/image_14082025_12_44_09_10186.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/43/image_14082025_12_43_18_9263.jpg /media/data/images/14082025/12/43/image_14082025_12_43_29_10344.jpg /media/data/images/14082025/12/43/image_14082025_12_43_39_10295.jpg /media/data/images/14082025/12/43/image_14082025_12_43_48_9078.jpg /media/data/images/14082025/12/43/image_14082025_12_43_58_10360.jpg /media/data/images/14082025/12/44/image_14082025_12_44_09_10186.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113754","1377113761","1377113749","1377113764","1377113758","1377113752"],"photo_ids_order":["1377113749","1377113752","1377113754","1377113758","1377113761","1377113764"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd27a00d324285bf783e5c601693d418.jpg","text":"TemporaryFile(/tmp/multipartBody5360736566477515001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201484745,"filename":"image_14082025_12_43_39_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf1a3c8610872c792d456379f76f4a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3778981641309117987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201484745,"filename":"image_14082025_12_43_58_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aef2020f6fad639ed5e5ee653273fbeb.jpg","text":"TemporaryFile(/tmp/multipartBody6501270105344634358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201484745,"filename":"image_14082025_12_43_18_9263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d57502c807a57233701a50ae85833cf.jpg","text":"TemporaryFile(/tmp/multipartBody3157331134501545194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201484745,"filename":"image_14082025_12_44_09_10186.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/832c8e0e20a7910fa2e8ed919c62ae99.jpg","text":"TemporaryFile(/tmp/multipartBody5062921555847714282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201484745,"filename":"image_14082025_12_43_48_9078.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22baef53509d939c99d0ede67d32f8ee.jpg","text":"TemporaryFile(/tmp/multipartBody3513355635863597109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201484745,"filename":"image_14082025_12_43_29_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113754","file1":"1377113752","file0":"1377113749","file4":"1377113761","file5":"1377113764","file3":"1377113758"},"map_files_photo_id_array":[{"photo_id":"1377113764","filename":"file5"},{"photo_id":"1377113754","filename":"file2"},{"photo_id":"1377113761","filename":"file4"},{"photo_id":"1377113752","filename":"file1"},{"photo_id":"1377113749","filename":"file0"},{"photo_id":"1377113758","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113754":["hashtag1","hashtag2"]},{"1377113761":["hashtag1","hashtag2"]},{"1377113749":["hashtag1","hashtag2"]},{"1377113764":["hashtag1","hashtag2"]},{"1377113758":["hashtag1","hashtag2"]},{"1377113752":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113754, 1377113761, 1377113749, 1377113764, 1377113758, 1377113752)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.17254137992859 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 21:59:03.273577 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/44/image_14082025_12_44_19_10381.jpg', '/media/data/images/14082025/12/44/image_14082025_12_44_28_9170.jpg', '/media/data/images/14082025/12/44/image_14082025_12_44_38_10299.jpg', '/media/data/images/14082025/12/44/image_14082025_12_44_49_10360.jpg', '/media/data/images/14082025/12/44/image_14082025_12_44_59_10318.jpg', '/media/data/images/14082025/12/45/image_14082025_12_45_08_9211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/44/image_14082025_12_44_19_10381.jpg /media/data/images/14082025/12/44/image_14082025_12_44_28_9170.jpg /media/data/images/14082025/12/44/image_14082025_12_44_38_10299.jpg /media/data/images/14082025/12/44/image_14082025_12_44_49_10360.jpg /media/data/images/14082025/12/44/image_14082025_12_44_59_10318.jpg /media/data/images/14082025/12/45/image_14082025_12_45_08_9211.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113814","1377113817","1377113811","1377113808","1377113801","1377113821"],"photo_ids_order":["1377113801","1377113808","1377113811","1377113814","1377113817","1377113821"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cfd20add58367e11342a707447b34343.jpg","text":"TemporaryFile(/tmp/multipartBody3018437609694471461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201604292,"filename":"image_14082025_12_44_49_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c35d0ac666dcf761d7a4b597a3a300e.jpg","text":"TemporaryFile(/tmp/multipartBody6932870183866120345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201604292,"filename":"image_14082025_12_44_59_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/723f1e8f40a4a3cb401a89e8f2b3e89b.jpg","text":"TemporaryFile(/tmp/multipartBody179696726042991757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201604292,"filename":"image_14082025_12_44_38_10299.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c231fa7b4b5abc47cf08d92b1ff4dbb2.jpg","text":"TemporaryFile(/tmp/multipartBody278898205228411218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201604292,"filename":"image_14082025_12_44_28_9170.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27b9e8faf2b2fc0f4f762335d6f109f1.jpg","text":"TemporaryFile(/tmp/multipartBody7702947696033119909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201604292,"filename":"image_14082025_12_44_19_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28eb39dde59212d9181bb651995c6917.jpg","text":"TemporaryFile(/tmp/multipartBody6065918859054274921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201604292,"filename":"image_14082025_12_45_08_9211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113811","file1":"1377113808","file0":"1377113801","file4":"1377113817","file5":"1377113821","file3":"1377113814"},"map_files_photo_id_array":[{"photo_id":"1377113821","filename":"file5"},{"photo_id":"1377113811","filename":"file2"},{"photo_id":"1377113817","filename":"file4"},{"photo_id":"1377113808","filename":"file1"},{"photo_id":"1377113801","filename":"file0"},{"photo_id":"1377113814","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113814":["hashtag1","hashtag2"]},{"1377113817":["hashtag1","hashtag2"]},{"1377113811":["hashtag1","hashtag2"]},{"1377113808":["hashtag1","hashtag2"]},{"1377113801":["hashtag1","hashtag2"]},{"1377113821":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113814, 1377113817, 1377113811, 1377113808, 1377113801, 1377113821)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.68010711669922 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:00:03.272512 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/45/image_14082025_12_45_19_10317.jpg', '/media/data/images/14082025/12/45/image_14082025_12_45_29_10323.jpg', '/media/data/images/14082025/12/45/image_14082025_12_45_38_9078.jpg', '/media/data/images/14082025/12/45/image_14082025_12_45_48_10423.jpg', '/media/data/images/14082025/12/45/image_14082025_12_45_59_10607.jpg', '/media/data/images/14082025/12/46/image_14082025_12_46_08_9405.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/45/image_14082025_12_45_19_10317.jpg /media/data/images/14082025/12/45/image_14082025_12_45_29_10323.jpg /media/data/images/14082025/12/45/image_14082025_12_45_38_9078.jpg /media/data/images/14082025/12/45/image_14082025_12_45_48_10423.jpg /media/data/images/14082025/12/45/image_14082025_12_45_59_10607.jpg /media/data/images/14082025/12/46/image_14082025_12_46_08_9405.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377113859","1377113880","1377113855","1377113852","1377113846","1377113875"],"photo_ids_order":["1377113846","1377113852","1377113855","1377113859","1377113875","1377113880"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c066f681f89836f315b29fdaa4c2fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody2864060552162980570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201664280,"filename":"image_14082025_12_45_48_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73ee356c6a379e01f8f6e5e9eed3902a.jpg","text":"TemporaryFile(/tmp/multipartBody6666648738944810037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201664280,"filename":"image_14082025_12_46_08_9405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03c142a064c316d40bf9fa1ef6bbc7b7.jpg","text":"TemporaryFile(/tmp/multipartBody2798433005015323464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201664280,"filename":"image_14082025_12_45_38_9078.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/918e9baf1d86e109367a1f73e1c87f56.jpg","text":"TemporaryFile(/tmp/multipartBody9030468904361879362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201664280,"filename":"image_14082025_12_45_29_10323.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d806772713abe5e60f33c1568584de6.jpg","text":"TemporaryFile(/tmp/multipartBody99966397593263723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201664280,"filename":"image_14082025_12_45_19_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a9c91ae8e39a4f0907da77c929a84382.jpg","text":"TemporaryFile(/tmp/multipartBody2337970692833583851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201664280,"filename":"image_14082025_12_45_59_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377113855","file1":"1377113852","file0":"1377113846","file4":"1377113875","file5":"1377113880","file3":"1377113859"},"map_files_photo_id_array":[{"photo_id":"1377113880","filename":"file5"},{"photo_id":"1377113855","filename":"file2"},{"photo_id":"1377113875","filename":"file4"},{"photo_id":"1377113852","filename":"file1"},{"photo_id":"1377113846","filename":"file0"},{"photo_id":"1377113859","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377113859":["hashtag1","hashtag2"]},{"1377113880":["hashtag1","hashtag2"]},{"1377113855":["hashtag1","hashtag2"]},{"1377113852":["hashtag1","hashtag2"]},{"1377113846":["hashtag1","hashtag2"]},{"1377113875":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377113859, 1377113880, 1377113855, 1377113852, 1377113846, 1377113875)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.76246356964111 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:01:03.493341 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/46/image_14082025_12_46_19_10322.jpg', '/media/data/images/14082025/12/46/image_14082025_12_46_28_9117.jpg', '/media/data/images/14082025/12/46/image_14082025_12_46_38_10294.jpg', '/media/data/images/14082025/12/46/image_14082025_12_46_48_10349.jpg', '/media/data/images/14082025/12/46/image_14082025_12_46_59_10290.jpg', '/media/data/images/14082025/12/47/image_14082025_12_47_09_10241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/46/image_14082025_12_46_19_10322.jpg /media/data/images/14082025/12/46/image_14082025_12_46_28_9117.jpg /media/data/images/14082025/12/46/image_14082025_12_46_38_10294.jpg /media/data/images/14082025/12/46/image_14082025_12_46_48_10349.jpg /media/data/images/14082025/12/46/image_14082025_12_46_59_10290.jpg /media/data/images/14082025/12/47/image_14082025_12_47_09_10241.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377114048","1377114012","1377114117","1377114152","1377113978","1377114084"],"photo_ids_order":["1377113978","1377114012","1377114048","1377114084","1377114117","1377114152"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb41728232b6c42d0224ec60a05a5b97.jpg","text":"TemporaryFile(/tmp/multipartBody17366554338324656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201724521,"filename":"image_14082025_12_46_38_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/34d857d3bd5746a7c8f66f0a8b910543.jpg","text":"TemporaryFile(/tmp/multipartBody4226963546537929809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201724521,"filename":"image_14082025_12_46_28_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de14c3390618a788005bfcfbefd06863.jpg","text":"TemporaryFile(/tmp/multipartBody2734261859603120742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201724521,"filename":"image_14082025_12_46_59_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fdbd8acb42e1785db5da1dc8b464e1da.jpg","text":"TemporaryFile(/tmp/multipartBody7275381030037399857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201724521,"filename":"image_14082025_12_47_09_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c5c93f9a8938a2e50319295616cf574.jpg","text":"TemporaryFile(/tmp/multipartBody1548305283399993075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201724521,"filename":"image_14082025_12_46_19_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00e1d29ab0add050135b7b2f0f8fc8e4.jpg","text":"TemporaryFile(/tmp/multipartBody8855440002063777381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201724521,"filename":"image_14082025_12_46_48_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377114048","file1":"1377114012","file0":"1377113978","file4":"1377114117","file5":"1377114152","file3":"1377114084"},"map_files_photo_id_array":[{"photo_id":"1377114152","filename":"file5"},{"photo_id":"1377114048","filename":"file2"},{"photo_id":"1377114117","filename":"file4"},{"photo_id":"1377114012","filename":"file1"},{"photo_id":"1377113978","filename":"file0"},{"photo_id":"1377114084","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377114048":["hashtag1","hashtag2"]},{"1377114012":["hashtag1","hashtag2"]},{"1377114117":["hashtag1","hashtag2"]},{"1377114152":["hashtag1","hashtag2"]},{"1377113978":["hashtag1","hashtag2"]},{"1377114084":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377114048, 1377114012, 1377114117, 1377114152, 1377113978, 1377114084)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.02755856513977 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:02:02.461136 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/47/image_14082025_12_47_18_9142.jpg', '/media/data/images/14082025/12/47/image_14082025_12_47_29_10486.jpg', '/media/data/images/14082025/12/47/image_14082025_12_47_39_10281.jpg', '/media/data/images/14082025/12/47/image_14082025_12_47_48_9133.jpg', '/media/data/images/14082025/12/47/image_14082025_12_47_58_10294.jpg', '/media/data/images/14082025/12/48/image_14082025_12_48_09_10271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/47/image_14082025_12_47_18_9142.jpg /media/data/images/14082025/12/47/image_14082025_12_47_29_10486.jpg /media/data/images/14082025/12/47/image_14082025_12_47_39_10281.jpg /media/data/images/14082025/12/47/image_14082025_12_47_48_9133.jpg /media/data/images/14082025/12/47/image_14082025_12_47_58_10294.jpg /media/data/images/14082025/12/48/image_14082025_12_48_09_10271.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377114560","1377114685","1377114751","1377114814","1377114622","1377114879"],"photo_ids_order":["1377114560","1377114622","1377114685","1377114751","1377114814","1377114879"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/89052967286031269c0122071cafde83.jpg","text":"TemporaryFile(/tmp/multipartBody4031515914590128449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201783455,"filename":"image_14082025_12_47_18_9142.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29d53f75c114441a34962776bb90ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody5222384643093547200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201783455,"filename":"image_14082025_12_47_39_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1db1f414cfc24377eed7a5a0c1c8dce6.jpg","text":"TemporaryFile(/tmp/multipartBody7998484520632179897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201783455,"filename":"image_14082025_12_47_48_9133.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5946bd0056bc28567f65c66998ca269.jpg","text":"TemporaryFile(/tmp/multipartBody8558543543688476379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201783455,"filename":"image_14082025_12_47_58_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3145aff027c0e72feededc15d77cf626.jpg","text":"TemporaryFile(/tmp/multipartBody2929913333381479301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201783455,"filename":"image_14082025_12_47_29_10486.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d7a6e2779cc619b91e239d29ad95a73.jpg","text":"TemporaryFile(/tmp/multipartBody4774564450584973409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201783455,"filename":"image_14082025_12_48_09_10271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377114685","file1":"1377114622","file0":"1377114560","file4":"1377114814","file5":"1377114879","file3":"1377114751"},"map_files_photo_id_array":[{"photo_id":"1377114879","filename":"file5"},{"photo_id":"1377114685","filename":"file2"},{"photo_id":"1377114814","filename":"file4"},{"photo_id":"1377114622","filename":"file1"},{"photo_id":"1377114560","filename":"file0"},{"photo_id":"1377114751","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377114560":["hashtag1","hashtag2"]},{"1377114685":["hashtag1","hashtag2"]},{"1377114751":["hashtag1","hashtag2"]},{"1377114814":["hashtag1","hashtag2"]},{"1377114622":["hashtag1","hashtag2"]},{"1377114879":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377114560, 1377114685, 1377114751, 1377114814, 1377114622, 1377114879)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.9689998626709 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:03:02.840653 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/48/image_14082025_12_48_19_10256.jpg', '/media/data/images/14082025/12/48/image_14082025_12_48_28_9066.jpg', '/media/data/images/14082025/12/48/image_14082025_12_48_38_10440.jpg', '/media/data/images/14082025/12/48/image_14082025_12_48_49_10249.jpg', '/media/data/images/14082025/12/48/image_14082025_12_48_59_10264.jpg', '/media/data/images/14082025/12/49/image_14082025_12_49_08_9289.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/48/image_14082025_12_48_19_10256.jpg /media/data/images/14082025/12/48/image_14082025_12_48_28_9066.jpg /media/data/images/14082025/12/48/image_14082025_12_48_38_10440.jpg /media/data/images/14082025/12/48/image_14082025_12_48_49_10249.jpg /media/data/images/14082025/12/48/image_14082025_12_48_59_10264.jpg /media/data/images/14082025/12/49/image_14082025_12_49_08_9289.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377115328","1377115585","1377115393","1377115456","1377115519","1377115635"],"photo_ids_order":["1377115328","1377115393","1377115456","1377115519","1377115585","1377115635"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8442b002c7de5046d603ad00d93e63ee.jpg","text":"TemporaryFile(/tmp/multipartBody6271546694104664772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201843880,"filename":"image_14082025_12_48_19_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/53695d97af18e562919b6eb628e93535.jpg","text":"TemporaryFile(/tmp/multipartBody8031946258794043797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201843880,"filename":"image_14082025_12_48_59_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/018af7bd20521c581acb7cf26bd3d718.jpg","text":"TemporaryFile(/tmp/multipartBody6425227291549026622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201843880,"filename":"image_14082025_12_48_28_9066.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e2b37e02a3ee683fe32194e0bbbb3f8d.jpg","text":"TemporaryFile(/tmp/multipartBody1203239989709373901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201843880,"filename":"image_14082025_12_48_38_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fe0c01790e0fe901b39aeb2be02ff09.jpg","text":"TemporaryFile(/tmp/multipartBody8079931184353966842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201843880,"filename":"image_14082025_12_48_49_10249.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7db8b5348fa22af11cf36d4d18362ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4334137794437736121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201843880,"filename":"image_14082025_12_49_08_9289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377115456","file1":"1377115393","file0":"1377115328","file4":"1377115585","file5":"1377115635","file3":"1377115519"},"map_files_photo_id_array":[{"photo_id":"1377115635","filename":"file5"},{"photo_id":"1377115456","filename":"file2"},{"photo_id":"1377115585","filename":"file4"},{"photo_id":"1377115393","filename":"file1"},{"photo_id":"1377115328","filename":"file0"},{"photo_id":"1377115519","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377115328":["hashtag1","hashtag2"]},{"1377115585":["hashtag1","hashtag2"]},{"1377115393":["hashtag1","hashtag2"]},{"1377115456":["hashtag1","hashtag2"]},{"1377115519":["hashtag1","hashtag2"]},{"1377115635":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377115328, 1377115585, 1377115393, 1377115456, 1377115519, 1377115635)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.89928841590881 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:04:02.762857 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/49/image_14082025_12_49_19_10332.jpg', '/media/data/images/14082025/12/49/image_14082025_12_49_29_10338.jpg', '/media/data/images/14082025/12/49/image_14082025_12_49_38_9022.jpg', '/media/data/images/14082025/12/49/image_14082025_12_49_59_10658.jpg', '/media/data/images/14082025/12/50/image_14082025_12_50_08_9338.jpg', '/media/data/images/14082025/12/50/image_14082025_12_50_18_10271.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/49/image_14082025_12_49_19_10332.jpg /media/data/images/14082025/12/49/image_14082025_12_49_29_10338.jpg /media/data/images/14082025/12/49/image_14082025_12_49_38_9022.jpg /media/data/images/14082025/12/49/image_14082025_12_49_59_10658.jpg /media/data/images/14082025/12/50/image_14082025_12_50_08_9338.jpg /media/data/images/14082025/12/50/image_14082025_12_50_18_10271.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377116105","1377115892","1377115855","1377115995","1377116061","1377115929"],"photo_ids_order":["1377115855","1377115892","1377115929","1377115995","1377116061","1377116105"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b9abe89447619071066137d8db61ada5.jpg","text":"TemporaryFile(/tmp/multipartBody5693672962609348983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201903835,"filename":"image_14082025_12_50_18_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac214743626fd3300965b181cadf02b5.jpg","text":"TemporaryFile(/tmp/multipartBody273260989540856536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201903835,"filename":"image_14082025_12_49_29_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3b537eca3b92dac58096ceaaf6bbc07.jpg","text":"TemporaryFile(/tmp/multipartBody4307766899263259014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201903835,"filename":"image_14082025_12_49_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1a347c46243ccbfa7c5d31e74ce08bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3073172468772453905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201903835,"filename":"image_14082025_12_49_59_10658.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a6aebe2f7d8f020113809eaf68b33d7.jpg","text":"TemporaryFile(/tmp/multipartBody8565050173602692050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201903835,"filename":"image_14082025_12_50_08_9338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e1bbcee4783b10af61413c13693072bd.jpg","text":"TemporaryFile(/tmp/multipartBody3692563909380984556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201903835,"filename":"image_14082025_12_49_38_9022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377115929","file1":"1377115892","file0":"1377115855","file4":"1377116061","file5":"1377116105","file3":"1377115995"},"map_files_photo_id_array":[{"photo_id":"1377116105","filename":"file5"},{"photo_id":"1377115929","filename":"file2"},{"photo_id":"1377116061","filename":"file4"},{"photo_id":"1377115892","filename":"file1"},{"photo_id":"1377115855","filename":"file0"},{"photo_id":"1377115995","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377116105":["hashtag1","hashtag2"]},{"1377115892":["hashtag1","hashtag2"]},{"1377115855":["hashtag1","hashtag2"]},{"1377115995":["hashtag1","hashtag2"]},{"1377116061":["hashtag1","hashtag2"]},{"1377115929":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377116105, 1377115892, 1377115855, 1377115995, 1377116061, 1377115929)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.030444622039795 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:05:03.115012 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/50/image_14082025_12_50_29_10264.jpg', '/media/data/images/14082025/12/50/image_14082025_12_50_39_10293.jpg', '/media/data/images/14082025/12/50/image_14082025_12_50_48_9080.jpg', '/media/data/images/14082025/12/50/image_14082025_12_50_58_10259.jpg', '/media/data/images/14082025/12/51/image_14082025_12_51_09_10224.jpg', '/media/data/images/14082025/12/51/image_14082025_12_51_19_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/50/image_14082025_12_50_29_10264.jpg /media/data/images/14082025/12/50/image_14082025_12_50_39_10293.jpg /media/data/images/14082025/12/50/image_14082025_12_50_48_9080.jpg /media/data/images/14082025/12/50/image_14082025_12_50_58_10259.jpg /media/data/images/14082025/12/51/image_14082025_12_51_09_10224.jpg /media/data/images/14082025/12/51/image_14082025_12_51_19_10319.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377116479","1377116617","1377116808","1377116742","1377116678","1377116546"],"photo_ids_order":["1377116479","1377116546","1377116617","1377116678","1377116742","1377116808"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e3e312d3af9af39fde9aef042c00fa8a.jpg","text":"TemporaryFile(/tmp/multipartBody7467509469493379844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201964212,"filename":"image_14082025_12_50_29_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7a3df443cfc672f0b376f1176ec5af30.jpg","text":"TemporaryFile(/tmp/multipartBody52401501534922347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201964212,"filename":"image_14082025_12_50_48_9080.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff008e0ce6d040b277e53c6907ef0a40.jpg","text":"TemporaryFile(/tmp/multipartBody5532178358444431432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201964212,"filename":"image_14082025_12_51_19_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/63d6b688d5389c84e2286585d0f183b8.jpg","text":"TemporaryFile(/tmp/multipartBody2973442835973941964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201964212,"filename":"image_14082025_12_51_09_10224.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae3723358c149ad3a8d37346b3d9eda6.jpg","text":"TemporaryFile(/tmp/multipartBody5167334337968292057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201964212,"filename":"image_14082025_12_50_58_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd15b5932a58435336ffb384c6bcab05.jpg","text":"TemporaryFile(/tmp/multipartBody5165328699916202365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755201964212,"filename":"image_14082025_12_50_39_10293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377116617","file1":"1377116546","file0":"1377116479","file4":"1377116742","file5":"1377116808","file3":"1377116678"},"map_files_photo_id_array":[{"photo_id":"1377116808","filename":"file5"},{"photo_id":"1377116617","filename":"file2"},{"photo_id":"1377116742","filename":"file4"},{"photo_id":"1377116546","filename":"file1"},{"photo_id":"1377116479","filename":"file0"},{"photo_id":"1377116678","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377116479":["hashtag1","hashtag2"]},{"1377116617":["hashtag1","hashtag2"]},{"1377116808":["hashtag1","hashtag2"]},{"1377116742":["hashtag1","hashtag2"]},{"1377116678":["hashtag1","hashtag2"]},{"1377116546":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377116479, 1377116617, 1377116808, 1377116742, 1377116678, 1377116546)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.43425464630127 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:06:02.792201 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/51/image_14082025_12_51_28_9183.jpg', '/media/data/images/14082025/12/51/image_14082025_12_51_38_10344.jpg', '/media/data/images/14082025/12/51/image_14082025_12_51_49_10266.jpg', '/media/data/images/14082025/12/51/image_14082025_12_51_59_10285.jpg', '/media/data/images/14082025/12/52/image_14082025_12_52_08_9298.jpg', '/media/data/images/14082025/12/52/image_14082025_12_52_19_10325.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/51/image_14082025_12_51_28_9183.jpg /media/data/images/14082025/12/51/image_14082025_12_51_38_10344.jpg /media/data/images/14082025/12/51/image_14082025_12_51_49_10266.jpg /media/data/images/14082025/12/51/image_14082025_12_51_59_10285.jpg /media/data/images/14082025/12/52/image_14082025_12_52_08_9298.jpg /media/data/images/14082025/12/52/image_14082025_12_52_19_10325.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377117424","1377117267","1377117635","1377117353","1377117571","1377117493"],"photo_ids_order":["1377117267","1377117353","1377117424","1377117493","1377117571","1377117635"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b94d064a04d727cf63d087d92b3b81b0.jpg","text":"TemporaryFile(/tmp/multipartBody3798477522675284254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202023855,"filename":"image_14082025_12_51_49_10266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/784fe7874921806f5a50696bf8c6be06.jpg","text":"TemporaryFile(/tmp/multipartBody8841911865166284338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202023855,"filename":"image_14082025_12_51_28_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36903bcda391400d00a7d62607edae85.jpg","text":"TemporaryFile(/tmp/multipartBody3627364479455044589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202023855,"filename":"image_14082025_12_52_19_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/771b8d851d155e43a6e1a5f42ffd4496.jpg","text":"TemporaryFile(/tmp/multipartBody6230212523630070167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202023855,"filename":"image_14082025_12_51_38_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee3424bba678d789ad7106f3c548015d.jpg","text":"TemporaryFile(/tmp/multipartBody1360071515775885732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202023855,"filename":"image_14082025_12_52_08_9298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fbd2b0e40b6d806be7c02cdc38190ba1.jpg","text":"TemporaryFile(/tmp/multipartBody4512469109774174351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202023855,"filename":"image_14082025_12_51_59_10285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377117424","file1":"1377117353","file0":"1377117267","file4":"1377117571","file5":"1377117635","file3":"1377117493"},"map_files_photo_id_array":[{"photo_id":"1377117635","filename":"file5"},{"photo_id":"1377117424","filename":"file2"},{"photo_id":"1377117571","filename":"file4"},{"photo_id":"1377117353","filename":"file1"},{"photo_id":"1377117267","filename":"file0"},{"photo_id":"1377117493","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377117424":["hashtag1","hashtag2"]},{"1377117267":["hashtag1","hashtag2"]},{"1377117635":["hashtag1","hashtag2"]},{"1377117353":["hashtag1","hashtag2"]},{"1377117571":["hashtag1","hashtag2"]},{"1377117493":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377117424, 1377117267, 1377117635, 1377117353, 1377117571, 1377117493)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.22740912437439 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:07:03.286188 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/52/image_14082025_12_52_28_9337.jpg', '/media/data/images/14082025/12/52/image_14082025_12_52_38_10322.jpg', '/media/data/images/14082025/12/52/image_14082025_12_52_49_10307.jpg', '/media/data/images/14082025/12/52/image_14082025_12_52_59_10318.jpg', '/media/data/images/14082025/12/53/image_14082025_12_53_08_9131.jpg', '/media/data/images/14082025/12/53/image_14082025_12_53_18_10391.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/52/image_14082025_12_52_28_9337.jpg /media/data/images/14082025/12/52/image_14082025_12_52_38_10322.jpg /media/data/images/14082025/12/52/image_14082025_12_52_49_10307.jpg /media/data/images/14082025/12/52/image_14082025_12_52_59_10318.jpg /media/data/images/14082025/12/53/image_14082025_12_53_08_9131.jpg /media/data/images/14082025/12/53/image_14082025_12_53_18_10391.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377118035","1377118076","1377117899","1377118001","1377117962","1377117827"],"photo_ids_order":["1377117827","1377117899","1377117962","1377118001","1377118035","1377118076"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1fb7a614ebf08ff61e3e6e873a23f4b1.jpg","text":"TemporaryFile(/tmp/multipartBody7972263612997811627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202084301,"filename":"image_14082025_12_53_08_9131.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec4310dfd28446af8c38da524aaad8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7802382053914852934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202084301,"filename":"image_14082025_12_53_18_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/93ef15c2ecdd94fedfc1e6d1939209e4.jpg","text":"TemporaryFile(/tmp/multipartBody6834956719976329915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202084301,"filename":"image_14082025_12_52_38_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b73b798cc22bd126725fa7b3cdb2bb6a.jpg","text":"TemporaryFile(/tmp/multipartBody1994979762211742502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202084301,"filename":"image_14082025_12_52_59_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0f2071b4fa718b4c14d0c07b1b2d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody6187870148376249731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202084301,"filename":"image_14082025_12_52_49_10307.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2cf943278b42bd9038bd16cf1d98a9de.jpg","text":"TemporaryFile(/tmp/multipartBody64816476626642929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202084301,"filename":"image_14082025_12_52_28_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377117962","file1":"1377117899","file0":"1377117827","file4":"1377118035","file5":"1377118076","file3":"1377118001"},"map_files_photo_id_array":[{"photo_id":"1377118076","filename":"file5"},{"photo_id":"1377117962","filename":"file2"},{"photo_id":"1377118035","filename":"file4"},{"photo_id":"1377117899","filename":"file1"},{"photo_id":"1377117827","filename":"file0"},{"photo_id":"1377118001","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377118035":["hashtag1","hashtag2"]},{"1377118076":["hashtag1","hashtag2"]},{"1377117899":["hashtag1","hashtag2"]},{"1377118001":["hashtag1","hashtag2"]},{"1377117962":["hashtag1","hashtag2"]},{"1377117827":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377118035, 1377118076, 1377117899, 1377118001, 1377117962, 1377117827)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.02392578125 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:08:03.239446 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/53/image_14082025_12_53_29_10390.jpg', '/media/data/images/14082025/12/53/image_14082025_12_53_38_9137.jpg', '/media/data/images/14082025/12/53/image_14082025_12_53_48_10346.jpg', '/media/data/images/14082025/12/53/image_14082025_12_53_59_10315.jpg', '/media/data/images/14082025/12/54/image_14082025_12_54_09_10420.jpg', '/media/data/images/14082025/12/54/image_14082025_12_54_18_9073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/53/image_14082025_12_53_29_10390.jpg /media/data/images/14082025/12/53/image_14082025_12_53_38_9137.jpg /media/data/images/14082025/12/53/image_14082025_12_53_48_10346.jpg /media/data/images/14082025/12/53/image_14082025_12_53_59_10315.jpg /media/data/images/14082025/12/54/image_14082025_12_54_09_10420.jpg /media/data/images/14082025/12/54/image_14082025_12_54_18_9073.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377118686","1377118618","1377118487","1377118777","1377118558","1377118864"],"photo_ids_order":["1377118487","1377118558","1377118618","1377118686","1377118777","1377118864"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/605723ffc91b567a8ad33ed9ecb3e9eb.jpg","text":"TemporaryFile(/tmp/multipartBody7681360366331028736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202144233,"filename":"image_14082025_12_53_59_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/493c44ffb9e5f2dbefed541283338f80.jpg","text":"TemporaryFile(/tmp/multipartBody4242506263623536824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202144233,"filename":"image_14082025_12_53_48_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/322ea08df8865349189e04999b2375ce.jpg","text":"TemporaryFile(/tmp/multipartBody5857055668924530349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202144233,"filename":"image_14082025_12_53_29_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/29b6291d25553cb9cff35f23c1b9f7ba.jpg","text":"TemporaryFile(/tmp/multipartBody1199719239328026578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202144233,"filename":"image_14082025_12_54_09_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5abab03fa66a91573df4f2aeef9555f1.jpg","text":"TemporaryFile(/tmp/multipartBody998027910057086538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202144233,"filename":"image_14082025_12_53_38_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3851dbb7c931097cc609ad8dae2971c.jpg","text":"TemporaryFile(/tmp/multipartBody4895491396227423348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202144233,"filename":"image_14082025_12_54_18_9073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377118618","file1":"1377118558","file0":"1377118487","file4":"1377118777","file5":"1377118864","file3":"1377118686"},"map_files_photo_id_array":[{"photo_id":"1377118864","filename":"file5"},{"photo_id":"1377118618","filename":"file2"},{"photo_id":"1377118777","filename":"file4"},{"photo_id":"1377118558","filename":"file1"},{"photo_id":"1377118487","filename":"file0"},{"photo_id":"1377118686","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377118686":["hashtag1","hashtag2"]},{"1377118618":["hashtag1","hashtag2"]},{"1377118487":["hashtag1","hashtag2"]},{"1377118777":["hashtag1","hashtag2"]},{"1377118558":["hashtag1","hashtag2"]},{"1377118864":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377118686, 1377118618, 1377118487, 1377118777, 1377118558, 1377118864)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.026084899902344 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:09:03.409312 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/54/image_14082025_12_54_28_10374.jpg', '/media/data/images/14082025/12/54/image_14082025_12_54_39_10300.jpg', '/media/data/images/14082025/12/54/image_14082025_12_54_48_9138.jpg', '/media/data/images/14082025/12/54/image_14082025_12_54_58_10310.jpg', '/media/data/images/14082025/12/55/image_14082025_12_55_08_10185.jpg', '/media/data/images/14082025/12/55/image_14082025_12_55_19_10259.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/54/image_14082025_12_54_28_10374.jpg /media/data/images/14082025/12/54/image_14082025_12_54_39_10300.jpg /media/data/images/14082025/12/54/image_14082025_12_54_48_9138.jpg /media/data/images/14082025/12/54/image_14082025_12_54_58_10310.jpg /media/data/images/14082025/12/55/image_14082025_12_55_08_10185.jpg /media/data/images/14082025/12/55/image_14082025_12_55_19_10259.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377119550","1377119517","1377119366","1377119485","1377119437","1377119583"],"photo_ids_order":["1377119366","1377119437","1377119485","1377119517","1377119550","1377119583"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23b0acfa1b8c9404c3c5bb68105998dc.jpg","text":"TemporaryFile(/tmp/multipartBody5048655037954786186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202204454,"filename":"image_14082025_12_55_08_10185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/788675df6ca04d05aac612cbe4b5e760.jpg","text":"TemporaryFile(/tmp/multipartBody932350949912013047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202204454,"filename":"image_14082025_12_54_58_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/830c912e9dfac1d18c1504c7d0b8c5ce.jpg","text":"TemporaryFile(/tmp/multipartBody1544564697821772103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202204454,"filename":"image_14082025_12_54_28_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c126b9a4de332f83819a942c06df2c42.jpg","text":"TemporaryFile(/tmp/multipartBody1064149649580904898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202204454,"filename":"image_14082025_12_54_48_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5925e925635aabc942c62b0266a65067.jpg","text":"TemporaryFile(/tmp/multipartBody1592259048994956119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202204454,"filename":"image_14082025_12_54_39_10300.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/520c6acde9f3be832c47e30b54a121a0.jpg","text":"TemporaryFile(/tmp/multipartBody7432871083577192916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202204454,"filename":"image_14082025_12_55_19_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377119485","file1":"1377119437","file0":"1377119366","file4":"1377119550","file5":"1377119583","file3":"1377119517"},"map_files_photo_id_array":[{"photo_id":"1377119583","filename":"file5"},{"photo_id":"1377119485","filename":"file2"},{"photo_id":"1377119550","filename":"file4"},{"photo_id":"1377119437","filename":"file1"},{"photo_id":"1377119366","filename":"file0"},{"photo_id":"1377119517","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377119550":["hashtag1","hashtag2"]},{"1377119517":["hashtag1","hashtag2"]},{"1377119366":["hashtag1","hashtag2"]},{"1377119485":["hashtag1","hashtag2"]},{"1377119437":["hashtag1","hashtag2"]},{"1377119583":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377119550, 1377119517, 1377119366, 1377119485, 1377119437, 1377119583)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.115442991256714 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:10:03.422399 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/55/image_14082025_12_55_29_10368.jpg', '/media/data/images/14082025/12/55/image_14082025_12_55_38_9116.jpg', '/media/data/images/14082025/12/55/image_14082025_12_55_48_10268.jpg', '/media/data/images/14082025/12/55/image_14082025_12_55_59_10246.jpg', '/media/data/images/14082025/12/56/image_14082025_12_56_08_9284.jpg', '/media/data/images/14082025/12/56/image_14082025_12_56_18_10248.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/55/image_14082025_12_55_29_10368.jpg /media/data/images/14082025/12/55/image_14082025_12_55_38_9116.jpg /media/data/images/14082025/12/55/image_14082025_12_55_48_10268.jpg /media/data/images/14082025/12/55/image_14082025_12_55_59_10246.jpg /media/data/images/14082025/12/56/image_14082025_12_56_08_9284.jpg /media/data/images/14082025/12/56/image_14082025_12_56_18_10248.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377120016","1377120001","1377119916","1377119951","1377119836","1377119880"],"photo_ids_order":["1377119836","1377119880","1377119916","1377119951","1377120001","1377120016"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/24e3759545586c2cf054be96ec7c00a1.jpg","text":"TemporaryFile(/tmp/multipartBody5957619645381045069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202264541,"filename":"image_14082025_12_56_18_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec98c8aa4d1bfcec6ccc308343c516bb.jpg","text":"TemporaryFile(/tmp/multipartBody8433871620546049106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202264541,"filename":"image_14082025_12_56_08_9284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fc285d50e9685ed287bdf292614d1e5e.jpg","text":"TemporaryFile(/tmp/multipartBody6108452632317599301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202264541,"filename":"image_14082025_12_55_48_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef20d3c8b695548d791269607db99d94.jpg","text":"TemporaryFile(/tmp/multipartBody1529158207463980718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202264541,"filename":"image_14082025_12_55_59_10246.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c4d59236090ea2dc582dc2f0e1ad792.jpg","text":"TemporaryFile(/tmp/multipartBody4842209455746492230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202264541,"filename":"image_14082025_12_55_29_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c820c5b1b02cf4a6d02e1fd6f065b02c.jpg","text":"TemporaryFile(/tmp/multipartBody4986529398705485020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202264541,"filename":"image_14082025_12_55_38_9116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377119916","file1":"1377119880","file0":"1377119836","file4":"1377120001","file5":"1377120016","file3":"1377119951"},"map_files_photo_id_array":[{"photo_id":"1377120016","filename":"file5"},{"photo_id":"1377119916","filename":"file2"},{"photo_id":"1377120001","filename":"file4"},{"photo_id":"1377119880","filename":"file1"},{"photo_id":"1377119836","filename":"file0"},{"photo_id":"1377119951","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377120016":["hashtag1","hashtag2"]},{"1377120001":["hashtag1","hashtag2"]},{"1377119916":["hashtag1","hashtag2"]},{"1377119951":["hashtag1","hashtag2"]},{"1377119836":["hashtag1","hashtag2"]},{"1377119880":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377120016, 1377120001, 1377119916, 1377119951, 1377119836, 1377119880)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.32208752632141 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:11:03.708473 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/56/image_14082025_12_56_29_10325.jpg', '/media/data/images/14082025/12/56/image_14082025_12_56_39_10240.jpg', '/media/data/images/14082025/12/56/image_14082025_12_56_48_9155.jpg', '/media/data/images/14082025/12/56/image_14082025_12_56_58_10248.jpg', '/media/data/images/14082025/12/57/image_14082025_12_57_08_10219.jpg', '/media/data/images/14082025/12/57/image_14082025_12_57_19_10416.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/56/image_14082025_12_56_29_10325.jpg /media/data/images/14082025/12/56/image_14082025_12_56_39_10240.jpg /media/data/images/14082025/12/56/image_14082025_12_56_48_9155.jpg /media/data/images/14082025/12/56/image_14082025_12_56_58_10248.jpg /media/data/images/14082025/12/57/image_14082025_12_57_08_10219.jpg /media/data/images/14082025/12/57/image_14082025_12_57_19_10416.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377120340","1377120334","1377120313","1377120387","1377120397","1377120364"],"photo_ids_order":["1377120313","1377120334","1377120340","1377120364","1377120387","1377120397"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39d07de9338b958371d6bf5e00e1c8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4440123641058719630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202324791,"filename":"image_14082025_12_56_48_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9eec360c218e042ff8bbdf604669e85.jpg","text":"TemporaryFile(/tmp/multipartBody38298361772375847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202324791,"filename":"image_14082025_12_56_39_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5cae1ea022bbce8310e0f53ff9a467ee.jpg","text":"TemporaryFile(/tmp/multipartBody504147368993360560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202324791,"filename":"image_14082025_12_56_29_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c22aaa3458c41e18d20cbbd813d25d7d.jpg","text":"TemporaryFile(/tmp/multipartBody4618891196883931412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202324791,"filename":"image_14082025_12_57_08_10219.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6f8a4e97b5d0672be09056ef8eb4937.jpg","text":"TemporaryFile(/tmp/multipartBody7207087443328591027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202324791,"filename":"image_14082025_12_57_19_10416.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/58e3d5fe1f320559a0ad52da6e35fd2d.jpg","text":"TemporaryFile(/tmp/multipartBody5054484246132831612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202324791,"filename":"image_14082025_12_56_58_10248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377120340","file1":"1377120334","file0":"1377120313","file4":"1377120387","file5":"1377120397","file3":"1377120364"},"map_files_photo_id_array":[{"photo_id":"1377120397","filename":"file5"},{"photo_id":"1377120340","filename":"file2"},{"photo_id":"1377120387","filename":"file4"},{"photo_id":"1377120334","filename":"file1"},{"photo_id":"1377120313","filename":"file0"},{"photo_id":"1377120364","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377120340":["hashtag1","hashtag2"]},{"1377120334":["hashtag1","hashtag2"]},{"1377120313":["hashtag1","hashtag2"]},{"1377120387":["hashtag1","hashtag2"]},{"1377120397":["hashtag1","hashtag2"]},{"1377120364":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377120340, 1377120334, 1377120313, 1377120387, 1377120397, 1377120364)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.90261483192444 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:12:02.604958 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/57/image_14082025_12_57_28_9018.jpg', '/media/data/images/14082025/12/57/image_14082025_12_57_38_10245.jpg', '/media/data/images/14082025/12/57/image_14082025_12_57_48_10254.jpg', '/media/data/images/14082025/12/57/image_14082025_12_57_59_10286.jpg', '/media/data/images/14082025/12/58/image_14082025_12_58_09_10290.jpg', '/media/data/images/14082025/12/58/image_14082025_12_58_39_10287.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/57/image_14082025_12_57_28_9018.jpg /media/data/images/14082025/12/57/image_14082025_12_57_38_10245.jpg /media/data/images/14082025/12/57/image_14082025_12_57_48_10254.jpg /media/data/images/14082025/12/57/image_14082025_12_57_59_10286.jpg /media/data/images/14082025/12/58/image_14082025_12_58_09_10290.jpg /media/data/images/14082025/12/58/image_14082025_12_58_39_10287.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377120495","1377120591","1377120502","1377120504","1377120533","1377120499"],"photo_ids_order":["1377120495","1377120499","1377120502","1377120504","1377120533","1377120591"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0b0e6810a01d77a2a65cdcd08760ce1a.jpg","text":"TemporaryFile(/tmp/multipartBody3643018673950538953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202383678,"filename":"image_14082025_12_57_28_9018.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/474f638bcca6bb5f3890c7c803913d93.jpg","text":"TemporaryFile(/tmp/multipartBody2108437413292692619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202383678,"filename":"image_14082025_12_58_39_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b41788f0e4211cc71078dfadc4c1b0d6.jpg","text":"TemporaryFile(/tmp/multipartBody5448082506685696028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202383678,"filename":"image_14082025_12_57_48_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f5e10fd0764d6b13c97edcf79578cf06.jpg","text":"TemporaryFile(/tmp/multipartBody1806848554249753683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202383678,"filename":"image_14082025_12_57_59_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12a4089b8b583d0c54f1675b6bc3bf6b.jpg","text":"TemporaryFile(/tmp/multipartBody8268078615923728938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202383678,"filename":"image_14082025_12_58_09_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ac97b7098d78b98968a351a4144239a.jpg","text":"TemporaryFile(/tmp/multipartBody71982469163836659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202383678,"filename":"image_14082025_12_57_38_10245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377120502","file1":"1377120499","file0":"1377120495","file4":"1377120533","file5":"1377120591","file3":"1377120504"},"map_files_photo_id_array":[{"photo_id":"1377120591","filename":"file5"},{"photo_id":"1377120502","filename":"file2"},{"photo_id":"1377120533","filename":"file4"},{"photo_id":"1377120499","filename":"file1"},{"photo_id":"1377120495","filename":"file0"},{"photo_id":"1377120504","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377120495":["hashtag1","hashtag2"]},{"1377120591":["hashtag1","hashtag2"]},{"1377120502":["hashtag1","hashtag2"]},{"1377120504":["hashtag1","hashtag2"]},{"1377120533":["hashtag1","hashtag2"]},{"1377120499":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377120495, 1377120591, 1377120502, 1377120504, 1377120533, 1377120499)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.53524327278137 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:13:02.710335 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/58/image_14082025_12_58_49_10329.jpg', '/media/data/images/14082025/12/58/image_14082025_12_58_58_9022.jpg', '/media/data/images/14082025/12/58/image_14082025_12_59_08_10377.jpg', '/media/data/images/14082025/12/59/image_14082025_12_59_19_10504.jpg', '/media/data/images/14082025/12/59/image_14082025_12_59_28_9111.jpg', '/media/data/images/14082025/12/59/image_14082025_12_59_38_10284.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/58/image_14082025_12_58_49_10329.jpg /media/data/images/14082025/12/58/image_14082025_12_58_58_9022.jpg /media/data/images/14082025/12/58/image_14082025_12_59_08_10377.jpg /media/data/images/14082025/12/59/image_14082025_12_59_19_10504.jpg /media/data/images/14082025/12/59/image_14082025_12_59_28_9111.jpg /media/data/images/14082025/12/59/image_14082025_12_59_38_10284.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377120669","1377120677","1377120662","1377120665","1377120650","1377120673"],"photo_ids_order":["1377120650","1377120662","1377120665","1377120669","1377120673","1377120677"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c757e5697f30e5d30f1a2bb58c9fcf49.jpg","text":"TemporaryFile(/tmp/multipartBody6650858161094251780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202443805,"filename":"image_14082025_12_59_19_10504.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75f00cbf0804d88b0bf148be2bed6f1c.jpg","text":"TemporaryFile(/tmp/multipartBody7032699237441385915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202443805,"filename":"image_14082025_12_59_38_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdf707d6719122a8ec22a4c522fab698.jpg","text":"TemporaryFile(/tmp/multipartBody4670853495411821606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202443805,"filename":"image_14082025_12_58_58_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c4088130c01f2458312a2e90a37826f4.jpg","text":"TemporaryFile(/tmp/multipartBody7014633941393735689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202443805,"filename":"image_14082025_12_59_08_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54134478a8a1b0f817308c299217d966.jpg","text":"TemporaryFile(/tmp/multipartBody164948363044219418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202443805,"filename":"image_14082025_12_58_49_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b08b3d369ad7a491ae51ae987ea4ef31.jpg","text":"TemporaryFile(/tmp/multipartBody8848841665894284314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202443805,"filename":"image_14082025_12_59_28_9111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377120665","file1":"1377120662","file0":"1377120650","file4":"1377120673","file5":"1377120677","file3":"1377120669"},"map_files_photo_id_array":[{"photo_id":"1377120677","filename":"file5"},{"photo_id":"1377120665","filename":"file2"},{"photo_id":"1377120673","filename":"file4"},{"photo_id":"1377120662","filename":"file1"},{"photo_id":"1377120650","filename":"file0"},{"photo_id":"1377120669","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377120669":["hashtag1","hashtag2"]},{"1377120677":["hashtag1","hashtag2"]},{"1377120662":["hashtag1","hashtag2"]},{"1377120665":["hashtag1","hashtag2"]},{"1377120650":["hashtag1","hashtag2"]},{"1377120673":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377120669, 1377120677, 1377120662, 1377120665, 1377120650, 1377120673)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.93642807006836 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:14:02.858319 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/59/image_14082025_12_59_49_10382.jpg', '/media/data/images/14082025/12/59/image_14082025_12_59_58_9153.jpg', '/media/data/images/14082025/12/59/image_14082025_13_00_09_10789.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_19_10311.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_28_9087.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_39_10494.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/59/image_14082025_12_59_49_10382.jpg /media/data/images/14082025/12/59/image_14082025_12_59_58_9153.jpg /media/data/images/14082025/12/59/image_14082025_13_00_09_10789.jpg /media/data/images/14082025/13/00/image_14082025_13_00_19_10311.jpg /media/data/images/14082025/13/00/image_14082025_13_00_28_9087.jpg /media/data/images/14082025/13/00/image_14082025_13_00_39_10494.jpg val : 1 : upload photos already in processing! Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:17:04.529450 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/12/59/image_14082025_12_59_49_10382.jpg', '/media/data/images/14082025/12/59/image_14082025_12_59_58_9153.jpg', '/media/data/images/14082025/12/59/image_14082025_13_00_09_10789.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_19_10311.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_28_9087.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_39_10494.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/12/59/image_14082025_12_59_49_10382.jpg /media/data/images/14082025/12/59/image_14082025_12_59_58_9153.jpg /media/data/images/14082025/12/59/image_14082025_13_00_09_10789.jpg /media/data/images/14082025/13/00/image_14082025_13_00_19_10311.jpg /media/data/images/14082025/13/00/image_14082025_13_00_28_9087.jpg /media/data/images/14082025/13/00/image_14082025_13_00_39_10494.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377122395","1377122164","1377122092","1377122002","1377122317","1377122239"],"photo_ids_order":["1377122002","1377122092","1377122164","1377122239","1377122317","1377122395"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f64d45154a0bfa348381f42000bb21f.jpg","text":"TemporaryFile(/tmp/multipartBody7386434273989587572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202686546,"filename":"image_14082025_13_00_39_10494.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/06296de5faac316b109fa8883981f38d.jpg","text":"TemporaryFile(/tmp/multipartBody6807698675538519057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202686546,"filename":"image_14082025_13_00_09_10789.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f80360b60127bd08f9d36571dc245826.jpg","text":"TemporaryFile(/tmp/multipartBody1830309442817686678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202686546,"filename":"image_14082025_12_59_58_9153.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62e807419279336283c0834b83ef7407.jpg","text":"TemporaryFile(/tmp/multipartBody4787045482572780679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202686546,"filename":"image_14082025_12_59_49_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8178c1136382b52ad09c0130309677c.jpg","text":"TemporaryFile(/tmp/multipartBody1379630753181134213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202686546,"filename":"image_14082025_13_00_28_9087.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73a39e488bea1e3b44894addb4e10601.jpg","text":"TemporaryFile(/tmp/multipartBody6762502861088772714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202686546,"filename":"image_14082025_13_00_19_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377122164","file1":"1377122092","file0":"1377122002","file4":"1377122317","file5":"1377122395","file3":"1377122239"},"map_files_photo_id_array":[{"photo_id":"1377122395","filename":"file5"},{"photo_id":"1377122164","filename":"file2"},{"photo_id":"1377122317","filename":"file4"},{"photo_id":"1377122092","filename":"file1"},{"photo_id":"1377122002","filename":"file0"},{"photo_id":"1377122239","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377122395":["hashtag1","hashtag2"]},{"1377122164":["hashtag1","hashtag2"]},{"1377122092":["hashtag1","hashtag2"]},{"1377122002":["hashtag1","hashtag2"]},{"1377122317":["hashtag1","hashtag2"]},{"1377122239":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377122395, 1377122164, 1377122092, 1377122002, 1377122317, 1377122239)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.5909206867218 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:18:03.403561 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/00/image_14082025_13_00_49_10304.jpg', '/media/data/images/14082025/13/00/image_14082025_13_00_58_9063.jpg', '/media/data/images/14082025/13/00/image_14082025_13_01_08_10601.jpg', '/media/data/images/14082025/13/01/image_14082025_13_01_19_10399.jpg', '/media/data/images/14082025/13/01/image_14082025_13_01_28_9080.jpg', '/media/data/images/14082025/13/01/image_14082025_13_01_38_10387.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/00/image_14082025_13_00_49_10304.jpg /media/data/images/14082025/13/00/image_14082025_13_00_58_9063.jpg /media/data/images/14082025/13/00/image_14082025_13_01_08_10601.jpg /media/data/images/14082025/13/01/image_14082025_13_01_19_10399.jpg /media/data/images/14082025/13/01/image_14082025_13_01_28_9080.jpg /media/data/images/14082025/13/01/image_14082025_13_01_38_10387.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377122957","1377122884","1377123118","1377123030","1377123083","1377122820"],"photo_ids_order":["1377122820","1377122884","1377122957","1377123030","1377123083","1377123118"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c76186c003c404154d7e19dc651d294e.jpg","text":"TemporaryFile(/tmp/multipartBody3840295545192466232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202744411,"filename":"image_14082025_13_01_08_10601.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9bd30766540bf120398bf449e73b83e.jpg","text":"TemporaryFile(/tmp/multipartBody3300870997264713114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202744411,"filename":"image_14082025_13_00_58_9063.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ef70f9d94f6f425d3c1c263dbf997e3.jpg","text":"TemporaryFile(/tmp/multipartBody2492071080112513344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202744411,"filename":"image_14082025_13_01_38_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f3004273fa7b6f886bf2ffad1af6d74.jpg","text":"TemporaryFile(/tmp/multipartBody3019155449811248485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202744411,"filename":"image_14082025_13_01_19_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76b2e54becb73af2c6d36a2be52d89fa.jpg","text":"TemporaryFile(/tmp/multipartBody3374605711924279590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202744411,"filename":"image_14082025_13_01_28_9080.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2d9c51ec01f9c8ecf67386c457429fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1677025851744363575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202744411,"filename":"image_14082025_13_00_49_10304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377122957","file1":"1377122884","file0":"1377122820","file4":"1377123083","file5":"1377123118","file3":"1377123030"},"map_files_photo_id_array":[{"photo_id":"1377123118","filename":"file5"},{"photo_id":"1377122957","filename":"file2"},{"photo_id":"1377123083","filename":"file4"},{"photo_id":"1377122884","filename":"file1"},{"photo_id":"1377122820","filename":"file0"},{"photo_id":"1377123030","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377122957":["hashtag1","hashtag2"]},{"1377122884":["hashtag1","hashtag2"]},{"1377123118":["hashtag1","hashtag2"]},{"1377123030":["hashtag1","hashtag2"]},{"1377123083":["hashtag1","hashtag2"]},{"1377122820":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377122957, 1377122884, 1377123118, 1377123030, 1377123083, 1377122820)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.59227657318115 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:19:03.637130 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/01/image_14082025_13_01_49_10315.jpg', '/media/data/images/14082025/13/01/image_14082025_13_01_58_9162.jpg', '/media/data/images/14082025/13/01/image_14082025_13_02_09_10816.jpg', '/media/data/images/14082025/13/02/image_14082025_13_02_19_10334.jpg', '/media/data/images/14082025/13/02/image_14082025_13_02_28_9076.jpg', '/media/data/images/14082025/13/02/image_14082025_13_02_38_10352.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/01/image_14082025_13_01_49_10315.jpg /media/data/images/14082025/13/01/image_14082025_13_01_58_9162.jpg /media/data/images/14082025/13/01/image_14082025_13_02_09_10816.jpg /media/data/images/14082025/13/02/image_14082025_13_02_19_10334.jpg /media/data/images/14082025/13/02/image_14082025_13_02_28_9076.jpg /media/data/images/14082025/13/02/image_14082025_13_02_38_10352.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377123548","1377123397","1377123430","1377123489","1377123327","1377123362"],"photo_ids_order":["1377123327","1377123362","1377123397","1377123430","1377123489","1377123548"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c27130246bfab3cd1952407f281fa46d.jpg","text":"TemporaryFile(/tmp/multipartBody4109938758909762468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202804665,"filename":"image_14082025_13_02_38_10352.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/21736f5579c94f0ea4f73749d79a26b1.jpg","text":"TemporaryFile(/tmp/multipartBody5874525502041822466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202804665,"filename":"image_14082025_13_02_09_10816.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22ee06e5c7ddfd473b92ad609e9d7812.jpg","text":"TemporaryFile(/tmp/multipartBody7611985251227417874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202804665,"filename":"image_14082025_13_02_19_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fe45f017cd8c0e5cf60eee8580a9141.jpg","text":"TemporaryFile(/tmp/multipartBody3719528475760789028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202804665,"filename":"image_14082025_13_02_28_9076.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95c4e05e63745045c951b9c0f17d3a39.jpg","text":"TemporaryFile(/tmp/multipartBody7696774158394383045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202804665,"filename":"image_14082025_13_01_49_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2bd7a542797acbf193cc6eb1f3b75da.jpg","text":"TemporaryFile(/tmp/multipartBody1365105081269088106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202804665,"filename":"image_14082025_13_01_58_9162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377123397","file1":"1377123362","file0":"1377123327","file4":"1377123489","file5":"1377123548","file3":"1377123430"},"map_files_photo_id_array":[{"photo_id":"1377123548","filename":"file5"},{"photo_id":"1377123397","filename":"file2"},{"photo_id":"1377123489","filename":"file4"},{"photo_id":"1377123362","filename":"file1"},{"photo_id":"1377123327","filename":"file0"},{"photo_id":"1377123430","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377123548":["hashtag1","hashtag2"]},{"1377123397":["hashtag1","hashtag2"]},{"1377123430":["hashtag1","hashtag2"]},{"1377123489":["hashtag1","hashtag2"]},{"1377123327":["hashtag1","hashtag2"]},{"1377123362":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377123548, 1377123397, 1377123430, 1377123489, 1377123327, 1377123362)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07252526283264 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:20:02.689080 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/02/image_14082025_13_02_49_10311.jpg', '/media/data/images/14082025/13/02/image_14082025_13_02_58_9155.jpg', '/media/data/images/14082025/13/02/image_14082025_13_03_09_10800.jpg', '/media/data/images/14082025/13/03/image_14082025_13_03_18_9173.jpg', '/media/data/images/14082025/13/03/image_14082025_13_03_28_10309.jpg', '/media/data/images/14082025/13/03/image_14082025_13_03_38_10293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/02/image_14082025_13_02_49_10311.jpg /media/data/images/14082025/13/02/image_14082025_13_02_58_9155.jpg /media/data/images/14082025/13/02/image_14082025_13_03_09_10800.jpg /media/data/images/14082025/13/03/image_14082025_13_03_18_9173.jpg /media/data/images/14082025/13/03/image_14082025_13_03_28_10309.jpg /media/data/images/14082025/13/03/image_14082025_13_03_38_10293.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377124012","1377124215","1377124125","1377123942","1377124160","1377124067"],"photo_ids_order":["1377123942","1377124012","1377124067","1377124125","1377124160","1377124215"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/987e07b0886e516a410d54017f0ad92d.jpg","text":"TemporaryFile(/tmp/multipartBody7684335360375747779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202863690,"filename":"image_14082025_13_02_58_9155.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13c38e5bca27927c66c4fcec4bcc6d22.jpg","text":"TemporaryFile(/tmp/multipartBody8246385347448028352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202863690,"filename":"image_14082025_13_03_38_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4fac2940df8050900991bd1fa6de0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1123117785500463375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202863690,"filename":"image_14082025_13_03_18_9173.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b32a025917a3903dd790c891ec1eab09.jpg","text":"TemporaryFile(/tmp/multipartBody4324098130418285655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202863690,"filename":"image_14082025_13_02_49_10311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9faca05910c4fa9d9a514cfd9e3d745d.jpg","text":"TemporaryFile(/tmp/multipartBody3726071089879691289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202863690,"filename":"image_14082025_13_03_28_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c06934105c229780e2abac972d3bdd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5088828986429070087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202863690,"filename":"image_14082025_13_03_09_10800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377124067","file1":"1377124012","file0":"1377123942","file4":"1377124160","file5":"1377124215","file3":"1377124125"},"map_files_photo_id_array":[{"photo_id":"1377124215","filename":"file5"},{"photo_id":"1377124067","filename":"file2"},{"photo_id":"1377124160","filename":"file4"},{"photo_id":"1377124012","filename":"file1"},{"photo_id":"1377123942","filename":"file0"},{"photo_id":"1377124125","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377124012":["hashtag1","hashtag2"]},{"1377124215":["hashtag1","hashtag2"]},{"1377124125":["hashtag1","hashtag2"]},{"1377123942":["hashtag1","hashtag2"]},{"1377124160":["hashtag1","hashtag2"]},{"1377124067":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377124012, 1377124215, 1377124125, 1377123942, 1377124160, 1377124067)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.26693296432495 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:21:02.948269 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/03/image_14082025_13_03_49_10317.jpg', '/media/data/images/14082025/13/03/image_14082025_13_03_58_9061.jpg', '/media/data/images/14082025/13/03/image_14082025_13_04_08_10652.jpg', '/media/data/images/14082025/13/04/image_14082025_13_04_19_10554.jpg', '/media/data/images/14082025/13/04/image_14082025_13_04_28_9278.jpg', '/media/data/images/14082025/13/04/image_14082025_13_04_39_10368.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/03/image_14082025_13_03_49_10317.jpg /media/data/images/14082025/13/03/image_14082025_13_03_58_9061.jpg /media/data/images/14082025/13/03/image_14082025_13_04_08_10652.jpg /media/data/images/14082025/13/04/image_14082025_13_04_19_10554.jpg /media/data/images/14082025/13/04/image_14082025_13_04_28_9278.jpg /media/data/images/14082025/13/04/image_14082025_13_04_39_10368.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377124963","1377124759","1377124828","1377124900","1377124694","1377124613"],"photo_ids_order":["1377124613","1377124694","1377124759","1377124828","1377124900","1377124963"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9c03726a8b1e1561766d1972cbdb3432.jpg","text":"TemporaryFile(/tmp/multipartBody3043046003212791507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202924036,"filename":"image_14082025_13_04_39_10368.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3dfb986a5d1fa0d302c2bb9a204693b5.jpg","text":"TemporaryFile(/tmp/multipartBody2843013185604893146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202924036,"filename":"image_14082025_13_04_08_10652.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67e2ca016e06f5c806734c91cf591282.jpg","text":"TemporaryFile(/tmp/multipartBody7940909101974912590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202924036,"filename":"image_14082025_13_04_19_10554.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a83cf82472dd8c4e5167bc6f25d1937a.jpg","text":"TemporaryFile(/tmp/multipartBody7188886538869709986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202924036,"filename":"image_14082025_13_04_28_9278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b3b7460fc2e422550eea8d4753a9199.jpg","text":"TemporaryFile(/tmp/multipartBody3541535013719211399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202924036,"filename":"image_14082025_13_03_58_9061.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e1eb2cee2b7e26acdf56fa67745d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6063084270937544921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202924036,"filename":"image_14082025_13_03_49_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377124759","file1":"1377124694","file0":"1377124613","file4":"1377124900","file5":"1377124963","file3":"1377124828"},"map_files_photo_id_array":[{"photo_id":"1377124963","filename":"file5"},{"photo_id":"1377124759","filename":"file2"},{"photo_id":"1377124900","filename":"file4"},{"photo_id":"1377124694","filename":"file1"},{"photo_id":"1377124613","filename":"file0"},{"photo_id":"1377124828","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377124963":["hashtag1","hashtag2"]},{"1377124759":["hashtag1","hashtag2"]},{"1377124828":["hashtag1","hashtag2"]},{"1377124900":["hashtag1","hashtag2"]},{"1377124694":["hashtag1","hashtag2"]},{"1377124613":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377124963, 1377124759, 1377124828, 1377124900, 1377124694, 1377124613)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.635714292526245 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:22:02.717864 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/04/image_14082025_13_04_49_10250.jpg', '/media/data/images/14082025/13/04/image_14082025_13_04_58_9022.jpg', '/media/data/images/14082025/13/04/image_14082025_13_05_08_10452.jpg', '/media/data/images/14082025/13/05/image_14082025_13_05_19_10248.jpg', '/media/data/images/14082025/13/05/image_14082025_13_05_29_10281.jpg', '/media/data/images/14082025/13/05/image_14082025_13_05_38_9023.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/04/image_14082025_13_04_49_10250.jpg /media/data/images/14082025/13/04/image_14082025_13_04_58_9022.jpg /media/data/images/14082025/13/04/image_14082025_13_05_08_10452.jpg /media/data/images/14082025/13/05/image_14082025_13_05_19_10248.jpg /media/data/images/14082025/13/05/image_14082025_13_05_29_10281.jpg /media/data/images/14082025/13/05/image_14082025_13_05_38_9023.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377125391","1377125292","1377125355","1377125462","1377125426","1377125510"],"photo_ids_order":["1377125292","1377125355","1377125391","1377125426","1377125462","1377125510"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d836ec3cf6d0fe6457fdbc2713efe843.jpg","text":"TemporaryFile(/tmp/multipartBody1154367805374166840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202983843,"filename":"image_14082025_13_05_08_10452.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dbb4567f62bc9db7cbec5d1d06cedaf3.jpg","text":"TemporaryFile(/tmp/multipartBody8518049736411371267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202983843,"filename":"image_14082025_13_04_49_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/678de20c6b4f428921203a465ad20c54.jpg","text":"TemporaryFile(/tmp/multipartBody7589505551921150551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202983843,"filename":"image_14082025_13_04_58_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95621cdef410fbbca4dd8b8207c43b79.jpg","text":"TemporaryFile(/tmp/multipartBody953308744625207241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202983843,"filename":"image_14082025_13_05_29_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/90251b24291773f0e3a2b25596770c87.jpg","text":"TemporaryFile(/tmp/multipartBody7811741115607404209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202983843,"filename":"image_14082025_13_05_19_10248.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/971d529b450a0f713e08487c91d19762.jpg","text":"TemporaryFile(/tmp/multipartBody3379919473977255193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755202983843,"filename":"image_14082025_13_05_38_9023.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377125391","file1":"1377125355","file0":"1377125292","file4":"1377125462","file5":"1377125510","file3":"1377125426"},"map_files_photo_id_array":[{"photo_id":"1377125510","filename":"file5"},{"photo_id":"1377125391","filename":"file2"},{"photo_id":"1377125462","filename":"file4"},{"photo_id":"1377125355","filename":"file1"},{"photo_id":"1377125292","filename":"file0"},{"photo_id":"1377125426","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377125391":["hashtag1","hashtag2"]},{"1377125292":["hashtag1","hashtag2"]},{"1377125355":["hashtag1","hashtag2"]},{"1377125462":["hashtag1","hashtag2"]},{"1377125426":["hashtag1","hashtag2"]},{"1377125510":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377125391, 1377125292, 1377125355, 1377125462, 1377125426, 1377125510)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.88672351837158 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:23:03.237966 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/05/image_14082025_13_05_48_10322.jpg', '/media/data/images/14082025/13/05/image_14082025_13_05_59_10252.jpg', '/media/data/images/14082025/13/06/image_14082025_13_06_09_10372.jpg', '/media/data/images/14082025/13/06/image_14082025_13_06_18_9311.jpg', '/media/data/images/14082025/13/06/image_14082025_13_06_29_10402.jpg', '/media/data/images/14082025/13/06/image_14082025_13_06_39_10355.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/05/image_14082025_13_05_48_10322.jpg /media/data/images/14082025/13/05/image_14082025_13_05_59_10252.jpg /media/data/images/14082025/13/06/image_14082025_13_06_09_10372.jpg /media/data/images/14082025/13/06/image_14082025_13_06_18_9311.jpg /media/data/images/14082025/13/06/image_14082025_13_06_29_10402.jpg /media/data/images/14082025/13/06/image_14082025_13_06_39_10355.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377125664","1377125631","1377125718","1377125660","1377125651","1377125683"],"photo_ids_order":["1377125631","1377125651","1377125660","1377125664","1377125683","1377125718"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ef1c8b16548144662eccd37e77e789d5.jpg","text":"TemporaryFile(/tmp/multipartBody2591292134656714198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203044295,"filename":"image_14082025_13_06_18_9311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0295fcf38f41398089c6f7835b556c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7934146518439303175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203044295,"filename":"image_14082025_13_05_48_10322.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb9e5313861cb6f65067fdd62ab2dd86.jpg","text":"TemporaryFile(/tmp/multipartBody3075290382590490145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203044295,"filename":"image_14082025_13_06_39_10355.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aee1127aec1479119395e8a41c98d60d.jpg","text":"TemporaryFile(/tmp/multipartBody35345286436199389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203044295,"filename":"image_14082025_13_06_09_10372.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/15433525c65b3e49b82387aa4cdebb1c.jpg","text":"TemporaryFile(/tmp/multipartBody1478597288013775733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203044295,"filename":"image_14082025_13_05_59_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ef6ae046aeadc40527c7614037e0ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4570859200081352395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203044295,"filename":"image_14082025_13_06_29_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377125660","file1":"1377125651","file0":"1377125631","file4":"1377125683","file5":"1377125718","file3":"1377125664"},"map_files_photo_id_array":[{"photo_id":"1377125718","filename":"file5"},{"photo_id":"1377125660","filename":"file2"},{"photo_id":"1377125683","filename":"file4"},{"photo_id":"1377125651","filename":"file1"},{"photo_id":"1377125631","filename":"file0"},{"photo_id":"1377125664","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377125664":["hashtag1","hashtag2"]},{"1377125631":["hashtag1","hashtag2"]},{"1377125718":["hashtag1","hashtag2"]},{"1377125660":["hashtag1","hashtag2"]},{"1377125651":["hashtag1","hashtag2"]},{"1377125683":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377125664, 1377125631, 1377125718, 1377125660, 1377125651, 1377125683)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.31734657287598 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:24:03.230912 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/06/image_14082025_13_06_48_9146.jpg', '/media/data/images/14082025/13/06/image_14082025_13_06_59_10402.jpg', '/media/data/images/14082025/13/07/image_14082025_13_07_09_10465.jpg', '/media/data/images/14082025/13/07/image_14082025_13_07_18_9092.jpg', '/media/data/images/14082025/13/07/image_14082025_13_07_28_10260.jpg', '/media/data/images/14082025/13/07/image_14082025_13_07_39_10255.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/06/image_14082025_13_06_48_9146.jpg /media/data/images/14082025/13/06/image_14082025_13_06_59_10402.jpg /media/data/images/14082025/13/07/image_14082025_13_07_09_10465.jpg /media/data/images/14082025/13/07/image_14082025_13_07_18_9092.jpg /media/data/images/14082025/13/07/image_14082025_13_07_28_10260.jpg /media/data/images/14082025/13/07/image_14082025_13_07_39_10255.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377126037","1377126186","1377126321","1377126398","1377126119","1377126256"],"photo_ids_order":["1377126037","1377126119","1377126186","1377126256","1377126321","1377126398"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4d5a4c47870cac46940e434bd91ef490.jpg","text":"TemporaryFile(/tmp/multipartBody6057892220560244569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203104319,"filename":"image_14082025_13_06_48_9146.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8acdbf950be9418854d41f327481d774.jpg","text":"TemporaryFile(/tmp/multipartBody7266220232416539830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203104319,"filename":"image_14082025_13_07_09_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a228de2ec6b261341627fce1021e8cb5.jpg","text":"TemporaryFile(/tmp/multipartBody1887679837085158656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203104319,"filename":"image_14082025_13_07_28_10260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3392fafff148649e55f88d53060e00d4.jpg","text":"TemporaryFile(/tmp/multipartBody9147143275556903893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203104319,"filename":"image_14082025_13_07_39_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73539961cfc0a6b7d7682bf617ebb117.jpg","text":"TemporaryFile(/tmp/multipartBody549328996469031369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203104319,"filename":"image_14082025_13_06_59_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f866299bacac135c29a132caab566ec7.jpg","text":"TemporaryFile(/tmp/multipartBody5302766684587073713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203104319,"filename":"image_14082025_13_07_18_9092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377126186","file1":"1377126119","file0":"1377126037","file4":"1377126321","file5":"1377126398","file3":"1377126256"},"map_files_photo_id_array":[{"photo_id":"1377126398","filename":"file5"},{"photo_id":"1377126186","filename":"file2"},{"photo_id":"1377126321","filename":"file4"},{"photo_id":"1377126119","filename":"file1"},{"photo_id":"1377126037","filename":"file0"},{"photo_id":"1377126256","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377126037":["hashtag1","hashtag2"]},{"1377126186":["hashtag1","hashtag2"]},{"1377126321":["hashtag1","hashtag2"]},{"1377126398":["hashtag1","hashtag2"]},{"1377126119":["hashtag1","hashtag2"]},{"1377126256":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377126037, 1377126186, 1377126321, 1377126398, 1377126119, 1377126256)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.724178314208984 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:25:03.396149 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/07/image_14082025_13_07_49_10259.jpg', '/media/data/images/14082025/13/07/image_14082025_13_07_58_9028.jpg', '/media/data/images/14082025/13/07/image_14082025_13_08_08_10475.jpg', '/media/data/images/14082025/13/08/image_14082025_13_08_19_10270.jpg', '/media/data/images/14082025/13/08/image_14082025_13_08_29_10273.jpg', '/media/data/images/14082025/13/08/image_14082025_13_08_38_9027.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/07/image_14082025_13_07_49_10259.jpg /media/data/images/14082025/13/07/image_14082025_13_07_58_9028.jpg /media/data/images/14082025/13/07/image_14082025_13_08_08_10475.jpg /media/data/images/14082025/13/08/image_14082025_13_08_19_10270.jpg /media/data/images/14082025/13/08/image_14082025_13_08_29_10273.jpg /media/data/images/14082025/13/08/image_14082025_13_08_38_9027.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377126963","1377126819","1377127049","1377127013","1377126893","1377126775"],"photo_ids_order":["1377126775","1377126819","1377126893","1377126963","1377127013","1377127049"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b36a4bb7298ddad520fc7da46d055ea.jpg","text":"TemporaryFile(/tmp/multipartBody7023129717768142058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203164538,"filename":"image_14082025_13_08_19_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0dfb85018b055b6e6c3d6db9b1da48e1.jpg","text":"TemporaryFile(/tmp/multipartBody1208951829650168239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203164538,"filename":"image_14082025_13_07_58_9028.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e21364474c6e888c0df13a3110714b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7141479281555560681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203164538,"filename":"image_14082025_13_08_38_9027.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b432b610d5b5efcc378d44f698cd6431.jpg","text":"TemporaryFile(/tmp/multipartBody2213218049254942964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203164538,"filename":"image_14082025_13_08_29_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fabb40b1a6abd812861bc8b00984d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6372916172639866763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203164538,"filename":"image_14082025_13_08_08_10475.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de51ad6a778d398882ccdfd66c40aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody2886669335469051959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203164538,"filename":"image_14082025_13_07_49_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377126893","file1":"1377126819","file0":"1377126775","file4":"1377127013","file5":"1377127049","file3":"1377126963"},"map_files_photo_id_array":[{"photo_id":"1377127049","filename":"file5"},{"photo_id":"1377126893","filename":"file2"},{"photo_id":"1377127013","filename":"file4"},{"photo_id":"1377126819","filename":"file1"},{"photo_id":"1377126775","filename":"file0"},{"photo_id":"1377126963","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377126963":["hashtag1","hashtag2"]},{"1377126819":["hashtag1","hashtag2"]},{"1377127049":["hashtag1","hashtag2"]},{"1377127013":["hashtag1","hashtag2"]},{"1377126893":["hashtag1","hashtag2"]},{"1377126775":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377126963, 1377126819, 1377127049, 1377127013, 1377126893, 1377126775)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.239644050598145 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:26:03.269562 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/08/image_14082025_13_08_48_10251.jpg', '/media/data/images/14082025/13/08/image_14082025_13_08_58_10254.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_09_10273.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_18_9140.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_28_10363.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_39_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/08/image_14082025_13_08_48_10251.jpg /media/data/images/14082025/13/08/image_14082025_13_08_58_10254.jpg /media/data/images/14082025/13/09/image_14082025_13_09_09_10273.jpg /media/data/images/14082025/13/09/image_14082025_13_09_18_9140.jpg /media/data/images/14082025/13/09/image_14082025_13_09_28_10363.jpg /media/data/images/14082025/13/09/image_14082025_13_09_39_10331.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6420929431915283 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:26:22.625516 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/08/image_14082025_13_08_48_10251.jpg', '/media/data/images/14082025/13/08/image_14082025_13_08_58_10254.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_09_10273.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_18_9140.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_28_10363.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_39_10331.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/08/image_14082025_13_08_48_10251.jpg /media/data/images/14082025/13/08/image_14082025_13_08_58_10254.jpg /media/data/images/14082025/13/09/image_14082025_13_09_09_10273.jpg /media/data/images/14082025/13/09/image_14082025_13_09_18_9140.jpg /media/data/images/14082025/13/09/image_14082025_13_09_28_10363.jpg /media/data/images/14082025/13/09/image_14082025_13_09_39_10331.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377127425","1377127493","1377127529","1377127459","1377127389","1377127554"],"photo_ids_order":["1377127389","1377127425","1377127459","1377127493","1377127529","1377127554"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/192af9e587362126953c9d77f4f74548.jpg","text":"TemporaryFile(/tmp/multipartBody3524078358448254475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203243622,"filename":"image_14082025_13_08_58_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/375ae3d4059faf2ab3f4809c9716845a.jpg","text":"TemporaryFile(/tmp/multipartBody6426695711628831527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203243622,"filename":"image_14082025_13_09_18_9140.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8cb0161f1527131f29a0d025538fdc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8480585989282298040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203243622,"filename":"image_14082025_13_09_28_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/75ac5886c4369a60c76fc81c8c032937.jpg","text":"TemporaryFile(/tmp/multipartBody8763842345921254218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203243622,"filename":"image_14082025_13_09_09_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ed4bc90a89169f87a78976986b3ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody1079213143338205900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203243622,"filename":"image_14082025_13_08_48_10251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb87b72123b52b60184ebad8a7413e66.jpg","text":"TemporaryFile(/tmp/multipartBody819531999278451391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203243622,"filename":"image_14082025_13_09_39_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377127459","file1":"1377127425","file0":"1377127389","file4":"1377127529","file5":"1377127554","file3":"1377127493"},"map_files_photo_id_array":[{"photo_id":"1377127554","filename":"file5"},{"photo_id":"1377127459","filename":"file2"},{"photo_id":"1377127529","filename":"file4"},{"photo_id":"1377127425","filename":"file1"},{"photo_id":"1377127389","filename":"file0"},{"photo_id":"1377127493","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377127425":["hashtag1","hashtag2"]},{"1377127493":["hashtag1","hashtag2"]},{"1377127529":["hashtag1","hashtag2"]},{"1377127459":["hashtag1","hashtag2"]},{"1377127389":["hashtag1","hashtag2"]},{"1377127554":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377127425, 1377127493, 1377127529, 1377127459, 1377127389, 1377127554)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.24196529388428 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:27:22.798592 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/09/image_14082025_13_09_49_10241.jpg', '/media/data/images/14082025/13/09/image_14082025_13_09_59_10238.jpg', '/media/data/images/14082025/13/10/image_14082025_13_10_09_9571.jpg', '/media/data/images/14082025/13/10/image_14082025_13_10_19_10253.jpg', '/media/data/images/14082025/13/10/image_14082025_13_10_28_9010.jpg', '/media/data/images/14082025/13/10/image_14082025_13_10_38_10241.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/09/image_14082025_13_09_49_10241.jpg /media/data/images/14082025/13/09/image_14082025_13_09_59_10238.jpg /media/data/images/14082025/13/10/image_14082025_13_10_09_9571.jpg /media/data/images/14082025/13/10/image_14082025_13_10_19_10253.jpg /media/data/images/14082025/13/10/image_14082025_13_10_28_9010.jpg /media/data/images/14082025/13/10/image_14082025_13_10_38_10241.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377127620","1377127595","1377127589","1377127598","1377127654","1377127585"],"photo_ids_order":["1377127585","1377127589","1377127595","1377127598","1377127620","1377127654"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cce616bf36f14e320e5f3e8e5a6b642b.jpg","text":"TemporaryFile(/tmp/multipartBody7083926855485398107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203303895,"filename":"image_14082025_13_10_28_9010.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c7bc14de7cfce331f8ff7107072e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody8953799093865289697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203303895,"filename":"image_14082025_13_10_09_9571.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/49d83362234dff96b658dc516d2158f7.jpg","text":"TemporaryFile(/tmp/multipartBody3119551000230125992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203303895,"filename":"image_14082025_13_09_59_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/128f918be18736c061249432fb2eb597.jpg","text":"TemporaryFile(/tmp/multipartBody7675875002006820552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203303895,"filename":"image_14082025_13_10_19_10253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9171e57b66c4f61a930591be8a17d85b.jpg","text":"TemporaryFile(/tmp/multipartBody403821839624247636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203303895,"filename":"image_14082025_13_10_38_10241.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1b793f294bd92669eb9bfa477b093096.jpg","text":"TemporaryFile(/tmp/multipartBody5478652168016718220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203303895,"filename":"image_14082025_13_09_49_10241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377127595","file1":"1377127589","file0":"1377127585","file4":"1377127620","file5":"1377127654","file3":"1377127598"},"map_files_photo_id_array":[{"photo_id":"1377127654","filename":"file5"},{"photo_id":"1377127595","filename":"file2"},{"photo_id":"1377127620","filename":"file4"},{"photo_id":"1377127589","filename":"file1"},{"photo_id":"1377127585","filename":"file0"},{"photo_id":"1377127598","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377127620":["hashtag1","hashtag2"]},{"1377127595":["hashtag1","hashtag2"]},{"1377127589":["hashtag1","hashtag2"]},{"1377127598":["hashtag1","hashtag2"]},{"1377127654":["hashtag1","hashtag2"]},{"1377127585":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377127620, 1377127595, 1377127589, 1377127598, 1377127654, 1377127585)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.862234592437744 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:28:21.852891 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/10/image_14082025_13_10_48_10255.jpg', '/media/data/images/14082025/13/10/image_14082025_13_10_59_10459.jpg', '/media/data/images/14082025/13/11/image_14082025_13_11_08_9292.jpg', '/media/data/images/14082025/13/11/image_14082025_13_11_18_10270.jpg', '/media/data/images/14082025/13/11/image_14082025_13_11_29_10277.jpg', '/media/data/images/14082025/13/11/image_14082025_13_11_39_10324.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/10/image_14082025_13_10_48_10255.jpg /media/data/images/14082025/13/10/image_14082025_13_10_59_10459.jpg /media/data/images/14082025/13/11/image_14082025_13_11_08_9292.jpg /media/data/images/14082025/13/11/image_14082025_13_11_18_10270.jpg /media/data/images/14082025/13/11/image_14082025_13_11_29_10277.jpg /media/data/images/14082025/13/11/image_14082025_13_11_39_10324.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377127914","1377127973","1377127895","1377127925","1377127853","1377127978"],"photo_ids_order":["1377127853","1377127895","1377127914","1377127925","1377127973","1377127978"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/44f521155c78f250fe3818d1128319cc.jpg","text":"TemporaryFile(/tmp/multipartBody2581299882545697082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203362933,"filename":"image_14082025_13_11_08_9292.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bddcee1c212841ae36eb66e873a211b8.jpg","text":"TemporaryFile(/tmp/multipartBody923320868833691762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203362933,"filename":"image_14082025_13_11_29_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5857bbd910ab685a5f7c999d2f695df8.jpg","text":"TemporaryFile(/tmp/multipartBody1501041988523860315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203362933,"filename":"image_14082025_13_10_59_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f05e7c9f1b63f20384e620a328aebda9.jpg","text":"TemporaryFile(/tmp/multipartBody8914592120459188800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203362933,"filename":"image_14082025_13_11_18_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4454f947a5ab040ad4ab58f503f18ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2234899527711411811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203362933,"filename":"image_14082025_13_10_48_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bd105af728e83bb8af7052a3b1689849.jpg","text":"TemporaryFile(/tmp/multipartBody8067801780887962912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203362933,"filename":"image_14082025_13_11_39_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377127914","file1":"1377127895","file0":"1377127853","file4":"1377127973","file5":"1377127978","file3":"1377127925"},"map_files_photo_id_array":[{"photo_id":"1377127978","filename":"file5"},{"photo_id":"1377127914","filename":"file2"},{"photo_id":"1377127973","filename":"file4"},{"photo_id":"1377127895","filename":"file1"},{"photo_id":"1377127853","filename":"file0"},{"photo_id":"1377127925","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377127914":["hashtag1","hashtag2"]},{"1377127973":["hashtag1","hashtag2"]},{"1377127895":["hashtag1","hashtag2"]},{"1377127925":["hashtag1","hashtag2"]},{"1377127853":["hashtag1","hashtag2"]},{"1377127978":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377127914, 1377127973, 1377127895, 1377127925, 1377127853, 1377127978)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 51.71470069885254 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:29:22.009509 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/11/image_14082025_13_11_48_9025.jpg', '/media/data/images/14082025/13/11/image_14082025_13_11_58_10292.jpg', '/media/data/images/14082025/13/12/image_14082025_13_12_09_10381.jpg', '/media/data/images/14082025/13/12/image_14082025_13_12_19_10296.jpg', '/media/data/images/14082025/13/12/image_14082025_13_12_28_9062.jpg', '/media/data/images/14082025/13/12/image_14082025_13_12_38_10326.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/11/image_14082025_13_11_48_9025.jpg /media/data/images/14082025/13/11/image_14082025_13_11_58_10292.jpg /media/data/images/14082025/13/12/image_14082025_13_12_09_10381.jpg /media/data/images/14082025/13/12/image_14082025_13_12_19_10296.jpg /media/data/images/14082025/13/12/image_14082025_13_12_28_9062.jpg /media/data/images/14082025/13/12/image_14082025_13_12_38_10326.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377128171","1377128138","1377128074","1377128181","1377128175","1377128082"],"photo_ids_order":["1377128074","1377128082","1377128138","1377128171","1377128175","1377128181"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b51ff2ef1372b1de2affdb510176daf8.jpg","text":"TemporaryFile(/tmp/multipartBody7252476159089211886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203423088,"filename":"image_14082025_13_12_19_10296.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3fd197b6b2ba83ae192daaeab764bf80.jpg","text":"TemporaryFile(/tmp/multipartBody1974542449347125723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203423088,"filename":"image_14082025_13_12_09_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc243c19817a4033641d9bab495990cb.jpg","text":"TemporaryFile(/tmp/multipartBody7279462155696816400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203423088,"filename":"image_14082025_13_11_48_9025.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a316b6d1bdc027f8d706637696aca10.jpg","text":"TemporaryFile(/tmp/multipartBody2090547264304626360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203423088,"filename":"image_14082025_13_12_38_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4732c756fd41c4e2451caf130c069238.jpg","text":"TemporaryFile(/tmp/multipartBody406533543264816404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203423088,"filename":"image_14082025_13_12_28_9062.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f172599aa9b08817c3245a309f72a3bf.jpg","text":"TemporaryFile(/tmp/multipartBody1527825960527633521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203423088,"filename":"image_14082025_13_11_58_10292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377128138","file1":"1377128082","file0":"1377128074","file4":"1377128175","file5":"1377128181","file3":"1377128171"},"map_files_photo_id_array":[{"photo_id":"1377128181","filename":"file5"},{"photo_id":"1377128138","filename":"file2"},{"photo_id":"1377128175","filename":"file4"},{"photo_id":"1377128082","filename":"file1"},{"photo_id":"1377128074","filename":"file0"},{"photo_id":"1377128171","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377128171":["hashtag1","hashtag2"]},{"1377128138":["hashtag1","hashtag2"]},{"1377128074":["hashtag1","hashtag2"]},{"1377128181":["hashtag1","hashtag2"]},{"1377128175":["hashtag1","hashtag2"]},{"1377128082":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377128171, 1377128138, 1377128074, 1377128181, 1377128175, 1377128082)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.96301484107971 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:30:22.106334 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/12/image_14082025_13_12_49_10493.jpg', '/media/data/images/14082025/13/12/image_14082025_13_12_58_9017.jpg', '/media/data/images/14082025/13/12/image_14082025_13_13_08_10567.jpg', '/media/data/images/14082025/13/13/image_14082025_13_13_19_10341.jpg', '/media/data/images/14082025/13/13/image_14082025_13_13_28_9154.jpg', '/media/data/images/14082025/13/13/image_14082025_13_13_38_10278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/12/image_14082025_13_12_49_10493.jpg /media/data/images/14082025/13/12/image_14082025_13_12_58_9017.jpg /media/data/images/14082025/13/12/image_14082025_13_13_08_10567.jpg /media/data/images/14082025/13/13/image_14082025_13_13_19_10341.jpg /media/data/images/14082025/13/13/image_14082025_13_13_28_9154.jpg /media/data/images/14082025/13/13/image_14082025_13_13_38_10278.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377128462","1377128258","1377128402","1377128290","1377128338","1377128230"],"photo_ids_order":["1377128230","1377128258","1377128290","1377128338","1377128402","1377128462"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07784aedc4be31e297f1dfab956b5acd.jpg","text":"TemporaryFile(/tmp/multipartBody1299217664444891038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203483188,"filename":"image_14082025_13_13_38_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/966ab1ad6062bc2cbe5e9e5753c62b75.jpg","text":"TemporaryFile(/tmp/multipartBody4424893454717965666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203483188,"filename":"image_14082025_13_12_58_9017.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7ed2df033258dbf4a367f96f98d3628.jpg","text":"TemporaryFile(/tmp/multipartBody9165881340300020160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203483188,"filename":"image_14082025_13_13_28_9154.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07f0c58eb960c93daa6abb4563d3db8e.jpg","text":"TemporaryFile(/tmp/multipartBody4854639491817810507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203483188,"filename":"image_14082025_13_13_08_10567.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c7f2603b6c2de53107b64cad1250d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5717146893771109746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203483188,"filename":"image_14082025_13_13_19_10341.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e1c0277ce92d71d2f7be82ece1d611b4.jpg","text":"TemporaryFile(/tmp/multipartBody6087661704550474954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203483188,"filename":"image_14082025_13_12_49_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377128290","file1":"1377128258","file0":"1377128230","file4":"1377128402","file5":"1377128462","file3":"1377128338"},"map_files_photo_id_array":[{"photo_id":"1377128462","filename":"file5"},{"photo_id":"1377128290","filename":"file2"},{"photo_id":"1377128402","filename":"file4"},{"photo_id":"1377128258","filename":"file1"},{"photo_id":"1377128230","filename":"file0"},{"photo_id":"1377128338","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377128462":["hashtag1","hashtag2"]},{"1377128258":["hashtag1","hashtag2"]},{"1377128402":["hashtag1","hashtag2"]},{"1377128290":["hashtag1","hashtag2"]},{"1377128338":["hashtag1","hashtag2"]},{"1377128230":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377128462, 1377128258, 1377128402, 1377128290, 1377128338, 1377128230)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.65878486633301 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:31:22.220358 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/13/image_14082025_13_13_49_10326.jpg', '/media/data/images/14082025/13/13/image_14082025_13_13_59_10382.jpg', '/media/data/images/14082025/13/14/image_14082025_13_14_08_9421.jpg', '/media/data/images/14082025/13/14/image_14082025_13_14_19_10362.jpg', '/media/data/images/14082025/13/14/image_14082025_13_14_28_9161.jpg', '/media/data/images/14082025/13/14/image_14082025_13_14_38_10397.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/13/image_14082025_13_13_49_10326.jpg /media/data/images/14082025/13/13/image_14082025_13_13_59_10382.jpg /media/data/images/14082025/13/14/image_14082025_13_14_08_9421.jpg /media/data/images/14082025/13/14/image_14082025_13_14_19_10362.jpg /media/data/images/14082025/13/14/image_14082025_13_14_28_9161.jpg /media/data/images/14082025/13/14/image_14082025_13_14_38_10397.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377128936","1377128794","1377128872","1377128752","1377128904","1377128832"],"photo_ids_order":["1377128752","1377128794","1377128832","1377128872","1377128904","1377128936"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/203522abf6f9f806205f190465b5a3c4.jpg","text":"TemporaryFile(/tmp/multipartBody1331263321446177971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203543233,"filename":"image_14082025_13_14_38_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97aa6a423886cb6c0471b602e35ecef3.jpg","text":"TemporaryFile(/tmp/multipartBody3285891981635555510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203543233,"filename":"image_14082025_13_13_59_10382.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cbb0e31aec1f18bea54a1c477a361844.jpg","text":"TemporaryFile(/tmp/multipartBody4411490324722366845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203543233,"filename":"image_14082025_13_14_19_10362.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b7747699240a87291197a81da519658.jpg","text":"TemporaryFile(/tmp/multipartBody1627378900558816036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203543233,"filename":"image_14082025_13_13_49_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99eb22947be6af443307c7e04221fb68.jpg","text":"TemporaryFile(/tmp/multipartBody5842275385602703405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203543233,"filename":"image_14082025_13_14_28_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/39038a297e73e8787b7b34bd9ad3bd06.jpg","text":"TemporaryFile(/tmp/multipartBody7151845044439232401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203543233,"filename":"image_14082025_13_14_08_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377128832","file1":"1377128794","file0":"1377128752","file4":"1377128904","file5":"1377128936","file3":"1377128872"},"map_files_photo_id_array":[{"photo_id":"1377128936","filename":"file5"},{"photo_id":"1377128832","filename":"file2"},{"photo_id":"1377128904","filename":"file4"},{"photo_id":"1377128794","filename":"file1"},{"photo_id":"1377128752","filename":"file0"},{"photo_id":"1377128872","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377128936":["hashtag1","hashtag2"]},{"1377128794":["hashtag1","hashtag2"]},{"1377128872":["hashtag1","hashtag2"]},{"1377128752":["hashtag1","hashtag2"]},{"1377128904":["hashtag1","hashtag2"]},{"1377128832":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377128936, 1377128794, 1377128872, 1377128752, 1377128904, 1377128832)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.74563908576965 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:32:22.335996 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/14/image_14082025_13_14_49_10397.jpg', '/media/data/images/14082025/13/14/image_14082025_13_14_59_10308.jpg', '/media/data/images/14082025/13/15/image_14082025_13_15_08_9209.jpg', '/media/data/images/14082025/13/15/image_14082025_13_15_19_10313.jpg', '/media/data/images/14082025/13/15/image_14082025_13_15_29_10283.jpg', '/media/data/images/14082025/13/15/image_14082025_13_15_38_9152.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/14/image_14082025_13_14_49_10397.jpg /media/data/images/14082025/13/14/image_14082025_13_14_59_10308.jpg /media/data/images/14082025/13/15/image_14082025_13_15_08_9209.jpg /media/data/images/14082025/13/15/image_14082025_13_15_19_10313.jpg /media/data/images/14082025/13/15/image_14082025_13_15_29_10283.jpg /media/data/images/14082025/13/15/image_14082025_13_15_38_9152.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377129317","1377129218","1377129253","1377129285","1377129150","1377129185"],"photo_ids_order":["1377129150","1377129185","1377129218","1377129253","1377129285","1377129317"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af88f47aa3c22c4e34cfa9679210db2e.jpg","text":"TemporaryFile(/tmp/multipartBody3446550821700907967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203603330,"filename":"image_14082025_13_15_38_9152.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/533a8e7e12784fa430c036f3590fc906.jpg","text":"TemporaryFile(/tmp/multipartBody7008001072930390025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203603330,"filename":"image_14082025_13_15_08_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0354737f13aef299c9e2f042046db064.jpg","text":"TemporaryFile(/tmp/multipartBody7859066269750129290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203603330,"filename":"image_14082025_13_15_19_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb7047810796b4afd41dc88a1dec9ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2298991040851456489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203603330,"filename":"image_14082025_13_15_29_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f99685b65504b2597e132dca549be35d.jpg","text":"TemporaryFile(/tmp/multipartBody1168085269864818810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203603330,"filename":"image_14082025_13_14_49_10397.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4d3c2fb26f3f83d1b076494994bf3b5.jpg","text":"TemporaryFile(/tmp/multipartBody3747695804313075754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203603330,"filename":"image_14082025_13_14_59_10308.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377129218","file1":"1377129185","file0":"1377129150","file4":"1377129285","file5":"1377129317","file3":"1377129253"},"map_files_photo_id_array":[{"photo_id":"1377129317","filename":"file5"},{"photo_id":"1377129218","filename":"file2"},{"photo_id":"1377129285","filename":"file4"},{"photo_id":"1377129185","filename":"file1"},{"photo_id":"1377129150","filename":"file0"},{"photo_id":"1377129253","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377129317":["hashtag1","hashtag2"]},{"1377129218":["hashtag1","hashtag2"]},{"1377129253":["hashtag1","hashtag2"]},{"1377129285":["hashtag1","hashtag2"]},{"1377129150":["hashtag1","hashtag2"]},{"1377129185":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377129317, 1377129218, 1377129253, 1377129285, 1377129150, 1377129185)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.81614089012146 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:33:22.422199 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/15/image_14082025_13_15_48_10459.jpg', '/media/data/images/14082025/13/15/image_14082025_13_15_59_10310.jpg', '/media/data/images/14082025/13/16/image_14082025_13_16_08_9147.jpg', '/media/data/images/14082025/13/16/image_14082025_13_16_18_10348.jpg', '/media/data/images/14082025/13/16/image_14082025_13_16_58_10312.jpg', '/media/data/images/14082025/13/17/image_14082025_13_17_09_10456.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/15/image_14082025_13_15_48_10459.jpg /media/data/images/14082025/13/15/image_14082025_13_15_59_10310.jpg /media/data/images/14082025/13/16/image_14082025_13_16_08_9147.jpg /media/data/images/14082025/13/16/image_14082025_13_16_18_10348.jpg /media/data/images/14082025/13/16/image_14082025_13_16_58_10312.jpg /media/data/images/14082025/13/17/image_14082025_13_17_09_10456.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377129350","1377129347","1377129358","1377129343","1377129423","1377129392"],"photo_ids_order":["1377129343","1377129347","1377129350","1377129358","1377129392","1377129423"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e1f786b370e776c0c3a392090496a58.jpg","text":"TemporaryFile(/tmp/multipartBody8959502219323733774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203663410,"filename":"image_14082025_13_16_08_9147.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f131485f03c776c5a274169396628211.jpg","text":"TemporaryFile(/tmp/multipartBody1308074201820795831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203663410,"filename":"image_14082025_13_15_59_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/351857a9e6e6eaf16bb9d88eece5bec0.jpg","text":"TemporaryFile(/tmp/multipartBody1347153171219362921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203663410,"filename":"image_14082025_13_16_18_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c68a0537ba841fc9c8c5e2e05a14623c.jpg","text":"TemporaryFile(/tmp/multipartBody8947078675822735341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203663410,"filename":"image_14082025_13_15_48_10459.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9d8baa9719c358c0f951716146853b9.jpg","text":"TemporaryFile(/tmp/multipartBody8452765609534567058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203663410,"filename":"image_14082025_13_17_09_10456.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c91f6ae2dc4f96f75a255b123c946a5.jpg","text":"TemporaryFile(/tmp/multipartBody3835441152371390218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203663410,"filename":"image_14082025_13_16_58_10312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377129350","file1":"1377129347","file0":"1377129343","file4":"1377129392","file5":"1377129423","file3":"1377129358"},"map_files_photo_id_array":[{"photo_id":"1377129423","filename":"file5"},{"photo_id":"1377129350","filename":"file2"},{"photo_id":"1377129392","filename":"file4"},{"photo_id":"1377129347","filename":"file1"},{"photo_id":"1377129343","filename":"file0"},{"photo_id":"1377129358","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377129350":["hashtag1","hashtag2"]},{"1377129347":["hashtag1","hashtag2"]},{"1377129358":["hashtag1","hashtag2"]},{"1377129343":["hashtag1","hashtag2"]},{"1377129423":["hashtag1","hashtag2"]},{"1377129392":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377129350, 1377129347, 1377129358, 1377129343, 1377129423, 1377129392)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.541959047317505 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:34:22.545329 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/17/image_14082025_13_17_18_9101.jpg', '/media/data/images/14082025/13/17/image_14082025_13_17_28_10406.jpg', '/media/data/images/14082025/13/17/image_14082025_13_17_39_10423.jpg', '/media/data/images/14082025/13/17/image_14082025_13_17_48_9102.jpg', '/media/data/images/14082025/13/17/image_14082025_13_17_58_10391.jpg', '/media/data/images/14082025/13/18/image_14082025_13_18_09_10254.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/17/image_14082025_13_17_18_9101.jpg /media/data/images/14082025/13/17/image_14082025_13_17_28_10406.jpg /media/data/images/14082025/13/17/image_14082025_13_17_39_10423.jpg /media/data/images/14082025/13/17/image_14082025_13_17_48_9102.jpg /media/data/images/14082025/13/17/image_14082025_13_17_58_10391.jpg /media/data/images/14082025/13/18/image_14082025_13_18_09_10254.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377129620","1377129769","1377129670","1377129727","1377129654","1377129612"],"photo_ids_order":["1377129612","1377129620","1377129654","1377129670","1377129727","1377129769"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99f348926cadfd73727cc09a4c8bde95.jpg","text":"TemporaryFile(/tmp/multipartBody9029100853330180864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203723543,"filename":"image_14082025_13_17_28_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abdfdcc9760db937808e94b3f16f2a08.jpg","text":"TemporaryFile(/tmp/multipartBody4959107062611193007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203723543,"filename":"image_14082025_13_18_09_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46b61e90097630d572007b3c24f6bc2e.jpg","text":"TemporaryFile(/tmp/multipartBody5885829585829002253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203723543,"filename":"image_14082025_13_17_48_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c0dabe8f24d4898c81d8422d09da903.jpg","text":"TemporaryFile(/tmp/multipartBody4834345763438331739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203723543,"filename":"image_14082025_13_17_58_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/519f635bfd5159efe0c54d3d7af5aef2.jpg","text":"TemporaryFile(/tmp/multipartBody2035724231230472835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203723543,"filename":"image_14082025_13_17_39_10423.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/774ed62db0bcfcf8622d5bac77fb737d.jpg","text":"TemporaryFile(/tmp/multipartBody2927797922059667341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203723543,"filename":"image_14082025_13_17_18_9101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377129654","file1":"1377129620","file0":"1377129612","file4":"1377129727","file5":"1377129769","file3":"1377129670"},"map_files_photo_id_array":[{"photo_id":"1377129769","filename":"file5"},{"photo_id":"1377129654","filename":"file2"},{"photo_id":"1377129727","filename":"file4"},{"photo_id":"1377129620","filename":"file1"},{"photo_id":"1377129612","filename":"file0"},{"photo_id":"1377129670","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377129620":["hashtag1","hashtag2"]},{"1377129769":["hashtag1","hashtag2"]},{"1377129670":["hashtag1","hashtag2"]},{"1377129727":["hashtag1","hashtag2"]},{"1377129654":["hashtag1","hashtag2"]},{"1377129612":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377129620, 1377129769, 1377129670, 1377129727, 1377129654, 1377129612)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.241007804870605 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:35:22.648549 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/18/image_14082025_13_18_19_10367.jpg', '/media/data/images/14082025/13/18/image_14082025_13_18_28_9238.jpg', '/media/data/images/14082025/13/18/image_14082025_13_18_39_10399.jpg', '/media/data/images/14082025/13/18/image_14082025_13_18_49_10309.jpg', '/media/data/images/14082025/13/18/image_14082025_13_18_58_9030.jpg', '/media/data/images/14082025/13/18/image_14082025_13_19_08_10440.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/18/image_14082025_13_18_19_10367.jpg /media/data/images/14082025/13/18/image_14082025_13_18_28_9238.jpg /media/data/images/14082025/13/18/image_14082025_13_18_39_10399.jpg /media/data/images/14082025/13/18/image_14082025_13_18_49_10309.jpg /media/data/images/14082025/13/18/image_14082025_13_18_58_9030.jpg /media/data/images/14082025/13/18/image_14082025_13_19_08_10440.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377130061","1377130166","1377130129","1377130204","1377130095","1377130027"],"photo_ids_order":["1377130027","1377130061","1377130095","1377130129","1377130166","1377130204"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86246b3658d7579f599e0861fcd722e2.jpg","text":"TemporaryFile(/tmp/multipartBody6120230187011926992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203783640,"filename":"image_14082025_13_18_28_9238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ee51e9a6e9ea4911a4920b06f381fa77.jpg","text":"TemporaryFile(/tmp/multipartBody2898288529257827640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203783640,"filename":"image_14082025_13_18_58_9030.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/879e7238994156f68a9b816513fcd7e1.jpg","text":"TemporaryFile(/tmp/multipartBody8827621536449163132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203783640,"filename":"image_14082025_13_18_49_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b00a136fa76a36697a213ed4593ad5f.jpg","text":"TemporaryFile(/tmp/multipartBody2748971599538896373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203783640,"filename":"image_14082025_13_19_08_10440.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/85a8c96655deeb2bd28abaaf8140252b.jpg","text":"TemporaryFile(/tmp/multipartBody5426482758200771778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203783640,"filename":"image_14082025_13_18_39_10399.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36e8cb546fa0ea09e160012da16c12ff.jpg","text":"TemporaryFile(/tmp/multipartBody2597820560375622486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203783640,"filename":"image_14082025_13_18_19_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377130095","file1":"1377130061","file0":"1377130027","file4":"1377130166","file5":"1377130204","file3":"1377130129"},"map_files_photo_id_array":[{"photo_id":"1377130204","filename":"file5"},{"photo_id":"1377130095","filename":"file2"},{"photo_id":"1377130166","filename":"file4"},{"photo_id":"1377130061","filename":"file1"},{"photo_id":"1377130027","filename":"file0"},{"photo_id":"1377130129","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377130061":["hashtag1","hashtag2"]},{"1377130166":["hashtag1","hashtag2"]},{"1377130129":["hashtag1","hashtag2"]},{"1377130204":["hashtag1","hashtag2"]},{"1377130095":["hashtag1","hashtag2"]},{"1377130027":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377130061, 1377130166, 1377130129, 1377130204, 1377130095, 1377130027)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.87225842475891 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:36:22.774077 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/19/image_14082025_13_19_19_10263.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_29_10242.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_38_9030.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_48_10270.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_58_10283.jpg', '/media/data/images/14082025/13/20/image_14082025_13_20_09_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/19/image_14082025_13_19_19_10263.jpg /media/data/images/14082025/13/19/image_14082025_13_19_29_10242.jpg /media/data/images/14082025/13/19/image_14082025_13_19_38_9030.jpg /media/data/images/14082025/13/19/image_14082025_13_19_48_10270.jpg /media/data/images/14082025/13/19/image_14082025_13_19_58_10283.jpg /media/data/images/14082025/13/20/image_14082025_13_20_09_10319.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 0.6009206771850586 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:36:42.700627 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/19/image_14082025_13_19_19_10263.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_29_10242.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_38_9030.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_48_10270.jpg', '/media/data/images/14082025/13/19/image_14082025_13_19_58_10283.jpg', '/media/data/images/14082025/13/20/image_14082025_13_20_09_10319.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/19/image_14082025_13_19_19_10263.jpg /media/data/images/14082025/13/19/image_14082025_13_19_29_10242.jpg /media/data/images/14082025/13/19/image_14082025_13_19_38_9030.jpg /media/data/images/14082025/13/19/image_14082025_13_19_48_10270.jpg /media/data/images/14082025/13/19/image_14082025_13_19_58_10283.jpg /media/data/images/14082025/13/20/image_14082025_13_20_09_10319.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377130763","1377130979","1377130802","1377130839","1377130892","1377130719"],"photo_ids_order":["1377130719","1377130763","1377130802","1377130839","1377130892","1377130979"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac02adc4e15f9ed498eeae30ff9cc3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3297307845717125578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203863644,"filename":"image_14082025_13_19_29_10242.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28365e494918797f431e0987923efab4.jpg","text":"TemporaryFile(/tmp/multipartBody2307559514739649143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203863644,"filename":"image_14082025_13_20_09_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30ec73d4147f15b9c03fb32f06261879.jpg","text":"TemporaryFile(/tmp/multipartBody7242893742182938881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203863644,"filename":"image_14082025_13_19_38_9030.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7cc752e54addc52a851c3f7e25daafb2.jpg","text":"TemporaryFile(/tmp/multipartBody7321680219954574075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203863644,"filename":"image_14082025_13_19_48_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/639006f3a40b0f4ff44928f803ddc5ba.jpg","text":"TemporaryFile(/tmp/multipartBody5687557459203372037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203863644,"filename":"image_14082025_13_19_58_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e00c0e3657710988f4c5657cb3c9abda.jpg","text":"TemporaryFile(/tmp/multipartBody6753790567522903563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203863644,"filename":"image_14082025_13_19_19_10263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377130802","file1":"1377130763","file0":"1377130719","file4":"1377130892","file5":"1377130979","file3":"1377130839"},"map_files_photo_id_array":[{"photo_id":"1377130979","filename":"file5"},{"photo_id":"1377130802","filename":"file2"},{"photo_id":"1377130892","filename":"file4"},{"photo_id":"1377130763","filename":"file1"},{"photo_id":"1377130719","filename":"file0"},{"photo_id":"1377130839","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377130763":["hashtag1","hashtag2"]},{"1377130979":["hashtag1","hashtag2"]},{"1377130802":["hashtag1","hashtag2"]},{"1377130839":["hashtag1","hashtag2"]},{"1377130892":["hashtag1","hashtag2"]},{"1377130719":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377130763, 1377130979, 1377130802, 1377130839, 1377130892, 1377130719)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.06697463989258 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:37:41.811109 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/20/image_14082025_13_20_18_9057.jpg', '/media/data/images/14082025/13/20/image_14082025_13_20_28_10252.jpg', '/media/data/images/14082025/13/20/image_14082025_13_20_38_10245.jpg', '/media/data/images/14082025/13/20/image_14082025_13_20_49_10239.jpg', '/media/data/images/14082025/13/20/image_14082025_13_20_59_10335.jpg', '/media/data/images/14082025/13/21/image_14082025_13_21_08_9367.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/20/image_14082025_13_20_18_9057.jpg /media/data/images/14082025/13/20/image_14082025_13_20_28_10252.jpg /media/data/images/14082025/13/20/image_14082025_13_20_38_10245.jpg /media/data/images/14082025/13/20/image_14082025_13_20_49_10239.jpg /media/data/images/14082025/13/20/image_14082025_13_20_59_10335.jpg /media/data/images/14082025/13/21/image_14082025_13_21_08_9367.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377131338","1377131305","1377131236","1377131376","1377131415","1377131270"],"photo_ids_order":["1377131236","1377131270","1377131305","1377131338","1377131376","1377131415"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f7e2c72f673a81db89c1ffc4f944c12.jpg","text":"TemporaryFile(/tmp/multipartBody8284969659268315917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203922847,"filename":"image_14082025_13_20_49_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b2ce8adf3603f4ed6e27a8ec15bb9a6.jpg","text":"TemporaryFile(/tmp/multipartBody1802185361749340545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203922847,"filename":"image_14082025_13_20_38_10245.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a0613e92dc4953cb0c3b42f70de671e6.jpg","text":"TemporaryFile(/tmp/multipartBody2923579744586800024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203922847,"filename":"image_14082025_13_20_18_9057.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25b3c5626291da9544135f90a68b5b4e.jpg","text":"TemporaryFile(/tmp/multipartBody191144188636071338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203922847,"filename":"image_14082025_13_20_59_10335.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4dbeaad43ec09fcb5bdaef0ee859df87.jpg","text":"TemporaryFile(/tmp/multipartBody4062439766846697454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203922847,"filename":"image_14082025_13_21_08_9367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0b7f9cf8c215d222926b8d98eecae5e.jpg","text":"TemporaryFile(/tmp/multipartBody8045406690580282969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203922847,"filename":"image_14082025_13_20_28_10252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377131305","file1":"1377131270","file0":"1377131236","file4":"1377131376","file5":"1377131415","file3":"1377131338"},"map_files_photo_id_array":[{"photo_id":"1377131415","filename":"file5"},{"photo_id":"1377131305","filename":"file2"},{"photo_id":"1377131376","filename":"file4"},{"photo_id":"1377131270","filename":"file1"},{"photo_id":"1377131236","filename":"file0"},{"photo_id":"1377131338","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377131338":["hashtag1","hashtag2"]},{"1377131305":["hashtag1","hashtag2"]},{"1377131236":["hashtag1","hashtag2"]},{"1377131376":["hashtag1","hashtag2"]},{"1377131415":["hashtag1","hashtag2"]},{"1377131270":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377131338, 1377131305, 1377131236, 1377131376, 1377131415, 1377131270)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.70610451698303 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:38:41.910065 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/21/image_14082025_13_21_19_10258.jpg', '/media/data/images/14082025/13/21/image_14082025_13_21_29_10276.jpg', '/media/data/images/14082025/13/21/image_14082025_13_21_38_9144.jpg', '/media/data/images/14082025/13/21/image_14082025_13_21_48_10455.jpg', '/media/data/images/14082025/13/21/image_14082025_13_21_59_10455.jpg', '/media/data/images/14082025/13/22/image_14082025_13_22_08_9439.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/21/image_14082025_13_21_19_10258.jpg /media/data/images/14082025/13/21/image_14082025_13_21_29_10276.jpg /media/data/images/14082025/13/21/image_14082025_13_21_38_9144.jpg /media/data/images/14082025/13/21/image_14082025_13_21_48_10455.jpg /media/data/images/14082025/13/21/image_14082025_13_21_59_10455.jpg /media/data/images/14082025/13/22/image_14082025_13_22_08_9439.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377131921","1377131992","1377132060","1377131697","1377131856","1377131763"],"photo_ids_order":["1377131697","1377131763","1377131856","1377131921","1377131992","1377132060"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ebe15e6d849f51f350fcdee5eb9d3c3.jpg","text":"TemporaryFile(/tmp/multipartBody1049220449115588961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203982995,"filename":"image_14082025_13_21_48_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b34cdac149b25ab61d65969b4907b731.jpg","text":"TemporaryFile(/tmp/multipartBody471659962926296312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203982995,"filename":"image_14082025_13_21_59_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5cfa9cd97c9bf2b3a738fef011f74603.jpg","text":"TemporaryFile(/tmp/multipartBody3042961453943537208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203982995,"filename":"image_14082025_13_22_08_9439.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/23c86489cf048682419eb591b17d4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2996255479501087126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203982995,"filename":"image_14082025_13_21_19_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f6fa146c5733062f3ef2ec303893cb20.jpg","text":"TemporaryFile(/tmp/multipartBody6930327840850200813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203982995,"filename":"image_14082025_13_21_38_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b84cbd3a228b90529c5bf97c5b5b6993.jpg","text":"TemporaryFile(/tmp/multipartBody6716436424498017017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755203982995,"filename":"image_14082025_13_21_29_10276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377131856","file1":"1377131763","file0":"1377131697","file4":"1377131992","file5":"1377132060","file3":"1377131921"},"map_files_photo_id_array":[{"photo_id":"1377132060","filename":"file5"},{"photo_id":"1377131856","filename":"file2"},{"photo_id":"1377131992","filename":"file4"},{"photo_id":"1377131763","filename":"file1"},{"photo_id":"1377131697","filename":"file0"},{"photo_id":"1377131921","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377131921":["hashtag1","hashtag2"]},{"1377131992":["hashtag1","hashtag2"]},{"1377132060":["hashtag1","hashtag2"]},{"1377131697":["hashtag1","hashtag2"]},{"1377131856":["hashtag1","hashtag2"]},{"1377131763":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377131921, 1377131992, 1377132060, 1377131697, 1377131856, 1377131763)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.02772831916809 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:39:42.009039 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/22/image_14082025_13_22_19_10258.jpg', '/media/data/images/14082025/13/22/image_14082025_13_22_29_10277.jpg', '/media/data/images/14082025/13/22/image_14082025_13_22_38_9032.jpg', '/media/data/images/14082025/13/22/image_14082025_13_22_48_10268.jpg', '/media/data/images/14082025/13/22/image_14082025_13_22_58_10245.jpg', '/media/data/images/14082025/13/23/image_14082025_13_23_09_10528.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/22/image_14082025_13_22_19_10258.jpg /media/data/images/14082025/13/22/image_14082025_13_22_29_10277.jpg /media/data/images/14082025/13/22/image_14082025_13_22_38_9032.jpg /media/data/images/14082025/13/22/image_14082025_13_22_48_10268.jpg /media/data/images/14082025/13/22/image_14082025_13_22_58_10245.jpg /media/data/images/14082025/13/23/image_14082025_13_23_09_10528.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377132401","1377132409","1377132561","1377132456","1377132429","1377132512"],"photo_ids_order":["1377132401","1377132409","1377132429","1377132456","1377132512","1377132561"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b897c4d0c5ef3a129cb404cc076512b.jpg","text":"TemporaryFile(/tmp/multipartBody1028369671744346113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204043082,"filename":"image_14082025_13_22_19_10258.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0c8c1c623fc6cecbe4a7fa2b781ef08b.jpg","text":"TemporaryFile(/tmp/multipartBody2486666199350201880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204043082,"filename":"image_14082025_13_22_29_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d7ef794eaee12f802c2c8eb77a0d2995.jpg","text":"TemporaryFile(/tmp/multipartBody3381040071842082861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204043082,"filename":"image_14082025_13_23_09_10528.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/62116a6166f05bbba247d741d0497399.jpg","text":"TemporaryFile(/tmp/multipartBody4143671815084878417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204043082,"filename":"image_14082025_13_22_48_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/76a5e418c9a64f0ef107c13a1459b8d5.jpg","text":"TemporaryFile(/tmp/multipartBody6390045003548232406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204043082,"filename":"image_14082025_13_22_38_9032.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1eec8d1d05562e8186a1c68ad518810f.jpg","text":"TemporaryFile(/tmp/multipartBody1889749749189152670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204043082,"filename":"image_14082025_13_22_58_10245.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377132429","file1":"1377132409","file0":"1377132401","file4":"1377132512","file5":"1377132561","file3":"1377132456"},"map_files_photo_id_array":[{"photo_id":"1377132561","filename":"file5"},{"photo_id":"1377132429","filename":"file2"},{"photo_id":"1377132512","filename":"file4"},{"photo_id":"1377132409","filename":"file1"},{"photo_id":"1377132401","filename":"file0"},{"photo_id":"1377132456","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377132401":["hashtag1","hashtag2"]},{"1377132409":["hashtag1","hashtag2"]},{"1377132561":["hashtag1","hashtag2"]},{"1377132456":["hashtag1","hashtag2"]},{"1377132429":["hashtag1","hashtag2"]},{"1377132512":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377132401, 1377132409, 1377132561, 1377132456, 1377132429, 1377132512)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.78939485549927 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:40:42.110726 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/23/image_14082025_13_23_18_9185.jpg', '/media/data/images/14082025/13/23/image_14082025_13_23_28_10315.jpg', '/media/data/images/14082025/13/23/image_14082025_13_23_39_10301.jpg', '/media/data/images/14082025/13/23/image_14082025_13_23_58_9062.jpg', '/media/data/images/14082025/13/24/image_14082025_13_24_09_10413.jpg', '/media/data/images/14082025/13/24/image_14082025_13_24_19_10293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/23/image_14082025_13_23_18_9185.jpg /media/data/images/14082025/13/23/image_14082025_13_23_28_10315.jpg /media/data/images/14082025/13/23/image_14082025_13_23_39_10301.jpg /media/data/images/14082025/13/23/image_14082025_13_23_58_9062.jpg /media/data/images/14082025/13/24/image_14082025_13_24_09_10413.jpg /media/data/images/14082025/13/24/image_14082025_13_24_19_10293.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377133155","1377132987","1377132945","1377133101","1377132890","1377133049"],"photo_ids_order":["1377132890","1377132945","1377132987","1377133049","1377133101","1377133155"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9200648aa4ac98ef46eda3822c91c385.jpg","text":"TemporaryFile(/tmp/multipartBody2392869634010539248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204103116,"filename":"image_14082025_13_24_19_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0802f3baf2b22a5db07c2f8dabc8a4b9.jpg","text":"TemporaryFile(/tmp/multipartBody4454608949958851362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204103116,"filename":"image_14082025_13_23_39_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6ba07a39b72d75d7060a8b39319ec781.jpg","text":"TemporaryFile(/tmp/multipartBody2909012224887185184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204103116,"filename":"image_14082025_13_23_28_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6207c5f6f36cdbc7547e23db76b3883.jpg","text":"TemporaryFile(/tmp/multipartBody8916314045047766656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204103116,"filename":"image_14082025_13_24_09_10413.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/340fa46e875e69cd8a43fa5d24748d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5034325686094648002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204103116,"filename":"image_14082025_13_23_18_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d857fb1f30a55c60d2f00a01b2923d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1880345875740566601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204103116,"filename":"image_14082025_13_23_58_9062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377132987","file1":"1377132945","file0":"1377132890","file4":"1377133101","file5":"1377133155","file3":"1377133049"},"map_files_photo_id_array":[{"photo_id":"1377133155","filename":"file5"},{"photo_id":"1377132987","filename":"file2"},{"photo_id":"1377133101","filename":"file4"},{"photo_id":"1377132945","filename":"file1"},{"photo_id":"1377132890","filename":"file0"},{"photo_id":"1377133049","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377133155":["hashtag1","hashtag2"]},{"1377132987":["hashtag1","hashtag2"]},{"1377132945":["hashtag1","hashtag2"]},{"1377133101":["hashtag1","hashtag2"]},{"1377132890":["hashtag1","hashtag2"]},{"1377133049":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377133155, 1377132987, 1377132945, 1377133101, 1377132890, 1377133049)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.43181777000427 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:41:42.205503 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/24/image_14082025_13_24_38_10278.jpg', '/media/data/images/14082025/13/24/image_14082025_13_24_58_9169.jpg', '/media/data/images/14082025/13/26/image_14082025_13_26_28_9108.jpg', '/media/data/images/14082025/13/26/image_14082025_13_26_38_10315.jpg', '/media/data/images/14082025/13/26/image_14082025_13_26_49_10313.jpg', '/media/data/images/14082025/13/26/image_14082025_13_26_58_9294.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/24/image_14082025_13_24_38_10278.jpg /media/data/images/14082025/13/24/image_14082025_13_24_58_9169.jpg /media/data/images/14082025/13/26/image_14082025_13_26_28_9108.jpg /media/data/images/14082025/13/26/image_14082025_13_26_38_10315.jpg /media/data/images/14082025/13/26/image_14082025_13_26_49_10313.jpg /media/data/images/14082025/13/26/image_14082025_13_26_58_9294.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377133503","1377133589","1377133544","1377133436","1377133400","1377133471"],"photo_ids_order":["1377133400","1377133436","1377133471","1377133503","1377133544","1377133589"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a0e2f69b2dbb4fec76ea44b2bbc26bab.jpg","text":"TemporaryFile(/tmp/multipartBody7270814415147172756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204163237,"filename":"image_14082025_13_26_38_10315.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b7deaaeb995d60a0ef91aee53189adcb.jpg","text":"TemporaryFile(/tmp/multipartBody4750075070755328826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204163237,"filename":"image_14082025_13_26_58_9294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/056b7c748d589a3cc69c2764f3617c20.jpg","text":"TemporaryFile(/tmp/multipartBody6005854943348691622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204163237,"filename":"image_14082025_13_26_49_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7dfca5a40f66a240ea30a49dd3a8fee6.jpg","text":"TemporaryFile(/tmp/multipartBody1265541482515783222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204163237,"filename":"image_14082025_13_24_58_9169.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1c3d070682c3ed949e6731b5ce0f44d.jpg","text":"TemporaryFile(/tmp/multipartBody3906173336783930589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204163237,"filename":"image_14082025_13_24_38_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/877e6533dc4c1017401dee783152f538.jpg","text":"TemporaryFile(/tmp/multipartBody5863982252614512609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204163237,"filename":"image_14082025_13_26_28_9108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377133471","file1":"1377133436","file0":"1377133400","file4":"1377133544","file5":"1377133589","file3":"1377133503"},"map_files_photo_id_array":[{"photo_id":"1377133589","filename":"file5"},{"photo_id":"1377133471","filename":"file2"},{"photo_id":"1377133544","filename":"file4"},{"photo_id":"1377133436","filename":"file1"},{"photo_id":"1377133400","filename":"file0"},{"photo_id":"1377133503","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377133503":["hashtag1","hashtag2"]},{"1377133589":["hashtag1","hashtag2"]},{"1377133544":["hashtag1","hashtag2"]},{"1377133436":["hashtag1","hashtag2"]},{"1377133400":["hashtag1","hashtag2"]},{"1377133471":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377133503, 1377133589, 1377133544, 1377133436, 1377133400, 1377133471)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.66145992279053 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:42:42.290471 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/27/image_14082025_13_27_28_9164.jpg', '/media/data/images/14082025/13/27/image_14082025_13_27_38_10298.jpg', '/media/data/images/14082025/13/27/image_14082025_13_27_58_9422.jpg', '/media/data/images/14082025/13/28/image_14082025_13_28_19_10286.jpg', '/media/data/images/14082025/13/28/image_14082025_13_29_09_10666.jpg', '/media/data/images/14082025/13/29/image_14082025_13_29_38_10281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/27/image_14082025_13_27_28_9164.jpg /media/data/images/14082025/13/27/image_14082025_13_27_38_10298.jpg /media/data/images/14082025/13/27/image_14082025_13_27_58_9422.jpg /media/data/images/14082025/13/28/image_14082025_13_28_19_10286.jpg /media/data/images/14082025/13/28/image_14082025_13_29_09_10666.jpg /media/data/images/14082025/13/29/image_14082025_13_29_38_10281.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377134011","1377134142","1377133944","1377134249","1377134207","1377134077"],"photo_ids_order":["1377133944","1377134011","1377134077","1377134142","1377134207","1377134249"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b639f8126b3107d41edf2d0f96d01f03.jpg","text":"TemporaryFile(/tmp/multipartBody4314985733893437785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204223294,"filename":"image_14082025_13_27_38_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a2766345db0a80929a0c9e82288090a.jpg","text":"TemporaryFile(/tmp/multipartBody2007373749985503112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204223294,"filename":"image_14082025_13_28_19_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a91e5d3d98285e60c84728733afe874f.jpg","text":"TemporaryFile(/tmp/multipartBody1524053259565553066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204223294,"filename":"image_14082025_13_27_28_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c91055222873f0226412b01161d8ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody3840902100003692596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204223294,"filename":"image_14082025_13_29_38_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/393521596f9cc1e90064530cad6963ec.jpg","text":"TemporaryFile(/tmp/multipartBody2387959345891719734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204223294,"filename":"image_14082025_13_29_09_10666.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c2663b97c6df91f924549b6f50e5fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody6423009708652406641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204223294,"filename":"image_14082025_13_27_58_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377134077","file1":"1377134011","file0":"1377133944","file4":"1377134207","file5":"1377134249","file3":"1377134142"},"map_files_photo_id_array":[{"photo_id":"1377134249","filename":"file5"},{"photo_id":"1377134077","filename":"file2"},{"photo_id":"1377134207","filename":"file4"},{"photo_id":"1377134011","filename":"file1"},{"photo_id":"1377133944","filename":"file0"},{"photo_id":"1377134142","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377134011":["hashtag1","hashtag2"]},{"1377134142":["hashtag1","hashtag2"]},{"1377133944":["hashtag1","hashtag2"]},{"1377134249":["hashtag1","hashtag2"]},{"1377134207":["hashtag1","hashtag2"]},{"1377134077":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377134011, 1377134142, 1377133944, 1377134249, 1377134207, 1377134077)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.2499566078186 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:43:42.395260 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/29/image_14082025_13_29_49_10646.jpg', '/media/data/images/14082025/13/29/image_14082025_13_29_58_9329.jpg', '/media/data/images/14082025/13/30/image_14082025_13_30_09_10506.jpg', '/media/data/images/14082025/13/30/image_14082025_13_30_28_10290.jpg', '/media/data/images/14082025/13/30/image_14082025_13_30_39_10374.jpg', '/media/data/images/14082025/13/31/image_14082025_13_31_49_10282.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/29/image_14082025_13_29_49_10646.jpg /media/data/images/14082025/13/29/image_14082025_13_29_58_9329.jpg /media/data/images/14082025/13/30/image_14082025_13_30_09_10506.jpg /media/data/images/14082025/13/30/image_14082025_13_30_28_10290.jpg /media/data/images/14082025/13/30/image_14082025_13_30_39_10374.jpg /media/data/images/14082025/13/31/image_14082025_13_31_49_10282.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377134796","1377134652","1377134522","1377134473","1377134725","1377134589"],"photo_ids_order":["1377134473","1377134522","1377134589","1377134652","1377134725","1377134796"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/beecd94701eea558df2bfcbcf1bf8b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2671747755268897946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204283392,"filename":"image_14082025_13_31_49_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59e2d429271835ee248936756933471b.jpg","text":"TemporaryFile(/tmp/multipartBody7283700517443721318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204283392,"filename":"image_14082025_13_30_28_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc8e48d6ce2f3165cb9de8bb9f10a088.jpg","text":"TemporaryFile(/tmp/multipartBody8802975331382518094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204283392,"filename":"image_14082025_13_29_58_9329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/00dd3cddf0dddab2ab5b2b8144196783.jpg","text":"TemporaryFile(/tmp/multipartBody6570762774207466060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204283392,"filename":"image_14082025_13_29_49_10646.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f44760677be78b82719000a1de125733.jpg","text":"TemporaryFile(/tmp/multipartBody5169957075446217957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204283392,"filename":"image_14082025_13_30_39_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a27fdad6bd9b181be928320fe4a475a1.jpg","text":"TemporaryFile(/tmp/multipartBody1397243286686967542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204283392,"filename":"image_14082025_13_30_09_10506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377134589","file1":"1377134522","file0":"1377134473","file4":"1377134725","file5":"1377134796","file3":"1377134652"},"map_files_photo_id_array":[{"photo_id":"1377134796","filename":"file5"},{"photo_id":"1377134589","filename":"file2"},{"photo_id":"1377134725","filename":"file4"},{"photo_id":"1377134522","filename":"file1"},{"photo_id":"1377134473","filename":"file0"},{"photo_id":"1377134652","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377134796":["hashtag1","hashtag2"]},{"1377134652":["hashtag1","hashtag2"]},{"1377134522":["hashtag1","hashtag2"]},{"1377134473":["hashtag1","hashtag2"]},{"1377134725":["hashtag1","hashtag2"]},{"1377134589":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377134796, 1377134652, 1377134522, 1377134473, 1377134725, 1377134589)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.258768796920776 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:44:42.480166 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/31/image_14082025_13_31_58_9052.jpg', '/media/data/images/14082025/13/32/image_14082025_13_32_29_10379.jpg', '/media/data/images/14082025/13/32/image_14082025_13_32_39_10396.jpg', '/media/data/images/14082025/13/32/image_14082025_13_32_48_9090.jpg', '/media/data/images/14082025/13/33/image_14082025_13_33_29_10461.jpg', '/media/data/images/14082025/13/33/image_14082025_13_33_58_10303.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/31/image_14082025_13_31_58_9052.jpg /media/data/images/14082025/13/32/image_14082025_13_32_29_10379.jpg /media/data/images/14082025/13/32/image_14082025_13_32_39_10396.jpg /media/data/images/14082025/13/32/image_14082025_13_32_48_9090.jpg /media/data/images/14082025/13/33/image_14082025_13_33_29_10461.jpg /media/data/images/14082025/13/33/image_14082025_13_33_58_10303.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377135219","1377135167","1377135131","1377135079","1377135010","1377134970"],"photo_ids_order":["1377134970","1377135010","1377135079","1377135131","1377135167","1377135219"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc45108913076b976b4c34944b71db1f.jpg","text":"TemporaryFile(/tmp/multipartBody8332841782261205787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204343489,"filename":"image_14082025_13_33_58_10303.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a50673ea6ea6dccd70f30271a677e05.jpg","text":"TemporaryFile(/tmp/multipartBody5444470484381296951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204343489,"filename":"image_14082025_13_33_29_10461.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a3923c1f83c7dc11af6dd30f7022d20.jpg","text":"TemporaryFile(/tmp/multipartBody5615487391822100533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204343489,"filename":"image_14082025_13_32_48_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c826f286f68e14d367165aacde629b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6030536656472131560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204343489,"filename":"image_14082025_13_32_39_10396.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6f7e35e0355b1217319623d7dae4aa89.jpg","text":"TemporaryFile(/tmp/multipartBody6981906215746751684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204343489,"filename":"image_14082025_13_32_29_10379.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0ab331c17f4e280e05464dac98cae38e.jpg","text":"TemporaryFile(/tmp/multipartBody7810978559371043903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204343489,"filename":"image_14082025_13_31_58_9052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377135079","file1":"1377135010","file0":"1377134970","file4":"1377135167","file5":"1377135219","file3":"1377135131"},"map_files_photo_id_array":[{"photo_id":"1377135219","filename":"file5"},{"photo_id":"1377135079","filename":"file2"},{"photo_id":"1377135167","filename":"file4"},{"photo_id":"1377135010","filename":"file1"},{"photo_id":"1377134970","filename":"file0"},{"photo_id":"1377135131","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377135219":["hashtag1","hashtag2"]},{"1377135167":["hashtag1","hashtag2"]},{"1377135131":["hashtag1","hashtag2"]},{"1377135079":["hashtag1","hashtag2"]},{"1377135010":["hashtag1","hashtag2"]},{"1377134970":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377135219, 1377135167, 1377135131, 1377135079, 1377135010, 1377134970)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.87739276885986 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:45:42.583606 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/34/image_14082025_13_34_18_9167.jpg', '/media/data/images/14082025/13/34/image_14082025_13_34_59_10417.jpg', '/media/data/images/14082025/13/35/image_14082025_13_35_19_10642.jpg', '/media/data/images/14082025/13/35/image_14082025_13_35_29_10288.jpg', '/media/data/images/14082025/13/35/image_14082025_13_35_59_10291.jpg', '/media/data/images/14082025/13/36/image_14082025_13_36_18_9204.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/34/image_14082025_13_34_18_9167.jpg /media/data/images/14082025/13/34/image_14082025_13_34_59_10417.jpg /media/data/images/14082025/13/35/image_14082025_13_35_19_10642.jpg /media/data/images/14082025/13/35/image_14082025_13_35_29_10288.jpg /media/data/images/14082025/13/35/image_14082025_13_35_59_10291.jpg /media/data/images/14082025/13/36/image_14082025_13_36_18_9204.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377135731","1377135569","1377135533","1377135700","1377135601","1377135642"],"photo_ids_order":["1377135533","1377135569","1377135601","1377135642","1377135700","1377135731"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/049a33bb0d2b61d15798425fdb4ad75c.jpg","text":"TemporaryFile(/tmp/multipartBody5000253986662955059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204403579,"filename":"image_14082025_13_36_18_9204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b234c13b356f1c3a8ec58ca273e5be70.jpg","text":"TemporaryFile(/tmp/multipartBody4604048035742195493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204403579,"filename":"image_14082025_13_34_59_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5acea9dbc39fcc3a71fb6a009b715903.jpg","text":"TemporaryFile(/tmp/multipartBody7399586081501060166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204403579,"filename":"image_14082025_13_34_18_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/df892da4ffe88c8aa862cce8a1168836.jpg","text":"TemporaryFile(/tmp/multipartBody5313985591506072512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204403579,"filename":"image_14082025_13_35_59_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/18a9aa417a8db79cb83bda3a275f5909.jpg","text":"TemporaryFile(/tmp/multipartBody9089016487289127491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204403579,"filename":"image_14082025_13_35_19_10642.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eb63135be0e5a4ed0924a95f596562be.jpg","text":"TemporaryFile(/tmp/multipartBody5044415600175074597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204403579,"filename":"image_14082025_13_35_29_10288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377135601","file1":"1377135569","file0":"1377135533","file4":"1377135700","file5":"1377135731","file3":"1377135642"},"map_files_photo_id_array":[{"photo_id":"1377135731","filename":"file5"},{"photo_id":"1377135601","filename":"file2"},{"photo_id":"1377135700","filename":"file4"},{"photo_id":"1377135569","filename":"file1"},{"photo_id":"1377135533","filename":"file0"},{"photo_id":"1377135642","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377135731":["hashtag1","hashtag2"]},{"1377135569":["hashtag1","hashtag2"]},{"1377135533":["hashtag1","hashtag2"]},{"1377135700":["hashtag1","hashtag2"]},{"1377135601":["hashtag1","hashtag2"]},{"1377135642":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377135731, 1377135569, 1377135533, 1377135700, 1377135601, 1377135642)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.48523187637329 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:46:42.702328 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/36/image_14082025_13_36_58_9158.jpg', '/media/data/images/14082025/13/37/image_14082025_13_37_08_10181.jpg', '/media/data/images/14082025/13/37/image_14082025_13_37_29_10320.jpg', '/media/data/images/14082025/13/37/image_14082025_13_37_59_10299.jpg', '/media/data/images/14082025/13/38/image_14082025_13_38_18_9135.jpg', '/media/data/images/14082025/13/38/image_14082025_13_38_58_9150.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/36/image_14082025_13_36_58_9158.jpg /media/data/images/14082025/13/37/image_14082025_13_37_08_10181.jpg /media/data/images/14082025/13/37/image_14082025_13_37_29_10320.jpg /media/data/images/14082025/13/37/image_14082025_13_37_59_10299.jpg /media/data/images/14082025/13/38/image_14082025_13_38_18_9135.jpg /media/data/images/14082025/13/38/image_14082025_13_38_58_9150.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377135782","1377135776","1377135779","1377135847","1377135805","1377135777"],"photo_ids_order":["1377135776","1377135777","1377135779","1377135782","1377135805","1377135847"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4240428e98a4312775514d5b454e67be.jpg","text":"TemporaryFile(/tmp/multipartBody6576400152481358350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204463727,"filename":"image_14082025_13_37_59_10299.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1930d8904f15e1fdbec3e103418f501a.jpg","text":"TemporaryFile(/tmp/multipartBody7798500140286612102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204463727,"filename":"image_14082025_13_36_58_9158.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1e3b5b3e7b60dc1fcc64d606900bb5e2.jpg","text":"TemporaryFile(/tmp/multipartBody3871833707756095166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204463727,"filename":"image_14082025_13_37_29_10320.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2170fcd64563edbdd1f735c83ca56ba5.jpg","text":"TemporaryFile(/tmp/multipartBody6776349867753709913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204463727,"filename":"image_14082025_13_38_58_9150.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0f98bc0bdffd5d235eb609dcb3e19634.jpg","text":"TemporaryFile(/tmp/multipartBody36992628692816145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204463727,"filename":"image_14082025_13_38_18_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c15bd40e24f826d00cde9e0b948be3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4716180343954158465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204463727,"filename":"image_14082025_13_37_08_10181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377135779","file1":"1377135777","file0":"1377135776","file4":"1377135805","file5":"1377135847","file3":"1377135782"},"map_files_photo_id_array":[{"photo_id":"1377135847","filename":"file5"},{"photo_id":"1377135779","filename":"file2"},{"photo_id":"1377135805","filename":"file4"},{"photo_id":"1377135777","filename":"file1"},{"photo_id":"1377135776","filename":"file0"},{"photo_id":"1377135782","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377135782":["hashtag1","hashtag2"]},{"1377135776":["hashtag1","hashtag2"]},{"1377135779":["hashtag1","hashtag2"]},{"1377135847":["hashtag1","hashtag2"]},{"1377135805":["hashtag1","hashtag2"]},{"1377135777":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377135782, 1377135776, 1377135779, 1377135847, 1377135805, 1377135777)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.49219059944153 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:47:41.823211 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/38/image_14082025_13_39_09_10596.jpg', '/media/data/images/14082025/13/39/image_14082025_13_39_19_10306.jpg', '/media/data/images/14082025/13/39/image_14082025_13_39_38_10392.jpg', '/media/data/images/14082025/13/40/image_14082025_13_40_18_10313.jpg', '/media/data/images/14082025/13/40/image_14082025_13_40_29_10366.jpg', '/media/data/images/14082025/13/40/image_14082025_13_40_48_10374.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/38/image_14082025_13_39_09_10596.jpg /media/data/images/14082025/13/39/image_14082025_13_39_19_10306.jpg /media/data/images/14082025/13/39/image_14082025_13_39_38_10392.jpg /media/data/images/14082025/13/40/image_14082025_13_40_18_10313.jpg /media/data/images/14082025/13/40/image_14082025_13_40_29_10366.jpg /media/data/images/14082025/13/40/image_14082025_13_40_48_10374.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377136040","1377136087","1377136036","1377136117","1377136062","1377136085"],"photo_ids_order":["1377136036","1377136040","1377136062","1377136085","1377136087","1377136117"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8096b75c9d94ce3e9725349864445364.jpg","text":"TemporaryFile(/tmp/multipartBody8747088014912073981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204522855,"filename":"image_14082025_13_39_19_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1262b5790f3a84818ea6bfe436ca02ce.jpg","text":"TemporaryFile(/tmp/multipartBody1507167174088069029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204522855,"filename":"image_14082025_13_40_29_10366.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9b7e5ddb3c87af4109558c0378754fd.jpg","text":"TemporaryFile(/tmp/multipartBody3754744043904081842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204522855,"filename":"image_14082025_13_39_09_10596.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8ef16b0ec904cc3efc210ffbfebe2a33.jpg","text":"TemporaryFile(/tmp/multipartBody2261343309710768754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204522855,"filename":"image_14082025_13_40_48_10374.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/039bffd18560b57d4e2ea5b085c14629.jpg","text":"TemporaryFile(/tmp/multipartBody3875982126856797862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204522855,"filename":"image_14082025_13_39_38_10392.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/adfe48226e9f9696c11bcb393181bcae.jpg","text":"TemporaryFile(/tmp/multipartBody4028235961073002558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204522855,"filename":"image_14082025_13_40_18_10313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377136062","file1":"1377136040","file0":"1377136036","file4":"1377136087","file5":"1377136117","file3":"1377136085"},"map_files_photo_id_array":[{"photo_id":"1377136117","filename":"file5"},{"photo_id":"1377136062","filename":"file2"},{"photo_id":"1377136087","filename":"file4"},{"photo_id":"1377136040","filename":"file1"},{"photo_id":"1377136036","filename":"file0"},{"photo_id":"1377136085","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377136040":["hashtag1","hashtag2"]},{"1377136087":["hashtag1","hashtag2"]},{"1377136036":["hashtag1","hashtag2"]},{"1377136117":["hashtag1","hashtag2"]},{"1377136062":["hashtag1","hashtag2"]},{"1377136085":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377136040, 1377136087, 1377136036, 1377136117, 1377136062, 1377136085)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.63654685020447 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:48:41.946553 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/41/image_14082025_13_41_18_9058.jpg', '/media/data/images/14082025/13/41/image_14082025_13_41_58_9076.jpg', '/media/data/images/14082025/13/41/image_14082025_13_42_08_10587.jpg', '/media/data/images/14082025/13/42/image_14082025_13_42_38_10419.jpg', '/media/data/images/14082025/13/42/image_14082025_13_43_08_10420.jpg', '/media/data/images/14082025/13/43/image_14082025_13_43_19_10306.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/41/image_14082025_13_41_18_9058.jpg /media/data/images/14082025/13/41/image_14082025_13_41_58_9076.jpg /media/data/images/14082025/13/41/image_14082025_13_42_08_10587.jpg /media/data/images/14082025/13/42/image_14082025_13_42_38_10419.jpg /media/data/images/14082025/13/42/image_14082025_13_43_08_10420.jpg /media/data/images/14082025/13/43/image_14082025_13_43_19_10306.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377136640","1377136381","1377136513","1377136575","1377136443","1377136317"],"photo_ids_order":["1377136317","1377136381","1377136443","1377136513","1377136575","1377136640"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/08025c64d514b64140e7868e6de0655c.jpg","text":"TemporaryFile(/tmp/multipartBody4475623433486133151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204582927,"filename":"image_14082025_13_43_19_10306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ea09b2368ab854f1f5cecef5e43aea0.jpg","text":"TemporaryFile(/tmp/multipartBody3215440121551383385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204582927,"filename":"image_14082025_13_41_58_9076.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d68f6d0ace3ed88fef3fbcc8acfc5c52.jpg","text":"TemporaryFile(/tmp/multipartBody6051815315127192512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204582927,"filename":"image_14082025_13_42_38_10419.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d2828416a61c5b5ab67b8a524a75269e.jpg","text":"TemporaryFile(/tmp/multipartBody6874390786978197051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204582927,"filename":"image_14082025_13_43_08_10420.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73bfb28230206579060d33665642e21b.jpg","text":"TemporaryFile(/tmp/multipartBody5418463226397464974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204582927,"filename":"image_14082025_13_42_08_10587.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e93e5a7e099d3c3aaa15f23a7bc3e879.jpg","text":"TemporaryFile(/tmp/multipartBody2482908515451104523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204582927,"filename":"image_14082025_13_41_18_9058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377136443","file1":"1377136381","file0":"1377136317","file4":"1377136575","file5":"1377136640","file3":"1377136513"},"map_files_photo_id_array":[{"photo_id":"1377136640","filename":"file5"},{"photo_id":"1377136443","filename":"file2"},{"photo_id":"1377136575","filename":"file4"},{"photo_id":"1377136381","filename":"file1"},{"photo_id":"1377136317","filename":"file0"},{"photo_id":"1377136513","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377136640":["hashtag1","hashtag2"]},{"1377136381":["hashtag1","hashtag2"]},{"1377136513":["hashtag1","hashtag2"]},{"1377136575":["hashtag1","hashtag2"]},{"1377136443":["hashtag1","hashtag2"]},{"1377136317":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377136640, 1377136381, 1377136513, 1377136575, 1377136443, 1377136317)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.280269145965576 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:49:42.084254 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/43/image_14082025_13_43_29_10359.jpg', '/media/data/images/14082025/13/43/image_14082025_13_43_38_9070.jpg', '/media/data/images/14082025/13/44/image_14082025_13_44_19_10509.jpg', '/media/data/images/14082025/13/44/image_14082025_13_44_29_10286.jpg', '/media/data/images/14082025/13/44/image_14082025_13_44_38_9070.jpg', '/media/data/images/14082025/13/45/image_14082025_13_45_19_10299.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/43/image_14082025_13_43_29_10359.jpg /media/data/images/14082025/13/43/image_14082025_13_43_38_9070.jpg /media/data/images/14082025/13/44/image_14082025_13_44_19_10509.jpg /media/data/images/14082025/13/44/image_14082025_13_44_29_10286.jpg /media/data/images/14082025/13/44/image_14082025_13_44_38_9070.jpg /media/data/images/14082025/13/45/image_14082025_13_45_19_10299.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377136958","1377136916","1377136990","1377137055","1377137019","1377136884"],"photo_ids_order":["1377136884","1377136916","1377136958","1377136990","1377137019","1377137055"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10926866b23d435d89e917754f5257ad.jpg","text":"TemporaryFile(/tmp/multipartBody2528096484353667392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204643100,"filename":"image_14082025_13_44_19_10509.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8f43d1d7ef0b11bff44b69e901a28733.jpg","text":"TemporaryFile(/tmp/multipartBody5299328647173916610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204643100,"filename":"image_14082025_13_43_38_9070.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e98d19b0abb34e4586ba2f0da4c41d32.jpg","text":"TemporaryFile(/tmp/multipartBody6357355792112984213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204643100,"filename":"image_14082025_13_44_29_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/de9ea44d3aac37f4fbe49db64a8ab27c.jpg","text":"TemporaryFile(/tmp/multipartBody5999979114603240002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204643100,"filename":"image_14082025_13_45_19_10299.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33d55ba48ab196cea0680a8381ca1906.jpg","text":"TemporaryFile(/tmp/multipartBody1103288558791065972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204643100,"filename":"image_14082025_13_44_38_9070.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eea143a41cf2f8af6c59f5dfdde37028.jpg","text":"TemporaryFile(/tmp/multipartBody6167978163675734120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204643100,"filename":"image_14082025_13_43_29_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377136958","file1":"1377136916","file0":"1377136884","file4":"1377137019","file5":"1377137055","file3":"1377136990"},"map_files_photo_id_array":[{"photo_id":"1377137055","filename":"file5"},{"photo_id":"1377136958","filename":"file2"},{"photo_id":"1377137019","filename":"file4"},{"photo_id":"1377136916","filename":"file1"},{"photo_id":"1377136884","filename":"file0"},{"photo_id":"1377136990","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377136958":["hashtag1","hashtag2"]},{"1377136916":["hashtag1","hashtag2"]},{"1377136990":["hashtag1","hashtag2"]},{"1377137055":["hashtag1","hashtag2"]},{"1377137019":["hashtag1","hashtag2"]},{"1377136884":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377136958, 1377136916, 1377136990, 1377137055, 1377137019, 1377136884)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.79378032684326 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:50:42.233282 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/45/image_14082025_13_45_29_10381.jpg', '/media/data/images/14082025/13/45/image_14082025_13_45_49_10428.jpg', '/media/data/images/14082025/13/45/image_14082025_13_45_59_10385.jpg', '/media/data/images/14082025/13/46/image_14082025_13_46_08_8982.jpg', '/media/data/images/14082025/13/46/image_14082025_13_46_29_10297.jpg', '/media/data/images/14082025/13/46/image_14082025_13_46_39_10383.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/45/image_14082025_13_45_29_10381.jpg /media/data/images/14082025/13/45/image_14082025_13_45_49_10428.jpg /media/data/images/14082025/13/45/image_14082025_13_45_59_10385.jpg /media/data/images/14082025/13/46/image_14082025_13_46_08_8982.jpg /media/data/images/14082025/13/46/image_14082025_13_46_29_10297.jpg /media/data/images/14082025/13/46/image_14082025_13_46_39_10383.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137164","1377137172","1377137166","1377137169","1377137189","1377137174"],"photo_ids_order":["1377137164","1377137166","1377137169","1377137172","1377137174","1377137189"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/efca89947b9721405cc5c0b3d4c84425.jpg","text":"TemporaryFile(/tmp/multipartBody8019084292520420829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204703267,"filename":"image_14082025_13_45_29_10381.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e43e64f30987fc4be88c8cfe55bc3259.jpg","text":"TemporaryFile(/tmp/multipartBody3494110534462921809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204703267,"filename":"image_14082025_13_46_08_8982.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d3b06af3aa540d3823dcee378c6b40e6.jpg","text":"TemporaryFile(/tmp/multipartBody6951466244838089557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204703267,"filename":"image_14082025_13_45_49_10428.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9755662428247c49478a19241edc1b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8608682230349598053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204703267,"filename":"image_14082025_13_45_59_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae90b3bee9a6ab1679adcf5e4e0a7194.jpg","text":"TemporaryFile(/tmp/multipartBody2850179531666127330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204703267,"filename":"image_14082025_13_46_39_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b4b8c173d8bc463ed8d6a4c8e57eab5c.jpg","text":"TemporaryFile(/tmp/multipartBody6911374545893393336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204703267,"filename":"image_14082025_13_46_29_10297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137169","file1":"1377137166","file0":"1377137164","file4":"1377137174","file5":"1377137189","file3":"1377137172"},"map_files_photo_id_array":[{"photo_id":"1377137189","filename":"file5"},{"photo_id":"1377137169","filename":"file2"},{"photo_id":"1377137174","filename":"file4"},{"photo_id":"1377137166","filename":"file1"},{"photo_id":"1377137164","filename":"file0"},{"photo_id":"1377137172","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137164":["hashtag1","hashtag2"]},{"1377137172":["hashtag1","hashtag2"]},{"1377137166":["hashtag1","hashtag2"]},{"1377137169":["hashtag1","hashtag2"]},{"1377137189":["hashtag1","hashtag2"]},{"1377137174":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137164, 1377137172, 1377137166, 1377137169, 1377137189, 1377137174)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.930567264556885 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:51:42.343702 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/46/image_14082025_13_46_48_9255.jpg', '/media/data/images/14082025/13/47/image_14082025_13_47_18_9083.jpg', '/media/data/images/14082025/13/47/image_14082025_13_47_39_10526.jpg', '/media/data/images/14082025/13/47/image_14082025_13_47_48_9232.jpg', '/media/data/images/14082025/13/48/image_14082025_13_48_09_10286.jpg', '/media/data/images/14082025/13/48/image_14082025_13_48_18_9202.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/46/image_14082025_13_46_48_9255.jpg /media/data/images/14082025/13/47/image_14082025_13_47_18_9083.jpg /media/data/images/14082025/13/47/image_14082025_13_47_39_10526.jpg /media/data/images/14082025/13/47/image_14082025_13_47_48_9232.jpg /media/data/images/14082025/13/48/image_14082025_13_48_09_10286.jpg /media/data/images/14082025/13/48/image_14082025_13_48_18_9202.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137402","1377137434","1377137370","1377137337","1377137502","1377137468"],"photo_ids_order":["1377137337","1377137370","1377137402","1377137434","1377137468","1377137502"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/784ee86d1e86055af4b7f45d9b7546da.jpg","text":"TemporaryFile(/tmp/multipartBody1395179682140061047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204763372,"filename":"image_14082025_13_47_39_10526.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70764612ba94960c3467638b1a08e77a.jpg","text":"TemporaryFile(/tmp/multipartBody7760310863252412651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204763372,"filename":"image_14082025_13_47_48_9232.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ecb73bd9fe8bc3d4085ed06f193a8688.jpg","text":"TemporaryFile(/tmp/multipartBody2933063247346738735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204763372,"filename":"image_14082025_13_47_18_9083.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a1c874420255cc827876284dc0b0c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody8752728491639095923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204763372,"filename":"image_14082025_13_46_48_9255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cdbf9253dedc1f5b0caec4855021791b.jpg","text":"TemporaryFile(/tmp/multipartBody7465059300408149769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204763372,"filename":"image_14082025_13_48_18_9202.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e2ac9b21c430a8978b940b3299a07da7.jpg","text":"TemporaryFile(/tmp/multipartBody296969353800404708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204763372,"filename":"image_14082025_13_48_09_10286.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137402","file1":"1377137370","file0":"1377137337","file4":"1377137468","file5":"1377137502","file3":"1377137434"},"map_files_photo_id_array":[{"photo_id":"1377137502","filename":"file5"},{"photo_id":"1377137402","filename":"file2"},{"photo_id":"1377137468","filename":"file4"},{"photo_id":"1377137370","filename":"file1"},{"photo_id":"1377137337","filename":"file0"},{"photo_id":"1377137434","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137402":["hashtag1","hashtag2"]},{"1377137434":["hashtag1","hashtag2"]},{"1377137370":["hashtag1","hashtag2"]},{"1377137337":["hashtag1","hashtag2"]},{"1377137502":["hashtag1","hashtag2"]},{"1377137468":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137402, 1377137434, 1377137370, 1377137337, 1377137502, 1377137468)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.77629113197327 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:52:42.422679 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/48/image_14082025_13_48_28_10293.jpg', '/media/data/images/14082025/13/48/image_14082025_13_48_49_10465.jpg', '/media/data/images/14082025/13/48/image_14082025_13_49_08_10431.jpg', '/media/data/images/14082025/13/49/image_14082025_13_49_28_9119.jpg', '/media/data/images/14082025/13/49/image_14082025_13_49_49_10290.jpg', '/media/data/images/14082025/13/49/image_14082025_13_49_59_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/48/image_14082025_13_48_28_10293.jpg /media/data/images/14082025/13/48/image_14082025_13_48_49_10465.jpg /media/data/images/14082025/13/48/image_14082025_13_49_08_10431.jpg /media/data/images/14082025/13/49/image_14082025_13_49_28_9119.jpg /media/data/images/14082025/13/49/image_14082025_13_49_49_10290.jpg /media/data/images/14082025/13/49/image_14082025_13_49_59_10302.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137671","1377137626","1377137617","1377137619","1377137622","1377137621"],"photo_ids_order":["1377137617","1377137619","1377137621","1377137622","1377137626","1377137671"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/034f08c0489c17db8b8df271f2318e99.jpg","text":"TemporaryFile(/tmp/multipartBody6692750323396727414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204823428,"filename":"image_14082025_13_49_59_10302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cac3ce22570da450b07a1c63504ad007.jpg","text":"TemporaryFile(/tmp/multipartBody3834842665533563128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204823428,"filename":"image_14082025_13_49_49_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b119afe3e2c8ef28095e8d53f38c606c.jpg","text":"TemporaryFile(/tmp/multipartBody4941307273282471602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204823428,"filename":"image_14082025_13_48_28_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f70f3dd93f47c705c1dc44b58401d8e7.jpg","text":"TemporaryFile(/tmp/multipartBody135313289376437810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204823428,"filename":"image_14082025_13_48_49_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13c99be6c66c89db80831e3590330a08.jpg","text":"TemporaryFile(/tmp/multipartBody1129522820262311562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204823428,"filename":"image_14082025_13_49_28_9119.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6e6c3bcfee99780b015a1cf44774958.jpg","text":"TemporaryFile(/tmp/multipartBody6017164633778767981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204823428,"filename":"image_14082025_13_49_08_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137621","file1":"1377137619","file0":"1377137617","file4":"1377137626","file5":"1377137671","file3":"1377137622"},"map_files_photo_id_array":[{"photo_id":"1377137671","filename":"file5"},{"photo_id":"1377137621","filename":"file2"},{"photo_id":"1377137626","filename":"file4"},{"photo_id":"1377137619","filename":"file1"},{"photo_id":"1377137617","filename":"file0"},{"photo_id":"1377137622","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137671":["hashtag1","hashtag2"]},{"1377137626":["hashtag1","hashtag2"]},{"1377137617":["hashtag1","hashtag2"]},{"1377137619":["hashtag1","hashtag2"]},{"1377137622":["hashtag1","hashtag2"]},{"1377137621":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137671, 1377137626, 1377137617, 1377137619, 1377137622, 1377137621)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.62838554382324 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:53:42.516592 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/50/image_14082025_13_50_08_9225.jpg', '/media/data/images/14082025/13/50/image_14082025_13_50_18_10312.jpg', '/media/data/images/14082025/13/50/image_14082025_13_50_29_10413.jpg', '/media/data/images/14082025/13/50/image_14082025_13_50_38_9171.jpg', '/media/data/images/14082025/13/50/image_14082025_13_50_48_10289.jpg', '/media/data/images/14082025/13/50/image_14082025_13_50_59_10302.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/50/image_14082025_13_50_08_9225.jpg /media/data/images/14082025/13/50/image_14082025_13_50_18_10312.jpg /media/data/images/14082025/13/50/image_14082025_13_50_29_10413.jpg /media/data/images/14082025/13/50/image_14082025_13_50_38_9171.jpg /media/data/images/14082025/13/50/image_14082025_13_50_48_10289.jpg /media/data/images/14082025/13/50/image_14082025_13_50_59_10302.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137701","1377137712","1377137706","1377137709","1377137700","1377137703"],"photo_ids_order":["1377137700","1377137701","1377137703","1377137706","1377137709","1377137712"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ac61cfcd5c2bd3e77d5aa3a9bfc77cf.jpg","text":"TemporaryFile(/tmp/multipartBody8156025844319620951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204883505,"filename":"image_14082025_13_50_18_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7ef5fa3bdaec8f481f81dd6b9263674.jpg","text":"TemporaryFile(/tmp/multipartBody5699948514308149112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204883505,"filename":"image_14082025_13_50_59_10302.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11d88d1a88c9c52c0536f10d381bf26a.jpg","text":"TemporaryFile(/tmp/multipartBody871375560199415438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204883505,"filename":"image_14082025_13_50_38_9171.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b5d7de209040ea4f6a1225c22744ab5d.jpg","text":"TemporaryFile(/tmp/multipartBody3349326165098198428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204883505,"filename":"image_14082025_13_50_48_10289.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1cfc42a957536015f9d952766009e3d9.jpg","text":"TemporaryFile(/tmp/multipartBody4787874667953782506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204883505,"filename":"image_14082025_13_50_08_9225.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dd951a9b44fdc65f48f375ff4939b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3295934365357652762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204883505,"filename":"image_14082025_13_50_29_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137703","file1":"1377137701","file0":"1377137700","file4":"1377137709","file5":"1377137712","file3":"1377137706"},"map_files_photo_id_array":[{"photo_id":"1377137712","filename":"file5"},{"photo_id":"1377137703","filename":"file2"},{"photo_id":"1377137709","filename":"file4"},{"photo_id":"1377137701","filename":"file1"},{"photo_id":"1377137700","filename":"file0"},{"photo_id":"1377137706","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137701":["hashtag1","hashtag2"]},{"1377137712":["hashtag1","hashtag2"]},{"1377137706":["hashtag1","hashtag2"]},{"1377137709":["hashtag1","hashtag2"]},{"1377137700":["hashtag1","hashtag2"]},{"1377137703":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137701, 1377137712, 1377137706, 1377137709, 1377137700, 1377137703)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.5978741645813 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:54:42.638831 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/51/image_14082025_13_51_09_10404.jpg', '/media/data/images/14082025/13/51/image_14082025_13_51_18_9199.jpg', '/media/data/images/14082025/13/51/image_14082025_13_51_29_10347.jpg', '/media/data/images/14082025/13/51/image_14082025_13_51_39_10371.jpg', '/media/data/images/14082025/13/51/image_14082025_13_51_48_9164.jpg', '/media/data/images/14082025/13/51/image_14082025_13_51_58_10288.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/51/image_14082025_13_51_09_10404.jpg /media/data/images/14082025/13/51/image_14082025_13_51_18_9199.jpg /media/data/images/14082025/13/51/image_14082025_13_51_29_10347.jpg /media/data/images/14082025/13/51/image_14082025_13_51_39_10371.jpg /media/data/images/14082025/13/51/image_14082025_13_51_48_9164.jpg /media/data/images/14082025/13/51/image_14082025_13_51_58_10288.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137738","1377137725","1377137742","1377137736","1377137727","1377137729"],"photo_ids_order":["1377137725","1377137727","1377137729","1377137736","1377137738","1377137742"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c79d837368c7cf2c0212f56517ef1ae.jpg","text":"TemporaryFile(/tmp/multipartBody606645340714305835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204943629,"filename":"image_14082025_13_51_48_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eaeed287f83f52426e0f214bf24f4035.jpg","text":"TemporaryFile(/tmp/multipartBody1708174870456799506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204943629,"filename":"image_14082025_13_51_09_10404.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57ec2c1617f5955854fee73da71e98f1.jpg","text":"TemporaryFile(/tmp/multipartBody7781482196351230204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204943629,"filename":"image_14082025_13_51_58_10288.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11bfc6cac4676eed01438a65a4778d98.jpg","text":"TemporaryFile(/tmp/multipartBody2275004214155385253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204943629,"filename":"image_14082025_13_51_39_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96eeec0a97bf65e3e59b8f58d96d2a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2040004757924864395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204943629,"filename":"image_14082025_13_51_18_9199.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af4d2ca6f871bd7b4d86b70c12c8d9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6130189897830228880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755204943629,"filename":"image_14082025_13_51_29_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137729","file1":"1377137727","file0":"1377137725","file4":"1377137738","file5":"1377137742","file3":"1377137736"},"map_files_photo_id_array":[{"photo_id":"1377137742","filename":"file5"},{"photo_id":"1377137729","filename":"file2"},{"photo_id":"1377137738","filename":"file4"},{"photo_id":"1377137727","filename":"file1"},{"photo_id":"1377137725","filename":"file0"},{"photo_id":"1377137736","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137738":["hashtag1","hashtag2"]},{"1377137725":["hashtag1","hashtag2"]},{"1377137742":["hashtag1","hashtag2"]},{"1377137736":["hashtag1","hashtag2"]},{"1377137727":["hashtag1","hashtag2"]},{"1377137729":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137738, 1377137725, 1377137742, 1377137736, 1377137727, 1377137729)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.05011057853699 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:55:42.746274 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/52/image_14082025_13_52_09_10442.jpg', '/media/data/images/14082025/13/52/image_14082025_13_52_18_9138.jpg', '/media/data/images/14082025/13/52/image_14082025_13_52_28_10287.jpg', '/media/data/images/14082025/13/52/image_14082025_13_52_39_10388.jpg', '/media/data/images/14082025/13/52/image_14082025_13_52_49_10377.jpg', '/media/data/images/14082025/13/52/image_14082025_13_52_58_9065.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/52/image_14082025_13_52_09_10442.jpg /media/data/images/14082025/13/52/image_14082025_13_52_18_9138.jpg /media/data/images/14082025/13/52/image_14082025_13_52_28_10287.jpg /media/data/images/14082025/13/52/image_14082025_13_52_39_10388.jpg /media/data/images/14082025/13/52/image_14082025_13_52_49_10377.jpg /media/data/images/14082025/13/52/image_14082025_13_52_58_9065.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137764","1377137758","1377137773","1377137767","1377137769","1377137760"],"photo_ids_order":["1377137758","1377137760","1377137764","1377137767","1377137769","1377137773"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/617d50fe58ddd5095bd7bac21ea1a498.jpg","text":"TemporaryFile(/tmp/multipartBody4545622138777927289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205003755,"filename":"image_14082025_13_52_28_10287.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c72fc016b9990de01d55c46fb0b0fe0.jpg","text":"TemporaryFile(/tmp/multipartBody7855726799110335473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205003755,"filename":"image_14082025_13_52_09_10442.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/64f97b738d1536bf3b13214da1a6720e.jpg","text":"TemporaryFile(/tmp/multipartBody2966653334262543593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205003755,"filename":"image_14082025_13_52_58_9065.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa500af429a5ab8635471254c507e013.jpg","text":"TemporaryFile(/tmp/multipartBody4233580659574920623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205003755,"filename":"image_14082025_13_52_39_10388.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c0b1f864e69680428dd2939f8537305.jpg","text":"TemporaryFile(/tmp/multipartBody1777131744738309709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205003755,"filename":"image_14082025_13_52_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc7cc6bc53617dc379145d52435b8947.jpg","text":"TemporaryFile(/tmp/multipartBody6744171191250988763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205003755,"filename":"image_14082025_13_52_18_9138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137764","file1":"1377137760","file0":"1377137758","file4":"1377137769","file5":"1377137773","file3":"1377137767"},"map_files_photo_id_array":[{"photo_id":"1377137773","filename":"file5"},{"photo_id":"1377137764","filename":"file2"},{"photo_id":"1377137769","filename":"file4"},{"photo_id":"1377137760","filename":"file1"},{"photo_id":"1377137758","filename":"file0"},{"photo_id":"1377137767","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137764":["hashtag1","hashtag2"]},{"1377137758":["hashtag1","hashtag2"]},{"1377137773":["hashtag1","hashtag2"]},{"1377137767":["hashtag1","hashtag2"]},{"1377137769":["hashtag1","hashtag2"]},{"1377137760":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137764, 1377137758, 1377137773, 1377137767, 1377137769, 1377137760)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.521564245224 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:56:41.916916 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/52/image_14082025_13_53_09_10600.jpg', '/media/data/images/14082025/13/53/image_14082025_13_53_19_10303.jpg', '/media/data/images/14082025/13/53/image_14082025_13_53_28_9135.jpg', '/media/data/images/14082025/13/53/image_14082025_13_53_38_10309.jpg', '/media/data/images/14082025/13/53/image_14082025_13_53_49_10432.jpg', '/media/data/images/14082025/13/53/image_14082025_13_53_58_9122.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/52/image_14082025_13_53_09_10600.jpg /media/data/images/14082025/13/53/image_14082025_13_53_19_10303.jpg /media/data/images/14082025/13/53/image_14082025_13_53_28_9135.jpg /media/data/images/14082025/13/53/image_14082025_13_53_38_10309.jpg /media/data/images/14082025/13/53/image_14082025_13_53_49_10432.jpg /media/data/images/14082025/13/53/image_14082025_13_53_58_9122.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377137788","1377137785","1377137787","1377137781","1377137783","1377137792"],"photo_ids_order":["1377137781","1377137783","1377137785","1377137787","1377137788","1377137792"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/374aaac865aad07e35ee47468caabca5.jpg","text":"TemporaryFile(/tmp/multipartBody5024253710964588027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205062913,"filename":"image_14082025_13_53_49_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d4eeb868c83faa13fe34f6d87c2b246.jpg","text":"TemporaryFile(/tmp/multipartBody4037715125031351396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205062913,"filename":"image_14082025_13_53_28_9135.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/656ebc5d93d136f06d27c8db14f359e5.jpg","text":"TemporaryFile(/tmp/multipartBody280290196404142878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205062913,"filename":"image_14082025_13_53_38_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fa38c26b6ae52dc6f64eed2bde4a157a.jpg","text":"TemporaryFile(/tmp/multipartBody8142645923821960333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205062913,"filename":"image_14082025_13_53_09_10600.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fb8b4a4928dab9a4b3955d0b3f7aede9.jpg","text":"TemporaryFile(/tmp/multipartBody2990411966754520331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205062913,"filename":"image_14082025_13_53_19_10303.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/add8bc41008c7a9733d57f29279c3339.jpg","text":"TemporaryFile(/tmp/multipartBody7581025328641947080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205062913,"filename":"image_14082025_13_53_58_9122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137785","file1":"1377137783","file0":"1377137781","file4":"1377137788","file5":"1377137792","file3":"1377137787"},"map_files_photo_id_array":[{"photo_id":"1377137792","filename":"file5"},{"photo_id":"1377137785","filename":"file2"},{"photo_id":"1377137788","filename":"file4"},{"photo_id":"1377137783","filename":"file1"},{"photo_id":"1377137781","filename":"file0"},{"photo_id":"1377137787","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137788":["hashtag1","hashtag2"]},{"1377137785":["hashtag1","hashtag2"]},{"1377137787":["hashtag1","hashtag2"]},{"1377137781":["hashtag1","hashtag2"]},{"1377137783":["hashtag1","hashtag2"]},{"1377137792":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137788, 1377137785, 1377137787, 1377137781, 1377137783, 1377137792)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 47.76013541221619 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:57:42.119235 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/53/image_14082025_13_54_08_10424.jpg', '/media/data/images/14082025/13/54/image_14082025_13_54_19_10382.jpg', '/media/data/images/14082025/13/54/image_14082025_13_54_28_9064.jpg', '/media/data/images/14082025/13/54/image_14082025_13_54_38_10409.jpg', '/media/data/images/14082025/13/54/image_14082025_13_54_49_10329.jpg', '/media/data/images/14082025/13/54/image_14082025_13_54_59_10280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/53/image_14082025_13_54_08_10424.jpg /media/data/images/14082025/13/54/image_14082025_13_54_19_10382.jpg /media/data/images/14082025/13/54/image_14082025_13_54_28_9064.jpg /media/data/images/14082025/13/54/image_14082025_13_54_38_10409.jpg /media/data/images/14082025/13/54/image_14082025_13_54_49_10329.jpg /media/data/images/14082025/13/54/image_14082025_13_54_59_10280.jpg after data_to_send, before sending request after request b'{"photo_ids":["1377137801","1377138025","1377137899","1377137985","1377137940","1377137852"],"photo_ids_order":["1377137801","1377137852","1377137899","1377137940","1377137985","1377138025"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50d21b5cf017edeed81f6404e8873e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2585672535765759335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205123113,"filename":"image_14082025_13_54_08_10424.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f6e474c0351b9a24fc616d72cf9dccb2.jpg","text":"TemporaryFile(/tmp/multipartBody7178424060480624978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205123113,"filename":"image_14082025_13_54_59_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dde5004babb8e4b4b2493e7fbabb1616.jpg","text":"TemporaryFile(/tmp/multipartBody1754233094613716959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205123113,"filename":"image_14082025_13_54_28_9064.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/587dfe9d4ab6ec7006830f18b8ac62b0.jpg","text":"TemporaryFile(/tmp/multipartBody7432485817819865442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205123113,"filename":"image_14082025_13_54_49_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e191073dc5bcc9c7b21c2807114fe32e.jpg","text":"TemporaryFile(/tmp/multipartBody6224300914148330772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205123113,"filename":"image_14082025_13_54_38_10409.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5a7fd17b944dce3d0789e61a6e4ae63.jpg","text":"TemporaryFile(/tmp/multipartBody3607512813568338748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205123113,"filename":"image_14082025_13_54_19_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377137899","file1":"1377137852","file0":"1377137801","file4":"1377137985","file5":"1377138025","file3":"1377137940"},"map_files_photo_id_array":[{"photo_id":"1377138025","filename":"file5"},{"photo_id":"1377137899","filename":"file2"},{"photo_id":"1377137985","filename":"file4"},{"photo_id":"1377137852","filename":"file1"},{"photo_id":"1377137801","filename":"file0"},{"photo_id":"1377137940","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377137801":["hashtag1","hashtag2"]},{"1377138025":["hashtag1","hashtag2"]},{"1377137899":["hashtag1","hashtag2"]},{"1377137985":["hashtag1","hashtag2"]},{"1377137940":["hashtag1","hashtag2"]},{"1377137852":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377137801, 1377138025, 1377137899, 1377137985, 1377137940, 1377137852)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 52.319615602493286 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 22:59:02.874857 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/55/image_14082025_13_55_08_9215.jpg', '/media/data/images/14082025/13/55/image_14082025_13_55_18_10274.jpg', '/media/data/images/14082025/13/55/image_14082025_13_55_29_10349.jpg', '/media/data/images/14082025/13/55/image_14082025_13_55_39_10275.jpg', '/media/data/images/14082025/13/55/image_14082025_13_55_48_9161.jpg', '/media/data/images/14082025/13/55/image_14082025_13_55_58_10342.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/55/image_14082025_13_55_08_9215.jpg /media/data/images/14082025/13/55/image_14082025_13_55_18_10274.jpg /media/data/images/14082025/13/55/image_14082025_13_55_29_10349.jpg /media/data/images/14082025/13/55/image_14082025_13_55_39_10275.jpg /media/data/images/14082025/13/55/image_14082025_13_55_48_9161.jpg /media/data/images/14082025/13/55/image_14082025_13_55_58_10342.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377138385","1377138511","1377138588","1377138621","1377138455","1377138422"],"photo_ids_order":["1377138385","1377138422","1377138455","1377138511","1377138588","1377138621"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5bada4ac6840fab5daaf65f2b150897a.jpg","text":"TemporaryFile(/tmp/multipartBody6079590248998854591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205203969,"filename":"image_14082025_13_55_08_9215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7aa720656632db36cc7b41cca1890d45.jpg","text":"TemporaryFile(/tmp/multipartBody3092421849501169940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205203969,"filename":"image_14082025_13_55_39_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a53d989494372b9fa7b1a123202d4c18.jpg","text":"TemporaryFile(/tmp/multipartBody7275625416292667343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205203969,"filename":"image_14082025_13_55_48_9161.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/027b51dec9a164c72f752de3247554f1.jpg","text":"TemporaryFile(/tmp/multipartBody7444018134607666378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205203969,"filename":"image_14082025_13_55_58_10342.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f4783feaea8be5a673cec5a6b9981b7.jpg","text":"TemporaryFile(/tmp/multipartBody449654161530331813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205203969,"filename":"image_14082025_13_55_29_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d4a93c275483f5f15984fa77914602ae.jpg","text":"TemporaryFile(/tmp/multipartBody2777224491056440724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205203969,"filename":"image_14082025_13_55_18_10274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377138455","file1":"1377138422","file0":"1377138385","file4":"1377138588","file5":"1377138621","file3":"1377138511"},"map_files_photo_id_array":[{"photo_id":"1377138621","filename":"file5"},{"photo_id":"1377138455","filename":"file2"},{"photo_id":"1377138588","filename":"file4"},{"photo_id":"1377138422","filename":"file1"},{"photo_id":"1377138385","filename":"file0"},{"photo_id":"1377138511","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377138385":["hashtag1","hashtag2"]},{"1377138511":["hashtag1","hashtag2"]},{"1377138588":["hashtag1","hashtag2"]},{"1377138621":["hashtag1","hashtag2"]},{"1377138455":["hashtag1","hashtag2"]},{"1377138422":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377138385, 1377138511, 1377138588, 1377138621, 1377138455, 1377138422)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.68229007720947 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:00:02.905039 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/56/image_14082025_13_56_09_10232.jpg', '/media/data/images/14082025/13/56/image_14082025_13_56_19_10291.jpg', '/media/data/images/14082025/13/56/image_14082025_13_56_28_9260.jpg', '/media/data/images/14082025/13/56/image_14082025_13_56_38_10227.jpg', '/media/data/images/14082025/13/56/image_14082025_13_56_49_10204.jpg', '/media/data/images/14082025/13/56/image_14082025_13_56_59_10213.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/56/image_14082025_13_56_09_10232.jpg /media/data/images/14082025/13/56/image_14082025_13_56_19_10291.jpg /media/data/images/14082025/13/56/image_14082025_13_56_28_9260.jpg /media/data/images/14082025/13/56/image_14082025_13_56_38_10227.jpg /media/data/images/14082025/13/56/image_14082025_13_56_49_10204.jpg /media/data/images/14082025/13/56/image_14082025_13_56_59_10213.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377139104","1377138837","1377138923","1377139054","1377138985","1377138871"],"photo_ids_order":["1377138837","1377138871","1377138923","1377138985","1377139054","1377139104"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/665ed8a61aed9a82166f468e002dcb09.jpg","text":"TemporaryFile(/tmp/multipartBody6465883065008624641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205263985,"filename":"image_14082025_13_56_59_10213.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f7914f18291443aee35abc5e1df06da2.jpg","text":"TemporaryFile(/tmp/multipartBody7775482930311561656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205263985,"filename":"image_14082025_13_56_09_10232.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f1bcf5a8713085f7545546942e793a38.jpg","text":"TemporaryFile(/tmp/multipartBody1363491611445745563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205263985,"filename":"image_14082025_13_56_28_9260.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/46bceb03c27b4fe7b6666161eb4ff553.jpg","text":"TemporaryFile(/tmp/multipartBody7389914647738618369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205263985,"filename":"image_14082025_13_56_49_10204.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5db0d510f46b59848d340ea2cbb3631f.jpg","text":"TemporaryFile(/tmp/multipartBody5931217108302472902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205263985,"filename":"image_14082025_13_56_38_10227.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95a9ef5ec529bcbb9c1addcda4a61bff.jpg","text":"TemporaryFile(/tmp/multipartBody6539487288845572695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205263985,"filename":"image_14082025_13_56_19_10291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377138923","file1":"1377138871","file0":"1377138837","file4":"1377139054","file5":"1377139104","file3":"1377138985"},"map_files_photo_id_array":[{"photo_id":"1377139104","filename":"file5"},{"photo_id":"1377138923","filename":"file2"},{"photo_id":"1377139054","filename":"file4"},{"photo_id":"1377138871","filename":"file1"},{"photo_id":"1377138837","filename":"file0"},{"photo_id":"1377138985","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377139104":["hashtag1","hashtag2"]},{"1377138837":["hashtag1","hashtag2"]},{"1377138923":["hashtag1","hashtag2"]},{"1377139054":["hashtag1","hashtag2"]},{"1377138985":["hashtag1","hashtag2"]},{"1377138871":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377139104, 1377138837, 1377138923, 1377139054, 1377138985, 1377138871)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.00249457359314 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:01:03.297782 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/57/image_14082025_13_57_08_9053.jpg', '/media/data/images/14082025/13/57/image_14082025_13_57_38_9205.jpg', '/media/data/images/14082025/13/57/image_14082025_13_57_48_10223.jpg', '/media/data/images/14082025/13/57/image_14082025_13_57_58_10250.jpg', '/media/data/images/14082025/13/58/image_14082025_13_58_19_10275.jpg', '/media/data/images/14082025/13/58/image_14082025_13_58_28_9061.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/57/image_14082025_13_57_08_9053.jpg /media/data/images/14082025/13/57/image_14082025_13_57_38_9205.jpg /media/data/images/14082025/13/57/image_14082025_13_57_48_10223.jpg /media/data/images/14082025/13/57/image_14082025_13_57_58_10250.jpg /media/data/images/14082025/13/58/image_14082025_13_58_19_10275.jpg /media/data/images/14082025/13/58/image_14082025_13_58_28_9061.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377139501","1377139452","1377139536","1377139375","1377139417","1377139330"],"photo_ids_order":["1377139330","1377139375","1377139417","1377139452","1377139501","1377139536"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7d8989341dd554471aa8535e320ac1c.jpg","text":"TemporaryFile(/tmp/multipartBody516030034189935266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205324389,"filename":"image_14082025_13_58_19_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f55fb202ba2f2a6be13e3b413b76ce92.jpg","text":"TemporaryFile(/tmp/multipartBody4026867197150612583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205324389,"filename":"image_14082025_13_57_58_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/af140a6f7be0619bb5eb777fc2abbdb0.jpg","text":"TemporaryFile(/tmp/multipartBody2635264110910997642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205324389,"filename":"image_14082025_13_58_28_9061.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14338853da2832394f91a67484acc9fd.jpg","text":"TemporaryFile(/tmp/multipartBody6587108307427973800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205324389,"filename":"image_14082025_13_57_38_9205.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ee34a99faf0072e3e25306ef21d60e5.jpg","text":"TemporaryFile(/tmp/multipartBody4842277879838502652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205324389,"filename":"image_14082025_13_57_48_10223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0bbcba7acafba72ec17d433b641a849f.jpg","text":"TemporaryFile(/tmp/multipartBody8441759758262443561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205324389,"filename":"image_14082025_13_57_08_9053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377139417","file1":"1377139375","file0":"1377139330","file4":"1377139501","file5":"1377139536","file3":"1377139452"},"map_files_photo_id_array":[{"photo_id":"1377139536","filename":"file5"},{"photo_id":"1377139417","filename":"file2"},{"photo_id":"1377139501","filename":"file4"},{"photo_id":"1377139375","filename":"file1"},{"photo_id":"1377139330","filename":"file0"},{"photo_id":"1377139452","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377139501":["hashtag1","hashtag2"]},{"1377139452":["hashtag1","hashtag2"]},{"1377139536":["hashtag1","hashtag2"]},{"1377139375":["hashtag1","hashtag2"]},{"1377139417":["hashtag1","hashtag2"]},{"1377139330":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377139501, 1377139452, 1377139536, 1377139375, 1377139417, 1377139330)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.75752282142639 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:02:02.909163 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/58/image_14082025_13_58_38_10206.jpg', '/media/data/images/14082025/13/58/image_14082025_13_58_48_10326.jpg', '/media/data/images/14082025/13/59/image_14082025_13_59_09_10056.jpg', '/media/data/images/14082025/13/59/image_14082025_13_59_19_10221.jpg', '/media/data/images/14082025/13/59/image_14082025_13_59_28_9015.jpg', '/media/data/images/14082025/13/59/image_14082025_13_59_48_10244.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/58/image_14082025_13_58_38_10206.jpg /media/data/images/14082025/13/58/image_14082025_13_58_48_10326.jpg /media/data/images/14082025/13/59/image_14082025_13_59_09_10056.jpg /media/data/images/14082025/13/59/image_14082025_13_59_19_10221.jpg /media/data/images/14082025/13/59/image_14082025_13_59_28_9015.jpg /media/data/images/14082025/13/59/image_14082025_13_59_48_10244.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377140269","1377140653","1377140407","1377140556","1377140060","1377140162"],"photo_ids_order":["1377140060","1377140162","1377140269","1377140407","1377140556","1377140653"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0916f197b799adc3e0bbd595bbec48ec.jpg","text":"TemporaryFile(/tmp/multipartBody6004982234642231241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205385503,"filename":"image_14082025_13_59_09_10056.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4682e4b636ebf653ab9c6ed855c2c73d.jpg","text":"TemporaryFile(/tmp/multipartBody4995269565885857704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205385503,"filename":"image_14082025_13_59_48_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73f95ca6e045167e527c5983878841de.jpg","text":"TemporaryFile(/tmp/multipartBody8441268453093886866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205385503,"filename":"image_14082025_13_59_19_10221.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/80cadace1507babab16b685519dee16e.jpg","text":"TemporaryFile(/tmp/multipartBody8159504635249574861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205385503,"filename":"image_14082025_13_59_28_9015.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed0968eebb0f18f9ff0f0d3a5b4e3d31.jpg","text":"TemporaryFile(/tmp/multipartBody6431078393589549930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205385503,"filename":"image_14082025_13_58_38_10206.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/047ae795aa8f09cfdf5109ff8a33110f.jpg","text":"TemporaryFile(/tmp/multipartBody4697632293546173360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205385503,"filename":"image_14082025_13_58_48_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377140269","file1":"1377140162","file0":"1377140060","file4":"1377140556","file5":"1377140653","file3":"1377140407"},"map_files_photo_id_array":[{"photo_id":"1377140653","filename":"file5"},{"photo_id":"1377140269","filename":"file2"},{"photo_id":"1377140556","filename":"file4"},{"photo_id":"1377140162","filename":"file1"},{"photo_id":"1377140060","filename":"file0"},{"photo_id":"1377140407","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377140269":["hashtag1","hashtag2"]},{"1377140653":["hashtag1","hashtag2"]},{"1377140407":["hashtag1","hashtag2"]},{"1377140556":["hashtag1","hashtag2"]},{"1377140060":["hashtag1","hashtag2"]},{"1377140162":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377140269, 1377140653, 1377140407, 1377140556, 1377140060, 1377140162)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.444252014160156 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:03:03.352536 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/13/59/image_14082025_13_59_59_10238.jpg', '/media/data/images/14082025/14/00/image_14082025_14_00_08_9239.jpg', '/media/data/images/14082025/14/00/image_14082025_14_00_28_10270.jpg', '/media/data/images/14082025/14/00/image_14082025_14_00_39_10468.jpg', '/media/data/images/14082025/14/00/image_14082025_14_00_48_9211.jpg', '/media/data/images/14082025/14/00/image_14082025_14_00_59_10412.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/13/59/image_14082025_13_59_59_10238.jpg /media/data/images/14082025/14/00/image_14082025_14_00_08_9239.jpg /media/data/images/14082025/14/00/image_14082025_14_00_28_10270.jpg /media/data/images/14082025/14/00/image_14082025_14_00_39_10468.jpg /media/data/images/14082025/14/00/image_14082025_14_00_48_9211.jpg /media/data/images/14082025/14/00/image_14082025_14_00_59_10412.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377141327","1377141392","1377141260","1377141457","1377141094","1377141175"],"photo_ids_order":["1377141094","1377141175","1377141260","1377141327","1377141392","1377141457"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5f848856b8bb05e8cc02a579070aaf2a.jpg","text":"TemporaryFile(/tmp/multipartBody6313385558243372879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205444354,"filename":"image_14082025_14_00_39_10468.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7c229af6c1f51dfab4b9b28e1518d066.jpg","text":"TemporaryFile(/tmp/multipartBody8196324953906747881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205444354,"filename":"image_14082025_14_00_48_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ffdbaf2436fa05456534e9afdf829e8.jpg","text":"TemporaryFile(/tmp/multipartBody8299857031391828282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205444354,"filename":"image_14082025_14_00_28_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2b97b6e697c1377aa592ff875dc044e6.jpg","text":"TemporaryFile(/tmp/multipartBody24296608477379114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205444354,"filename":"image_14082025_14_00_59_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd6e4bc417ce34613be382d3e20747fc.jpg","text":"TemporaryFile(/tmp/multipartBody5986846037235177569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205444354,"filename":"image_14082025_13_59_59_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b668a6b82c8b6aa14fbc968f16b09a63.jpg","text":"TemporaryFile(/tmp/multipartBody7069072692715514335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205444354,"filename":"image_14082025_14_00_08_9239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377141260","file1":"1377141175","file0":"1377141094","file4":"1377141392","file5":"1377141457","file3":"1377141327"},"map_files_photo_id_array":[{"photo_id":"1377141457","filename":"file5"},{"photo_id":"1377141260","filename":"file2"},{"photo_id":"1377141392","filename":"file4"},{"photo_id":"1377141175","filename":"file1"},{"photo_id":"1377141094","filename":"file0"},{"photo_id":"1377141327","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377141327":["hashtag1","hashtag2"]},{"1377141392":["hashtag1","hashtag2"]},{"1377141260":["hashtag1","hashtag2"]},{"1377141457":["hashtag1","hashtag2"]},{"1377141094":["hashtag1","hashtag2"]},{"1377141175":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377141327, 1377141392, 1377141260, 1377141457, 1377141094, 1377141175)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.12468719482422 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:04:03.345256 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/01/image_14082025_14_01_09_10203.jpg', '/media/data/images/14082025/14/01/image_14082025_14_01_18_9317.jpg', '/media/data/images/14082025/14/01/image_14082025_14_01_29_10421.jpg', '/media/data/images/14082025/14/01/image_14082025_14_01_39_10406.jpg', '/media/data/images/14082025/14/01/image_14082025_14_01_48_9078.jpg', '/media/data/images/14082025/14/01/image_14082025_14_01_58_10421.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/01/image_14082025_14_01_09_10203.jpg /media/data/images/14082025/14/01/image_14082025_14_01_18_9317.jpg /media/data/images/14082025/14/01/image_14082025_14_01_29_10421.jpg /media/data/images/14082025/14/01/image_14082025_14_01_39_10406.jpg /media/data/images/14082025/14/01/image_14082025_14_01_48_9078.jpg /media/data/images/14082025/14/01/image_14082025_14_01_58_10421.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377142164","1377141885","1377142232","1377142081","1377142016","1377141949"],"photo_ids_order":["1377141885","1377141949","1377142016","1377142081","1377142164","1377142232"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/372e6340698c8121a102fe6d63498102.jpg","text":"TemporaryFile(/tmp/multipartBody134611325528654480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205504347,"filename":"image_14082025_14_01_48_9078.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0fd92b7a9cc50ee3f321094bddc0d14d.jpg","text":"TemporaryFile(/tmp/multipartBody1728133587984976281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205504347,"filename":"image_14082025_14_01_09_10203.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b6269b4c15274ad9d18bd3e970cb0591.jpg","text":"TemporaryFile(/tmp/multipartBody543772356521730431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205504347,"filename":"image_14082025_14_01_58_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1c2ac1e501e37aa2662510e8c2613feb.jpg","text":"TemporaryFile(/tmp/multipartBody1339674092235526229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205504347,"filename":"image_14082025_14_01_39_10406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9626b9f189a551bd957acdde01f580e9.jpg","text":"TemporaryFile(/tmp/multipartBody742213264647930865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205504347,"filename":"image_14082025_14_01_29_10421.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f394afb10455f3543e46c3258ed8a8ff.jpg","text":"TemporaryFile(/tmp/multipartBody4214900949993555711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205504347,"filename":"image_14082025_14_01_18_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377142016","file1":"1377141949","file0":"1377141885","file4":"1377142164","file5":"1377142232","file3":"1377142081"},"map_files_photo_id_array":[{"photo_id":"1377142232","filename":"file5"},{"photo_id":"1377142016","filename":"file2"},{"photo_id":"1377142164","filename":"file4"},{"photo_id":"1377141949","filename":"file1"},{"photo_id":"1377141885","filename":"file0"},{"photo_id":"1377142081","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377142164":["hashtag1","hashtag2"]},{"1377141885":["hashtag1","hashtag2"]},{"1377142232":["hashtag1","hashtag2"]},{"1377142081":["hashtag1","hashtag2"]},{"1377142016":["hashtag1","hashtag2"]},{"1377141949":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377142164, 1377141885, 1377142232, 1377142081, 1377142016, 1377141949)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.17454147338867 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:05:03.672839 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/02/image_14082025_14_02_09_10447.jpg', '/media/data/images/14082025/14/02/image_14082025_14_02_18_9090.jpg', '/media/data/images/14082025/14/02/image_14082025_14_02_28_10310.jpg', '/media/data/images/14082025/14/02/image_14082025_14_02_39_10402.jpg', '/media/data/images/14082025/14/02/image_14082025_14_02_49_10323.jpg', '/media/data/images/14082025/14/02/image_14082025_14_02_58_9074.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/02/image_14082025_14_02_09_10447.jpg /media/data/images/14082025/14/02/image_14082025_14_02_18_9090.jpg /media/data/images/14082025/14/02/image_14082025_14_02_28_10310.jpg /media/data/images/14082025/14/02/image_14082025_14_02_39_10402.jpg /media/data/images/14082025/14/02/image_14082025_14_02_49_10323.jpg /media/data/images/14082025/14/02/image_14082025_14_02_58_9074.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377142656","1377142802","1377142517","1377142604","1377142552","1377142723"],"photo_ids_order":["1377142517","1377142552","1377142604","1377142656","1377142723","1377142802"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9dec844b44c89e9c06effe281fe56370.jpg","text":"TemporaryFile(/tmp/multipartBody3240836324560763612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205564690,"filename":"image_14082025_14_02_39_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7890ab121a36cd2710f2908bcae85129.jpg","text":"TemporaryFile(/tmp/multipartBody3548866549219098034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205564690,"filename":"image_14082025_14_02_58_9074.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dd8b769ea62d97d0b65d479c4817264.jpg","text":"TemporaryFile(/tmp/multipartBody5113687410039813664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205564690,"filename":"image_14082025_14_02_09_10447.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/abfc33c304bbcb72d0f799628220eec1.jpg","text":"TemporaryFile(/tmp/multipartBody5334127127406519012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205564690,"filename":"image_14082025_14_02_28_10310.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f54d81bfb5d6dd030e0d7c0b65f88d9.jpg","text":"TemporaryFile(/tmp/multipartBody142578685773792757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205564690,"filename":"image_14082025_14_02_18_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a7248b7ee84cb617e3633ee9b4168cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1015581262048750967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205564690,"filename":"image_14082025_14_02_49_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377142604","file1":"1377142552","file0":"1377142517","file4":"1377142723","file5":"1377142802","file3":"1377142656"},"map_files_photo_id_array":[{"photo_id":"1377142802","filename":"file5"},{"photo_id":"1377142604","filename":"file2"},{"photo_id":"1377142723","filename":"file4"},{"photo_id":"1377142552","filename":"file1"},{"photo_id":"1377142517","filename":"file0"},{"photo_id":"1377142656","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377142656":["hashtag1","hashtag2"]},{"1377142802":["hashtag1","hashtag2"]},{"1377142517":["hashtag1","hashtag2"]},{"1377142604":["hashtag1","hashtag2"]},{"1377142552":["hashtag1","hashtag2"]},{"1377142723":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377142656, 1377142802, 1377142517, 1377142604, 1377142552, 1377142723)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.704100370407104 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:06:02.489774 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/03/image_14082025_14_03_08_10405.jpg', '/media/data/images/14082025/14/03/image_14082025_14_03_19_10383.jpg', '/media/data/images/14082025/14/03/image_14082025_14_03_28_9183.jpg', '/media/data/images/14082025/14/03/image_14082025_14_03_38_10327.jpg', '/media/data/images/14082025/14/03/image_14082025_14_03_49_10318.jpg', '/media/data/images/14082025/14/03/image_14082025_14_03_59_10318.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/03/image_14082025_14_03_08_10405.jpg /media/data/images/14082025/14/03/image_14082025_14_03_19_10383.jpg /media/data/images/14082025/14/03/image_14082025_14_03_28_9183.jpg /media/data/images/14082025/14/03/image_14082025_14_03_38_10327.jpg /media/data/images/14082025/14/03/image_14082025_14_03_49_10318.jpg /media/data/images/14082025/14/03/image_14082025_14_03_59_10318.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377143150","1377143237","1377143185","1377143269","1377143259","1377143274"],"photo_ids_order":["1377143150","1377143185","1377143237","1377143259","1377143269","1377143274"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/967d1c8aa95b624235bae8018d2d12a5.jpg","text":"TemporaryFile(/tmp/multipartBody4047427802374163752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205623491,"filename":"image_14082025_14_03_08_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/40e88e8fcb9b850cf256ad6754cc66f6.jpg","text":"TemporaryFile(/tmp/multipartBody5909503563336762003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205623491,"filename":"image_14082025_14_03_28_9183.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/11e12b7d730985811004590dbaca9a27.jpg","text":"TemporaryFile(/tmp/multipartBody3373334200768220070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205623491,"filename":"image_14082025_14_03_19_10383.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73e8f86f87ed5ae439efb38b3457da8c.jpg","text":"TemporaryFile(/tmp/multipartBody5067319604803419605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205623491,"filename":"image_14082025_14_03_49_10318.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14d466a08f325fd9f56b46399c827029.jpg","text":"TemporaryFile(/tmp/multipartBody458876440794187198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205623491,"filename":"image_14082025_14_03_38_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47c226e281adc7b4ba9fe5edf6e30f51.jpg","text":"TemporaryFile(/tmp/multipartBody7792222412992144200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205623491,"filename":"image_14082025_14_03_59_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377143237","file1":"1377143185","file0":"1377143150","file4":"1377143269","file5":"1377143274","file3":"1377143259"},"map_files_photo_id_array":[{"photo_id":"1377143274","filename":"file5"},{"photo_id":"1377143237","filename":"file2"},{"photo_id":"1377143269","filename":"file4"},{"photo_id":"1377143185","filename":"file1"},{"photo_id":"1377143150","filename":"file0"},{"photo_id":"1377143259","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377143150":["hashtag1","hashtag2"]},{"1377143237":["hashtag1","hashtag2"]},{"1377143185":["hashtag1","hashtag2"]},{"1377143269":["hashtag1","hashtag2"]},{"1377143259":["hashtag1","hashtag2"]},{"1377143274":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377143150, 1377143237, 1377143185, 1377143269, 1377143259, 1377143274)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.19765591621399 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:07:02.884437 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/04/image_14082025_14_04_08_9157.jpg', '/media/data/images/14082025/14/04/image_14082025_14_04_18_10290.jpg', '/media/data/images/14082025/14/04/image_14082025_14_04_29_10253.jpg', '/media/data/images/14082025/14/04/image_14082025_14_04_38_9173.jpg', '/media/data/images/14082025/14/04/image_14082025_14_04_48_10343.jpg', '/media/data/images/14082025/14/04/image_14082025_14_04_58_10261.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/04/image_14082025_14_04_08_9157.jpg /media/data/images/14082025/14/04/image_14082025_14_04_18_10290.jpg /media/data/images/14082025/14/04/image_14082025_14_04_29_10253.jpg /media/data/images/14082025/14/04/image_14082025_14_04_38_9173.jpg /media/data/images/14082025/14/04/image_14082025_14_04_48_10343.jpg /media/data/images/14082025/14/04/image_14082025_14_04_58_10261.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377143325","1377143360","1377143462","1377143395","1377143496","1377143430"],"photo_ids_order":["1377143325","1377143360","1377143395","1377143430","1377143462","1377143496"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6e067e8a1a5dfc53fbdb9a3b400c74f.jpg","text":"TemporaryFile(/tmp/multipartBody1223896934086129468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205683983,"filename":"image_14082025_14_04_08_9157.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/eba2decdb5e82e8d2ad49cf27ca0c773.jpg","text":"TemporaryFile(/tmp/multipartBody200745363189459358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205683983,"filename":"image_14082025_14_04_18_10290.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ca0d63d918435ce85cad61c1fce268d9.jpg","text":"TemporaryFile(/tmp/multipartBody2793829522106918757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205683983,"filename":"image_14082025_14_04_48_10343.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6abdb29e088c9968dbaa2402ccf1dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody4983102865896445387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205683983,"filename":"image_14082025_14_04_29_10253.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa407144a5f4b386cb140ee619a45b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7000464193210280137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205683983,"filename":"image_14082025_14_04_58_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7ca5ee416ae70791a3806c56229a97eb.jpg","text":"TemporaryFile(/tmp/multipartBody2429387067049275400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205683983,"filename":"image_14082025_14_04_38_9173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377143395","file1":"1377143360","file0":"1377143325","file4":"1377143462","file5":"1377143496","file3":"1377143430"},"map_files_photo_id_array":[{"photo_id":"1377143496","filename":"file5"},{"photo_id":"1377143395","filename":"file2"},{"photo_id":"1377143462","filename":"file4"},{"photo_id":"1377143360","filename":"file1"},{"photo_id":"1377143325","filename":"file0"},{"photo_id":"1377143430","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377143325":["hashtag1","hashtag2"]},{"1377143360":["hashtag1","hashtag2"]},{"1377143462":["hashtag1","hashtag2"]},{"1377143395":["hashtag1","hashtag2"]},{"1377143496":["hashtag1","hashtag2"]},{"1377143430":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377143325, 1377143360, 1377143462, 1377143395, 1377143496, 1377143430)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.08654260635376 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:08:02.826587 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/05/image_14082025_14_05_08_9406.jpg', '/media/data/images/14082025/14/05/image_14082025_14_05_18_10259.jpg', '/media/data/images/14082025/14/05/image_14082025_14_05_28_10277.jpg', '/media/data/images/14082025/14/05/image_14082025_14_05_39_10250.jpg', '/media/data/images/14082025/14/05/image_14082025_14_05_49_10254.jpg', '/media/data/images/14082025/14/06/image_14082025_14_06_08_10247.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/05/image_14082025_14_05_08_9406.jpg /media/data/images/14082025/14/05/image_14082025_14_05_18_10259.jpg /media/data/images/14082025/14/05/image_14082025_14_05_28_10277.jpg /media/data/images/14082025/14/05/image_14082025_14_05_39_10250.jpg /media/data/images/14082025/14/05/image_14082025_14_05_49_10254.jpg /media/data/images/14082025/14/06/image_14082025_14_06_08_10247.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377143897","1377143864","1377143789","1377143825","1377143716","1377143754"],"photo_ids_order":["1377143716","1377143754","1377143789","1377143825","1377143864","1377143897"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b2806597c29985639e65e0c76b955c52.jpg","text":"TemporaryFile(/tmp/multipartBody8614922784004061956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205743923,"filename":"image_14082025_14_06_08_10247.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d058ecb0d33e81d86f40c9bda2cfb370.jpg","text":"TemporaryFile(/tmp/multipartBody5159535877897821306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205743923,"filename":"image_14082025_14_05_49_10254.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/70cccd4210becde92f6c67dd67a82b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3036564095885745176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205743923,"filename":"image_14082025_14_05_28_10277.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c5aba26e36e076e3c5de0ea1e5b238b.jpg","text":"TemporaryFile(/tmp/multipartBody8912516314190229983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205743923,"filename":"image_14082025_14_05_39_10250.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/37c2096061975d6483c3a5f58315e6b6.jpg","text":"TemporaryFile(/tmp/multipartBody3481749527764039250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205743923,"filename":"image_14082025_14_05_08_9406.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e89573e2df885c0d39259e3ee1d1888e.jpg","text":"TemporaryFile(/tmp/multipartBody5447131663004931979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205743923,"filename":"image_14082025_14_05_18_10259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377143789","file1":"1377143754","file0":"1377143716","file4":"1377143864","file5":"1377143897","file3":"1377143825"},"map_files_photo_id_array":[{"photo_id":"1377143897","filename":"file5"},{"photo_id":"1377143789","filename":"file2"},{"photo_id":"1377143864","filename":"file4"},{"photo_id":"1377143754","filename":"file1"},{"photo_id":"1377143716","filename":"file0"},{"photo_id":"1377143825","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377143897":["hashtag1","hashtag2"]},{"1377143864":["hashtag1","hashtag2"]},{"1377143789":["hashtag1","hashtag2"]},{"1377143825":["hashtag1","hashtag2"]},{"1377143716":["hashtag1","hashtag2"]},{"1377143754":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377143897, 1377143864, 1377143789, 1377143825, 1377143716, 1377143754)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.57824516296387 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:09:03.094449 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/06/image_14082025_14_06_19_10265.jpg', '/media/data/images/14082025/14/06/image_14082025_14_06_29_10432.jpg', '/media/data/images/14082025/14/06/image_14082025_14_06_38_9126.jpg', '/media/data/images/14082025/14/06/image_14082025_14_06_49_10380.jpg', '/media/data/images/14082025/14/07/image_14082025_14_07_18_9045.jpg', '/media/data/images/14082025/14/07/image_14082025_14_07_28_10253.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/06/image_14082025_14_06_19_10265.jpg /media/data/images/14082025/14/06/image_14082025_14_06_29_10432.jpg /media/data/images/14082025/14/06/image_14082025_14_06_38_9126.jpg /media/data/images/14082025/14/06/image_14082025_14_06_49_10380.jpg /media/data/images/14082025/14/07/image_14082025_14_07_18_9045.jpg /media/data/images/14082025/14/07/image_14082025_14_07_28_10253.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377144149","1377144140","1377144125","1377144094","1377144145","1377144153"],"photo_ids_order":["1377144094","1377144125","1377144140","1377144145","1377144149","1377144153"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e21a8041ed119596307a9384aefe2c88.jpg","text":"TemporaryFile(/tmp/multipartBody7944129118926170374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205804226,"filename":"image_14082025_14_07_18_9045.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b8e1a7dc4055d919b3b32011fb1ac77.jpg","text":"TemporaryFile(/tmp/multipartBody6700317861552426709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205804226,"filename":"image_14082025_14_06_38_9126.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f14a2a7bd4231d82e6efd37aebd9a938.jpg","text":"TemporaryFile(/tmp/multipartBody4063810413234055864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205804226,"filename":"image_14082025_14_06_29_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cd582dbdfcfd27eccbd9080dc83bc17b.jpg","text":"TemporaryFile(/tmp/multipartBody3494916100045125256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205804226,"filename":"image_14082025_14_06_19_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2ff8a7883253746359276b5e34e1f0a7.jpg","text":"TemporaryFile(/tmp/multipartBody1416031221502333692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205804226,"filename":"image_14082025_14_06_49_10380.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9e57d78b58454110a259341f32be210b.jpg","text":"TemporaryFile(/tmp/multipartBody73828004599627812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205804226,"filename":"image_14082025_14_07_28_10253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377144140","file1":"1377144125","file0":"1377144094","file4":"1377144149","file5":"1377144153","file3":"1377144145"},"map_files_photo_id_array":[{"photo_id":"1377144153","filename":"file5"},{"photo_id":"1377144140","filename":"file2"},{"photo_id":"1377144149","filename":"file4"},{"photo_id":"1377144125","filename":"file1"},{"photo_id":"1377144094","filename":"file0"},{"photo_id":"1377144145","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377144149":["hashtag1","hashtag2"]},{"1377144140":["hashtag1","hashtag2"]},{"1377144125":["hashtag1","hashtag2"]},{"1377144094":["hashtag1","hashtag2"]},{"1377144145":["hashtag1","hashtag2"]},{"1377144153":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377144149, 1377144140, 1377144125, 1377144094, 1377144145, 1377144153)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.85805702209473 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:10:03.042148 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/07/image_14082025_14_07_39_10268.jpg', '/media/data/images/14082025/14/07/image_14082025_14_07_49_10353.jpg', '/media/data/images/14082025/14/07/image_14082025_14_07_58_9022.jpg', '/media/data/images/14082025/14/07/image_14082025_14_08_09_10658.jpg', '/media/data/images/14082025/14/08/image_14082025_14_08_19_10393.jpg', '/media/data/images/14082025/14/08/image_14082025_14_08_28_9068.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/07/image_14082025_14_07_39_10268.jpg /media/data/images/14082025/14/07/image_14082025_14_07_49_10353.jpg /media/data/images/14082025/14/07/image_14082025_14_07_58_9022.jpg /media/data/images/14082025/14/07/image_14082025_14_08_09_10658.jpg /media/data/images/14082025/14/08/image_14082025_14_08_19_10393.jpg /media/data/images/14082025/14/08/image_14082025_14_08_28_9068.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377144248","1377144283","1377144187","1377144313","1377144216","1377144185"],"photo_ids_order":["1377144185","1377144187","1377144216","1377144248","1377144283","1377144313"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b637841f42ba145dc92f14c7f9e4ff8e.jpg","text":"TemporaryFile(/tmp/multipartBody9066739289183466595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205864094,"filename":"image_14082025_14_08_09_10658.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8d49f132fae977a385963e50da25607e.jpg","text":"TemporaryFile(/tmp/multipartBody3490808924798380054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205864094,"filename":"image_14082025_14_08_19_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cb000a72c9ea3e42848919f4c59b4156.jpg","text":"TemporaryFile(/tmp/multipartBody4172528293342096661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205864094,"filename":"image_14082025_14_07_49_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e6f45bcfd498e60f450e6caa33b571d.jpg","text":"TemporaryFile(/tmp/multipartBody3866625568631563371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205864094,"filename":"image_14082025_14_08_28_9068.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e8203acc53f4279ed80d09dc462b5bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4607695246583535312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205864094,"filename":"image_14082025_14_07_58_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/636ebf2ad166c7c897cdabe0896a3fff.jpg","text":"TemporaryFile(/tmp/multipartBody2092187377011662882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205864094,"filename":"image_14082025_14_07_39_10268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377144216","file1":"1377144187","file0":"1377144185","file4":"1377144283","file5":"1377144313","file3":"1377144248"},"map_files_photo_id_array":[{"photo_id":"1377144313","filename":"file5"},{"photo_id":"1377144216","filename":"file2"},{"photo_id":"1377144283","filename":"file4"},{"photo_id":"1377144187","filename":"file1"},{"photo_id":"1377144185","filename":"file0"},{"photo_id":"1377144248","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377144248":["hashtag1","hashtag2"]},{"1377144283":["hashtag1","hashtag2"]},{"1377144187":["hashtag1","hashtag2"]},{"1377144313":["hashtag1","hashtag2"]},{"1377144216":["hashtag1","hashtag2"]},{"1377144185":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377144248, 1377144283, 1377144187, 1377144313, 1377144216, 1377144185)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.51148295402527 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:11:03.231386 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/08/image_14082025_14_08_38_10324.jpg', '/media/data/images/14082025/14/08/image_14082025_14_08_49_10331.jpg', '/media/data/images/14082025/14/08/image_14082025_14_08_58_9180.jpg', '/media/data/images/14082025/14/08/image_14082025_14_09_09_10639.jpg', '/media/data/images/14082025/14/09/image_14082025_14_09_19_10386.jpg', '/media/data/images/14082025/14/09/image_14082025_14_09_28_9081.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/08/image_14082025_14_08_38_10324.jpg /media/data/images/14082025/14/08/image_14082025_14_08_49_10331.jpg /media/data/images/14082025/14/08/image_14082025_14_08_58_9180.jpg /media/data/images/14082025/14/08/image_14082025_14_09_09_10639.jpg /media/data/images/14082025/14/09/image_14082025_14_09_19_10386.jpg /media/data/images/14082025/14/09/image_14082025_14_09_28_9081.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377144560","1377144571","1377144522","1377144528","1377144513","1377144590"],"photo_ids_order":["1377144513","1377144522","1377144528","1377144560","1377144571","1377144590"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/789b1b0abb3b2b1ffe697946381902ed.jpg","text":"TemporaryFile(/tmp/multipartBody2839350077887722955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205924254,"filename":"image_14082025_14_09_09_10639.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9b667a9ac0753185e8f58037b322c2f1.jpg","text":"TemporaryFile(/tmp/multipartBody2641789430113517162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205924254,"filename":"image_14082025_14_09_19_10386.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38a837f09a8948c9d12936ecebc975d2.jpg","text":"TemporaryFile(/tmp/multipartBody752121507655117835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205924254,"filename":"image_14082025_14_08_49_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bbece3c46bb2ef44c581eecfe04a569c.jpg","text":"TemporaryFile(/tmp/multipartBody5183531828182095061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205924254,"filename":"image_14082025_14_08_58_9180.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e0f23e2ac5530f7b17782d973815769.jpg","text":"TemporaryFile(/tmp/multipartBody694544660871531777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205924254,"filename":"image_14082025_14_08_38_10324.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e9f1515e44233b7bd4499bc780c7d166.jpg","text":"TemporaryFile(/tmp/multipartBody1196185106450443371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205924254,"filename":"image_14082025_14_09_28_9081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377144528","file1":"1377144522","file0":"1377144513","file4":"1377144571","file5":"1377144590","file3":"1377144560"},"map_files_photo_id_array":[{"photo_id":"1377144590","filename":"file5"},{"photo_id":"1377144528","filename":"file2"},{"photo_id":"1377144571","filename":"file4"},{"photo_id":"1377144522","filename":"file1"},{"photo_id":"1377144513","filename":"file0"},{"photo_id":"1377144560","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377144560":["hashtag1","hashtag2"]},{"1377144571":["hashtag1","hashtag2"]},{"1377144522":["hashtag1","hashtag2"]},{"1377144528":["hashtag1","hashtag2"]},{"1377144513":["hashtag1","hashtag2"]},{"1377144590":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377144560, 1377144571, 1377144522, 1377144528, 1377144513, 1377144590)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.186156272888184 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:12:03.202253 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/09/image_14082025_14_09_38_10384.jpg', '/media/data/images/14082025/14/09/image_14082025_14_09_49_10349.jpg', '/media/data/images/14082025/14/09/image_14082025_14_09_58_9091.jpg', '/media/data/images/14082025/14/09/image_14082025_14_10_09_10793.jpg', '/media/data/images/14082025/14/10/image_14082025_14_10_19_10332.jpg', '/media/data/images/14082025/14/10/image_14082025_14_10_28_9110.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/09/image_14082025_14_09_38_10384.jpg /media/data/images/14082025/14/09/image_14082025_14_09_49_10349.jpg /media/data/images/14082025/14/09/image_14082025_14_09_58_9091.jpg /media/data/images/14082025/14/09/image_14082025_14_10_09_10793.jpg /media/data/images/14082025/14/10/image_14082025_14_10_19_10332.jpg /media/data/images/14082025/14/10/image_14082025_14_10_28_9110.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377144628","1377144613","1377144616","1377144621","1377144624","1377144618"],"photo_ids_order":["1377144613","1377144616","1377144618","1377144621","1377144624","1377144628"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7dbd51826b982fa36190225ec0a3105e.jpg","text":"TemporaryFile(/tmp/multipartBody6679278286575676856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205984210,"filename":"image_14082025_14_10_28_9110.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/01c3a5e31098327d42953e7045892b4f.jpg","text":"TemporaryFile(/tmp/multipartBody3690310610917660261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205984210,"filename":"image_14082025_14_09_38_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d75ad8d45bbc08477560ce0521f9542.jpg","text":"TemporaryFile(/tmp/multipartBody107276257430831396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205984210,"filename":"image_14082025_14_09_49_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/02def4a1e27d23b04e2c69151c095abb.jpg","text":"TemporaryFile(/tmp/multipartBody4403252274539857162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205984210,"filename":"image_14082025_14_10_09_10793.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/305fd8d562e10ffceb150cf2c0b39a4a.jpg","text":"TemporaryFile(/tmp/multipartBody5156862366020797938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205984210,"filename":"image_14082025_14_10_19_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4a385e6cb34a892bb3dc296069e7780.jpg","text":"TemporaryFile(/tmp/multipartBody478395837600764242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755205984210,"filename":"image_14082025_14_09_58_9091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377144618","file1":"1377144616","file0":"1377144613","file4":"1377144624","file5":"1377144628","file3":"1377144621"},"map_files_photo_id_array":[{"photo_id":"1377144628","filename":"file5"},{"photo_id":"1377144618","filename":"file2"},{"photo_id":"1377144624","filename":"file4"},{"photo_id":"1377144616","filename":"file1"},{"photo_id":"1377144613","filename":"file0"},{"photo_id":"1377144621","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377144628":["hashtag1","hashtag2"]},{"1377144613":["hashtag1","hashtag2"]},{"1377144616":["hashtag1","hashtag2"]},{"1377144621":["hashtag1","hashtag2"]},{"1377144624":["hashtag1","hashtag2"]},{"1377144618":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377144628, 1377144613, 1377144616, 1377144621, 1377144624, 1377144618)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.25370144844055 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:13:03.517833 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/10/image_14082025_14_10_38_10314.jpg', '/media/data/images/14082025/14/10/image_14082025_14_10_49_10347.jpg', '/media/data/images/14082025/14/10/image_14082025_14_10_58_9103.jpg', '/media/data/images/14082025/14/10/image_14082025_14_11_09_10782.jpg', '/media/data/images/14082025/14/11/image_14082025_14_11_19_10317.jpg', '/media/data/images/14082025/14/11/image_14082025_14_11_28_9138.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/10/image_14082025_14_10_38_10314.jpg /media/data/images/14082025/14/10/image_14082025_14_10_49_10347.jpg /media/data/images/14082025/14/10/image_14082025_14_10_58_9103.jpg /media/data/images/14082025/14/10/image_14082025_14_11_09_10782.jpg /media/data/images/14082025/14/11/image_14082025_14_11_19_10317.jpg /media/data/images/14082025/14/11/image_14082025_14_11_28_9138.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377145369","1377144766","1377144727","1377144693","1377144893","1377145016"],"photo_ids_order":["1377144693","1377144727","1377144766","1377144893","1377145016","1377145369"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e197610da79e9e1538b88adac6cf463f.jpg","text":"TemporaryFile(/tmp/multipartBody6237069934538485707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206044541,"filename":"image_14082025_14_11_28_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4330384ae9037e26fc71d8d89525337e.jpg","text":"TemporaryFile(/tmp/multipartBody3347486923432030666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206044541,"filename":"image_14082025_14_10_58_9103.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66bc92d9976f3cb856dcbcf14c74c3da.jpg","text":"TemporaryFile(/tmp/multipartBody4501291822014005492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206044541,"filename":"image_14082025_14_10_49_10347.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fece08b2f9f8ae1c1c7de113e253bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6013932107121299730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206044541,"filename":"image_14082025_14_10_38_10314.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/909687123561b6fca30305706523fc40.jpg","text":"TemporaryFile(/tmp/multipartBody1698278696011926598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206044541,"filename":"image_14082025_14_11_09_10782.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bfdc3fc3f9ae0201e1dfead2e7dc9059.jpg","text":"TemporaryFile(/tmp/multipartBody1941149610432629855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206044541,"filename":"image_14082025_14_11_19_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377144766","file1":"1377144727","file0":"1377144693","file4":"1377145016","file5":"1377145369","file3":"1377144893"},"map_files_photo_id_array":[{"photo_id":"1377145369","filename":"file5"},{"photo_id":"1377144766","filename":"file2"},{"photo_id":"1377145016","filename":"file4"},{"photo_id":"1377144727","filename":"file1"},{"photo_id":"1377144693","filename":"file0"},{"photo_id":"1377144893","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377145369":["hashtag1","hashtag2"]},{"1377144766":["hashtag1","hashtag2"]},{"1377144727":["hashtag1","hashtag2"]},{"1377144693":["hashtag1","hashtag2"]},{"1377144893":["hashtag1","hashtag2"]},{"1377145016":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377145369, 1377144766, 1377144727, 1377144693, 1377144893, 1377145016)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 53.84229016304016 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:14:02.548225 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/11/image_14082025_14_11_38_10318.jpg', '/media/data/images/14082025/14/11/image_14082025_14_11_49_10393.jpg', '/media/data/images/14082025/14/11/image_14082025_14_11_58_9162.jpg', '/media/data/images/14082025/14/11/image_14082025_14_12_09_10720.jpg', '/media/data/images/14082025/14/12/image_14082025_14_12_19_10293.jpg', '/media/data/images/14082025/14/12/image_14082025_14_12_28_9017.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/11/image_14082025_14_11_38_10318.jpg /media/data/images/14082025/14/11/image_14082025_14_11_49_10393.jpg /media/data/images/14082025/14/11/image_14082025_14_11_58_9162.jpg /media/data/images/14082025/14/11/image_14082025_14_12_09_10720.jpg /media/data/images/14082025/14/12/image_14082025_14_12_19_10293.jpg /media/data/images/14082025/14/12/image_14082025_14_12_28_9017.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377146449","1377146487","1377146523","1377146175","1377146313","1377146031"],"photo_ids_order":["1377146031","1377146175","1377146313","1377146449","1377146487","1377146523"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/86ee7b419074f97a3d25fa45cbd58e59.jpg","text":"TemporaryFile(/tmp/multipartBody1186850350295742232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206103614,"filename":"image_14082025_14_12_09_10720.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a40f4913bc2e3517fe0f6b75c453196.jpg","text":"TemporaryFile(/tmp/multipartBody2315365107125461300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206103614,"filename":"image_14082025_14_12_19_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/968131ac4d3f89fd2feb7db1437c2955.jpg","text":"TemporaryFile(/tmp/multipartBody5932426729714066779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206103614,"filename":"image_14082025_14_12_28_9017.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/dc1440f2c4805724f181bd63264c6565.jpg","text":"TemporaryFile(/tmp/multipartBody8871149436720762481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206103614,"filename":"image_14082025_14_11_49_10393.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ed8133a74b28e57e48915b22ef942d2.jpg","text":"TemporaryFile(/tmp/multipartBody9027326596705738817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206103614,"filename":"image_14082025_14_11_58_9162.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79e94e5b7d98dcda1b9d717520d25af5.jpg","text":"TemporaryFile(/tmp/multipartBody6336914061206481309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206103614,"filename":"image_14082025_14_11_38_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377146313","file1":"1377146175","file0":"1377146031","file4":"1377146487","file5":"1377146523","file3":"1377146449"},"map_files_photo_id_array":[{"photo_id":"1377146523","filename":"file5"},{"photo_id":"1377146313","filename":"file2"},{"photo_id":"1377146487","filename":"file4"},{"photo_id":"1377146175","filename":"file1"},{"photo_id":"1377146031","filename":"file0"},{"photo_id":"1377146449","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377146449":["hashtag1","hashtag2"]},{"1377146487":["hashtag1","hashtag2"]},{"1377146523":["hashtag1","hashtag2"]},{"1377146175":["hashtag1","hashtag2"]},{"1377146313":["hashtag1","hashtag2"]},{"1377146031":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377146449, 1377146487, 1377146523, 1377146175, 1377146313, 1377146031)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.91221237182617 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:15:02.764581 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/12/image_14082025_14_12_38_10278.jpg', '/media/data/images/14082025/14/12/image_14082025_14_12_48_10238.jpg', '/media/data/images/14082025/14/12/image_14082025_14_12_59_10262.jpg', '/media/data/images/14082025/14/13/image_14082025_14_13_09_10214.jpg', '/media/data/images/14082025/14/13/image_14082025_14_13_18_9022.jpg', '/media/data/images/14082025/14/13/image_14082025_14_13_28_10472.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/12/image_14082025_14_12_38_10278.jpg /media/data/images/14082025/14/12/image_14082025_14_12_48_10238.jpg /media/data/images/14082025/14/12/image_14082025_14_12_59_10262.jpg /media/data/images/14082025/14/13/image_14082025_14_13_09_10214.jpg /media/data/images/14082025/14/13/image_14082025_14_13_18_9022.jpg /media/data/images/14082025/14/13/image_14082025_14_13_28_10472.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377146770","1377146901","1377147140","1377147002","1377146837","1377146953"],"photo_ids_order":["1377146770","1377146837","1377146901","1377146953","1377147002","1377147140"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1104d1b6959323803c990bbbbfdcc705.jpg","text":"TemporaryFile(/tmp/multipartBody4493828758185261083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206163847,"filename":"image_14082025_14_12_38_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c56cf2cc1f0fe9990038b13f998a4f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7905082038843580877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206163847,"filename":"image_14082025_14_12_59_10262.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/13b6120ae8f044a04d57621c36681822.jpg","text":"TemporaryFile(/tmp/multipartBody5996148597290073037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206163847,"filename":"image_14082025_14_13_28_10472.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77d1fd8e7c39e4674850bec10451cdac.jpg","text":"TemporaryFile(/tmp/multipartBody4631979881747197516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206163847,"filename":"image_14082025_14_13_18_9022.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da9034a1b48bfc6dc0651a6e21deef78.jpg","text":"TemporaryFile(/tmp/multipartBody2808885595262432770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206163847,"filename":"image_14082025_14_12_48_10238.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/077d6b022eddabe26137b7b15214803c.jpg","text":"TemporaryFile(/tmp/multipartBody668865330960056731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206163847,"filename":"image_14082025_14_13_09_10214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377146901","file1":"1377146837","file0":"1377146770","file4":"1377147002","file5":"1377147140","file3":"1377146953"},"map_files_photo_id_array":[{"photo_id":"1377147140","filename":"file5"},{"photo_id":"1377146901","filename":"file2"},{"photo_id":"1377147002","filename":"file4"},{"photo_id":"1377146837","filename":"file1"},{"photo_id":"1377146770","filename":"file0"},{"photo_id":"1377146953","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377146770":["hashtag1","hashtag2"]},{"1377146901":["hashtag1","hashtag2"]},{"1377147140":["hashtag1","hashtag2"]},{"1377147002":["hashtag1","hashtag2"]},{"1377146837":["hashtag1","hashtag2"]},{"1377146953":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377146770, 1377146901, 1377147140, 1377147002, 1377146837, 1377146953)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.72361779212952 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:16:02.554298 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/13/image_14082025_14_13_39_10252.jpg', '/media/data/images/14082025/14/13/image_14082025_14_13_49_10236.jpg', '/media/data/images/14082025/14/13/image_14082025_14_13_58_9085.jpg', '/media/data/images/14082025/14/14/image_14082025_14_14_08_10359.jpg', '/media/data/images/14082025/14/14/image_14082025_14_14_19_10427.jpg', '/media/data/images/14082025/14/14/image_14082025_14_14_49_10377.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/13/image_14082025_14_13_39_10252.jpg /media/data/images/14082025/14/13/image_14082025_14_13_49_10236.jpg /media/data/images/14082025/14/13/image_14082025_14_13_58_9085.jpg /media/data/images/14082025/14/14/image_14082025_14_14_08_10359.jpg /media/data/images/14082025/14/14/image_14082025_14_14_19_10427.jpg /media/data/images/14082025/14/14/image_14082025_14_14_49_10377.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377147987","1377147727","1377147665","1377147923","1377147790","1377147859"],"photo_ids_order":["1377147665","1377147727","1377147790","1377147859","1377147923","1377147987"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d740521b50b40848bbcb22dd6b16a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1185975113076201352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206223645,"filename":"image_14082025_14_14_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0e643c4cea456b14c0c2ad53c0e3e309.jpg","text":"TemporaryFile(/tmp/multipartBody9025163667154054160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206223645,"filename":"image_14082025_14_13_49_10236.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a72c41040542ca19c37f52a722905cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5081879134436684822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206223645,"filename":"image_14082025_14_13_39_10252.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/575ca8a72e4b768642e1adb76f911df6.jpg","text":"TemporaryFile(/tmp/multipartBody5871675939368816215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206223645,"filename":"image_14082025_14_14_19_10427.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/47554cf59187084afb7ee2746dae265a.jpg","text":"TemporaryFile(/tmp/multipartBody7601364256045085043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206223645,"filename":"image_14082025_14_13_58_9085.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d7cb03fb3f148f87add6fb2c191417d2.jpg","text":"TemporaryFile(/tmp/multipartBody4224168828902110080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206223645,"filename":"image_14082025_14_14_08_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377147790","file1":"1377147727","file0":"1377147665","file4":"1377147923","file5":"1377147987","file3":"1377147859"},"map_files_photo_id_array":[{"photo_id":"1377147987","filename":"file5"},{"photo_id":"1377147790","filename":"file2"},{"photo_id":"1377147923","filename":"file4"},{"photo_id":"1377147727","filename":"file1"},{"photo_id":"1377147665","filename":"file0"},{"photo_id":"1377147859","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377147987":["hashtag1","hashtag2"]},{"1377147727":["hashtag1","hashtag2"]},{"1377147665":["hashtag1","hashtag2"]},{"1377147923":["hashtag1","hashtag2"]},{"1377147790":["hashtag1","hashtag2"]},{"1377147859":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377147987, 1377147727, 1377147665, 1377147923, 1377147790, 1377147859)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.187212228775024 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:17:03.072076 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/14/image_14082025_14_14_59_10240.jpg', '/media/data/images/14082025/14/15/image_14082025_14_15_08_9083.jpg', '/media/data/images/14082025/14/15/image_14082025_14_15_18_10263.jpg', '/media/data/images/14082025/14/15/image_14082025_14_15_28_10257.jpg', '/media/data/images/14082025/14/15/image_14082025_14_15_39_10309.jpg', '/media/data/images/14082025/14/15/image_14082025_14_15_48_9080.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/14/image_14082025_14_14_59_10240.jpg /media/data/images/14082025/14/15/image_14082025_14_15_08_9083.jpg /media/data/images/14082025/14/15/image_14082025_14_15_18_10263.jpg /media/data/images/14082025/14/15/image_14082025_14_15_28_10257.jpg /media/data/images/14082025/14/15/image_14082025_14_15_39_10309.jpg /media/data/images/14082025/14/15/image_14082025_14_15_48_9080.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377148172","1377148166","1377148151","1377148175","1377148169","1377148162"],"photo_ids_order":["1377148151","1377148162","1377148166","1377148169","1377148172","1377148175"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79c6de7aa0a8d3175c7c38c06509019d.jpg","text":"TemporaryFile(/tmp/multipartBody712613102646378751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206284112,"filename":"image_14082025_14_15_39_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bfdc80e9fff8846bca2a8e0332bc0f60.jpg","text":"TemporaryFile(/tmp/multipartBody2275701116635660269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206284112,"filename":"image_14082025_14_15_18_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a82d050670cfedc3e208b135100202b7.jpg","text":"TemporaryFile(/tmp/multipartBody4711509379567581925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206284112,"filename":"image_14082025_14_14_59_10240.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d5925627fe7804fc112fe00c872e209.jpg","text":"TemporaryFile(/tmp/multipartBody7524031307583776855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206284112,"filename":"image_14082025_14_15_48_9080.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/67c6a2c588ad1708e806bd6444043e28.jpg","text":"TemporaryFile(/tmp/multipartBody5345287019323834320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206284112,"filename":"image_14082025_14_15_28_10257.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c12542334b21da520203d6aaf7f365c.jpg","text":"TemporaryFile(/tmp/multipartBody6109740925663243908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206284112,"filename":"image_14082025_14_15_08_9083.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377148166","file1":"1377148162","file0":"1377148151","file4":"1377148172","file5":"1377148175","file3":"1377148169"},"map_files_photo_id_array":[{"photo_id":"1377148175","filename":"file5"},{"photo_id":"1377148166","filename":"file2"},{"photo_id":"1377148172","filename":"file4"},{"photo_id":"1377148162","filename":"file1"},{"photo_id":"1377148151","filename":"file0"},{"photo_id":"1377148169","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377148172":["hashtag1","hashtag2"]},{"1377148166":["hashtag1","hashtag2"]},{"1377148151":["hashtag1","hashtag2"]},{"1377148175":["hashtag1","hashtag2"]},{"1377148169":["hashtag1","hashtag2"]},{"1377148162":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377148172, 1377148166, 1377148151, 1377148175, 1377148169, 1377148162)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.066253662109375 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:18:02.916566 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/15/image_14082025_14_15_58_10312.jpg', '/media/data/images/14082025/14/16/image_14082025_14_16_09_10363.jpg', '/media/data/images/14082025/14/16/image_14082025_14_16_19_10326.jpg', '/media/data/images/14082025/14/16/image_14082025_14_16_28_9189.jpg', '/media/data/images/14082025/14/16/image_14082025_14_16_38_10351.jpg', '/media/data/images/14082025/14/16/image_14082025_14_16_49_10446.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/15/image_14082025_14_15_58_10312.jpg /media/data/images/14082025/14/16/image_14082025_14_16_09_10363.jpg /media/data/images/14082025/14/16/image_14082025_14_16_19_10326.jpg /media/data/images/14082025/14/16/image_14082025_14_16_28_9189.jpg /media/data/images/14082025/14/16/image_14082025_14_16_38_10351.jpg /media/data/images/14082025/14/16/image_14082025_14_16_49_10446.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377148353","1377148385","1377148631","1377148450","1377148417","1377148507"],"photo_ids_order":["1377148353","1377148385","1377148417","1377148450","1377148507","1377148631"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a24d676884849e4b83a6b0359d312c96.jpg","text":"TemporaryFile(/tmp/multipartBody1884970581330742239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206343931,"filename":"image_14082025_14_15_58_10312.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f84276c231c5568aec584982a11e0af9.jpg","text":"TemporaryFile(/tmp/multipartBody1101948528896424395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206343931,"filename":"image_14082025_14_16_09_10363.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9074e8d36fe3b08f6da9682b6b2d62cb.jpg","text":"TemporaryFile(/tmp/multipartBody3534684883783313638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206343931,"filename":"image_14082025_14_16_49_10446.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7d9e6b695a8e9361deee74d470b989f1.jpg","text":"TemporaryFile(/tmp/multipartBody4172651137560123231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206343931,"filename":"image_14082025_14_16_28_9189.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/730608b511010b920566c79bdb692d4c.jpg","text":"TemporaryFile(/tmp/multipartBody5881286866389861431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206343931,"filename":"image_14082025_14_16_19_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/57afe777743014abb26f02bde26b386a.jpg","text":"TemporaryFile(/tmp/multipartBody9096732258192251175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206343931,"filename":"image_14082025_14_16_38_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377148417","file1":"1377148385","file0":"1377148353","file4":"1377148507","file5":"1377148631","file3":"1377148450"},"map_files_photo_id_array":[{"photo_id":"1377148631","filename":"file5"},{"photo_id":"1377148417","filename":"file2"},{"photo_id":"1377148507","filename":"file4"},{"photo_id":"1377148385","filename":"file1"},{"photo_id":"1377148353","filename":"file0"},{"photo_id":"1377148450","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377148353":["hashtag1","hashtag2"]},{"1377148385":["hashtag1","hashtag2"]},{"1377148631":["hashtag1","hashtag2"]},{"1377148450":["hashtag1","hashtag2"]},{"1377148417":["hashtag1","hashtag2"]},{"1377148507":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377148353, 1377148385, 1377148631, 1377148450, 1377148417, 1377148507)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.92238187789917 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:19:03.333806 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/16/image_14082025_14_16_58_9129.jpg', '/media/data/images/14082025/14/17/image_14082025_14_17_09_10524.jpg', '/media/data/images/14082025/14/17/image_14082025_14_17_18_9346.jpg', '/media/data/images/14082025/14/17/image_14082025_14_17_28_10309.jpg', '/media/data/images/14082025/14/17/image_14082025_14_17_39_10332.jpg', '/media/data/images/14082025/14/17/image_14082025_14_17_49_10362.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/16/image_14082025_14_16_58_9129.jpg /media/data/images/14082025/14/17/image_14082025_14_17_09_10524.jpg /media/data/images/14082025/14/17/image_14082025_14_17_18_9346.jpg /media/data/images/14082025/14/17/image_14082025_14_17_28_10309.jpg /media/data/images/14082025/14/17/image_14082025_14_17_39_10332.jpg /media/data/images/14082025/14/17/image_14082025_14_17_49_10362.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377149421","1377149322","1377149726","1377149624","1377149525","1377149817"],"photo_ids_order":["1377149322","1377149421","1377149525","1377149624","1377149726","1377149817"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d23c54173bfeaa106b78c7e9234ea4c1.jpg","text":"TemporaryFile(/tmp/multipartBody6562946872874048565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206404329,"filename":"image_14082025_14_17_09_10524.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bbb05efc2c899b7e523430d0184d6170.jpg","text":"TemporaryFile(/tmp/multipartBody103127505790678371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206404329,"filename":"image_14082025_14_16_58_9129.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22110af5da50fb3ed3f317923ad9e564.jpg","text":"TemporaryFile(/tmp/multipartBody7163026493054522119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206404329,"filename":"image_14082025_14_17_39_10332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2545607cf9837c384522ed09ac95316.jpg","text":"TemporaryFile(/tmp/multipartBody2707923401808738159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206404329,"filename":"image_14082025_14_17_28_10309.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/409180b3cab5ba7d55d965f0f102a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody2604369343756409039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206404329,"filename":"image_14082025_14_17_18_9346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c4908ab00a014d3ffe7ce63b359373fc.jpg","text":"TemporaryFile(/tmp/multipartBody8074191950011501069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206404329,"filename":"image_14082025_14_17_49_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377149525","file1":"1377149421","file0":"1377149322","file4":"1377149726","file5":"1377149817","file3":"1377149624"},"map_files_photo_id_array":[{"photo_id":"1377149817","filename":"file5"},{"photo_id":"1377149525","filename":"file2"},{"photo_id":"1377149726","filename":"file4"},{"photo_id":"1377149421","filename":"file1"},{"photo_id":"1377149322","filename":"file0"},{"photo_id":"1377149624","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377149421":["hashtag1","hashtag2"]},{"1377149322":["hashtag1","hashtag2"]},{"1377149726":["hashtag1","hashtag2"]},{"1377149624":["hashtag1","hashtag2"]},{"1377149525":["hashtag1","hashtag2"]},{"1377149817":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377149421, 1377149322, 1377149726, 1377149624, 1377149525, 1377149817)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.88685488700867 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:20:03.279179 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/17/image_14082025_14_17_58_9091.jpg', '/media/data/images/14082025/14/17/image_14082025_14_18_09_10861.jpg', '/media/data/images/14082025/14/18/image_14082025_14_18_18_9192.jpg', '/media/data/images/14082025/14/18/image_14082025_14_18_28_10358.jpg', '/media/data/images/14082025/14/18/image_14082025_14_18_39_10344.jpg', '/media/data/images/14082025/14/18/image_14082025_14_18_49_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/17/image_14082025_14_17_58_9091.jpg /media/data/images/14082025/14/17/image_14082025_14_18_09_10861.jpg /media/data/images/14082025/14/18/image_14082025_14_18_18_9192.jpg /media/data/images/14082025/14/18/image_14082025_14_18_28_10358.jpg /media/data/images/14082025/14/18/image_14082025_14_18_39_10344.jpg /media/data/images/14082025/14/18/image_14082025_14_18_49_10333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377150171","1377150036","1377150137","1377150071","1377150212","1377150103"],"photo_ids_order":["1377150036","1377150071","1377150103","1377150137","1377150171","1377150212"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/adbc1014985e882aecf654bdebb3ed4d.jpg","text":"TemporaryFile(/tmp/multipartBody6470314899376841587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206464262,"filename":"image_14082025_14_18_39_10344.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc427825be646d42b88e8646ef018985.jpg","text":"TemporaryFile(/tmp/multipartBody5755269257596598444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206464262,"filename":"image_14082025_14_17_58_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf1ac83bda02bf8aac04be26bb632576.jpg","text":"TemporaryFile(/tmp/multipartBody7350616976054893415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206464262,"filename":"image_14082025_14_18_28_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c198b71918d906406bf509c4309d64bb.jpg","text":"TemporaryFile(/tmp/multipartBody277699390106096144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206464262,"filename":"image_14082025_14_18_09_10861.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e5011acee89e1a1d67f96e91bd91dc82.jpg","text":"TemporaryFile(/tmp/multipartBody5939283306858243143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206464262,"filename":"image_14082025_14_18_49_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3bcbb1b7fbecea3aa044107bb224fa42.jpg","text":"TemporaryFile(/tmp/multipartBody8914787882398975701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206464262,"filename":"image_14082025_14_18_18_9192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377150103","file1":"1377150071","file0":"1377150036","file4":"1377150171","file5":"1377150212","file3":"1377150137"},"map_files_photo_id_array":[{"photo_id":"1377150212","filename":"file5"},{"photo_id":"1377150103","filename":"file2"},{"photo_id":"1377150171","filename":"file4"},{"photo_id":"1377150071","filename":"file1"},{"photo_id":"1377150036","filename":"file0"},{"photo_id":"1377150137","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377150171":["hashtag1","hashtag2"]},{"1377150036":["hashtag1","hashtag2"]},{"1377150137":["hashtag1","hashtag2"]},{"1377150071":["hashtag1","hashtag2"]},{"1377150212":["hashtag1","hashtag2"]},{"1377150103":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377150171, 1377150036, 1377150137, 1377150071, 1377150212, 1377150103)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.500473499298096 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:21:03.469439 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/18/image_14082025_14_18_58_9177.jpg', '/media/data/images/14082025/14/19/image_14082025_14_19_09_10621.jpg', '/media/data/images/14082025/14/19/image_14082025_14_19_18_9121.jpg', '/media/data/images/14082025/14/19/image_14082025_14_19_28_10338.jpg', '/media/data/images/14082025/14/19/image_14082025_14_19_39_10528.jpg', '/media/data/images/14082025/14/19/image_14082025_14_19_48_9102.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/18/image_14082025_14_18_58_9177.jpg /media/data/images/14082025/14/19/image_14082025_14_19_09_10621.jpg /media/data/images/14082025/14/19/image_14082025_14_19_18_9121.jpg /media/data/images/14082025/14/19/image_14082025_14_19_28_10338.jpg /media/data/images/14082025/14/19/image_14082025_14_19_39_10528.jpg /media/data/images/14082025/14/19/image_14082025_14_19_48_9102.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377150998","1377150787","1377150751","1377150934","1377151062","1377150870"],"photo_ids_order":["1377150751","1377150787","1377150870","1377150934","1377150998","1377151062"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6301d82508bbb36964a08b763d665597.jpg","text":"TemporaryFile(/tmp/multipartBody2451429896493786159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206524489,"filename":"image_14082025_14_19_39_10528.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/04afeebc4b6d53799e9b827796639596.jpg","text":"TemporaryFile(/tmp/multipartBody4217232598489507657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206524489,"filename":"image_14082025_14_19_09_10621.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/014b426f193b3827c7f99dba627ba771.jpg","text":"TemporaryFile(/tmp/multipartBody3564828779344518180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206524489,"filename":"image_14082025_14_18_58_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd0335b20d1f0bd5404c7e5a2a03869e.jpg","text":"TemporaryFile(/tmp/multipartBody2934625534049935324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206524489,"filename":"image_14082025_14_19_28_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/43cdc17751d22365e6cfb160b0d20bc8.jpg","text":"TemporaryFile(/tmp/multipartBody1797280380304741052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206524489,"filename":"image_14082025_14_19_48_9102.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e41d5156faa9404517d7d498a66964af.jpg","text":"TemporaryFile(/tmp/multipartBody3730685375336526245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206524489,"filename":"image_14082025_14_19_18_9121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377150870","file1":"1377150787","file0":"1377150751","file4":"1377150998","file5":"1377151062","file3":"1377150934"},"map_files_photo_id_array":[{"photo_id":"1377151062","filename":"file5"},{"photo_id":"1377150870","filename":"file2"},{"photo_id":"1377150998","filename":"file4"},{"photo_id":"1377150787","filename":"file1"},{"photo_id":"1377150751","filename":"file0"},{"photo_id":"1377150934","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377150998":["hashtag1","hashtag2"]},{"1377150787":["hashtag1","hashtag2"]},{"1377150751":["hashtag1","hashtag2"]},{"1377150934":["hashtag1","hashtag2"]},{"1377151062":["hashtag1","hashtag2"]},{"1377150870":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377150998, 1377150787, 1377150751, 1377150934, 1377151062, 1377150870)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.619317054748535 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:22:03.301451 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/19/image_14082025_14_19_58_10425.jpg', '/media/data/images/14082025/14/20/image_14082025_14_20_08_9485.jpg', '/media/data/images/14082025/14/20/image_14082025_14_20_18_10298.jpg', '/media/data/images/14082025/14/20/image_14082025_14_20_29_10505.jpg', '/media/data/images/14082025/14/20/image_14082025_14_20_38_9306.jpg', '/media/data/images/14082025/14/20/image_14082025_14_20_48_10293.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/19/image_14082025_14_19_58_10425.jpg /media/data/images/14082025/14/20/image_14082025_14_20_08_9485.jpg /media/data/images/14082025/14/20/image_14082025_14_20_18_10298.jpg /media/data/images/14082025/14/20/image_14082025_14_20_29_10505.jpg /media/data/images/14082025/14/20/image_14082025_14_20_38_9306.jpg /media/data/images/14082025/14/20/image_14082025_14_20_48_10293.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377151745","1377151600","1377151711","1377151662","1377151458","1377151533"],"photo_ids_order":["1377151458","1377151533","1377151600","1377151662","1377151711","1377151745"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/363d6ae8109bb8cb95ee8de9b91e501d.jpg","text":"TemporaryFile(/tmp/multipartBody3505744053553863735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206584417,"filename":"image_14082025_14_20_48_10293.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c118d541af31b88cdbe387f91d0a9916.jpg","text":"TemporaryFile(/tmp/multipartBody300537973550289018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206584417,"filename":"image_14082025_14_20_18_10298.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/260bd22f5df8a5a3b1ff6df22663ef05.jpg","text":"TemporaryFile(/tmp/multipartBody2459418531548348492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206584417,"filename":"image_14082025_14_20_38_9306.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5ef7c783a2c20456692c2170653ff6f1.jpg","text":"TemporaryFile(/tmp/multipartBody1606487029086760743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206584417,"filename":"image_14082025_14_20_29_10505.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4018bdb3198caabce43526dc95bf4e91.jpg","text":"TemporaryFile(/tmp/multipartBody4302753302799820171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206584417,"filename":"image_14082025_14_19_58_10425.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c82270aaf71efec86ea0c6113eea435c.jpg","text":"TemporaryFile(/tmp/multipartBody6969347630315371047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206584417,"filename":"image_14082025_14_20_08_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377151600","file1":"1377151533","file0":"1377151458","file4":"1377151711","file5":"1377151745","file3":"1377151662"},"map_files_photo_id_array":[{"photo_id":"1377151745","filename":"file5"},{"photo_id":"1377151600","filename":"file2"},{"photo_id":"1377151711","filename":"file4"},{"photo_id":"1377151533","filename":"file1"},{"photo_id":"1377151458","filename":"file0"},{"photo_id":"1377151662","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377151745":["hashtag1","hashtag2"]},{"1377151600":["hashtag1","hashtag2"]},{"1377151711":["hashtag1","hashtag2"]},{"1377151662":["hashtag1","hashtag2"]},{"1377151458":["hashtag1","hashtag2"]},{"1377151533":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377151745, 1377151600, 1377151711, 1377151662, 1377151458, 1377151533)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.73814845085144 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:23:02.774785 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/20/image_14082025_14_20_59_10329.jpg', '/media/data/images/14082025/14/21/image_14082025_14_21_08_9333.jpg', '/media/data/images/14082025/14/21/image_14082025_14_21_18_10348.jpg', '/media/data/images/14082025/14/21/image_14082025_14_21_29_10376.jpg', '/media/data/images/14082025/14/21/image_14082025_14_21_39_10336.jpg', '/media/data/images/14082025/14/21/image_14082025_14_21_48_9015.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/20/image_14082025_14_20_59_10329.jpg /media/data/images/14082025/14/21/image_14082025_14_21_08_9333.jpg /media/data/images/14082025/14/21/image_14082025_14_21_18_10348.jpg /media/data/images/14082025/14/21/image_14082025_14_21_29_10376.jpg /media/data/images/14082025/14/21/image_14082025_14_21_39_10336.jpg /media/data/images/14082025/14/21/image_14082025_14_21_48_9015.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377152072","1377151928","1377152002","1377151971","1377152037","1377151938"],"photo_ids_order":["1377151928","1377151938","1377151971","1377152002","1377152037","1377152072"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03df49e0c861fbd226e72f5395472770.jpg","text":"TemporaryFile(/tmp/multipartBody5779532363782859533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206643886,"filename":"image_14082025_14_21_48_9015.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bf7c26f30d46f2d55c79a0135fc04a50.jpg","text":"TemporaryFile(/tmp/multipartBody8939222366294483717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206643886,"filename":"image_14082025_14_20_59_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7b7738add06366e9c8278edf3e8e922d.jpg","text":"TemporaryFile(/tmp/multipartBody753418861405843057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206643886,"filename":"image_14082025_14_21_29_10376.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4aa65f5d479f1298b58220719862fe45.jpg","text":"TemporaryFile(/tmp/multipartBody3261665311220764288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206643886,"filename":"image_14082025_14_21_18_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c6b24eaf0b7fcc81c7a825be05bd25ec.jpg","text":"TemporaryFile(/tmp/multipartBody1709321447882289492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206643886,"filename":"image_14082025_14_21_39_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/561ad9f9b8ca38322d5d1523c9ae6f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3247564879004331850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206643886,"filename":"image_14082025_14_21_08_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377151971","file1":"1377151938","file0":"1377151928","file4":"1377152037","file5":"1377152072","file3":"1377152002"},"map_files_photo_id_array":[{"photo_id":"1377152072","filename":"file5"},{"photo_id":"1377151971","filename":"file2"},{"photo_id":"1377152037","filename":"file4"},{"photo_id":"1377151938","filename":"file1"},{"photo_id":"1377151928","filename":"file0"},{"photo_id":"1377152002","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377152072":["hashtag1","hashtag2"]},{"1377151928":["hashtag1","hashtag2"]},{"1377152002":["hashtag1","hashtag2"]},{"1377151971":["hashtag1","hashtag2"]},{"1377152037":["hashtag1","hashtag2"]},{"1377151938":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377152072, 1377151928, 1377152002, 1377151971, 1377152037, 1377151938)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.761579751968384 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:24:02.857288 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/21/image_14082025_14_21_58_10367.jpg', '/media/data/images/14082025/14/22/image_14082025_14_22_09_10346.jpg', '/media/data/images/14082025/14/22/image_14082025_14_22_18_9138.jpg', '/media/data/images/14082025/14/22/image_14082025_14_22_28_10345.jpg', '/media/data/images/14082025/14/22/image_14082025_14_22_39_10331.jpg', '/media/data/images/14082025/14/22/image_14082025_14_22_49_10338.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/21/image_14082025_14_21_58_10367.jpg /media/data/images/14082025/14/22/image_14082025_14_22_09_10346.jpg /media/data/images/14082025/14/22/image_14082025_14_22_18_9138.jpg /media/data/images/14082025/14/22/image_14082025_14_22_28_10345.jpg /media/data/images/14082025/14/22/image_14082025_14_22_39_10331.jpg /media/data/images/14082025/14/22/image_14082025_14_22_49_10338.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377152456","1377152414","1377152382","1377152283","1377152517","1377152349"],"photo_ids_order":["1377152283","1377152349","1377152382","1377152414","1377152456","1377152517"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/27e8f74400139452dba2b25d4b203202.jpg","text":"TemporaryFile(/tmp/multipartBody3220263966217380090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206703990,"filename":"image_14082025_14_22_39_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0fdaa5de81a4d108f720232b09e498b2.jpg","text":"TemporaryFile(/tmp/multipartBody5360341323802565829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206703990,"filename":"image_14082025_14_22_28_10345.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4e0d3450504d223a682ce7e1a7458bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2544115804542912291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206703990,"filename":"image_14082025_14_22_18_9138.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3e0e953675c63ae108681184724f5719.jpg","text":"TemporaryFile(/tmp/multipartBody5451690150535502206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206703990,"filename":"image_14082025_14_21_58_10367.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a6f070b2c02c8cc587ffb856b9f63fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7093810130779502409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206703990,"filename":"image_14082025_14_22_49_10338.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12dcadc612c7ed09cf8f6726a162eb19.jpg","text":"TemporaryFile(/tmp/multipartBody4965030188681716194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206703990,"filename":"image_14082025_14_22_09_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377152382","file1":"1377152349","file0":"1377152283","file4":"1377152456","file5":"1377152517","file3":"1377152414"},"map_files_photo_id_array":[{"photo_id":"1377152517","filename":"file5"},{"photo_id":"1377152382","filename":"file2"},{"photo_id":"1377152456","filename":"file4"},{"photo_id":"1377152349","filename":"file1"},{"photo_id":"1377152283","filename":"file0"},{"photo_id":"1377152414","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377152456":["hashtag1","hashtag2"]},{"1377152414":["hashtag1","hashtag2"]},{"1377152382":["hashtag1","hashtag2"]},{"1377152283":["hashtag1","hashtag2"]},{"1377152517":["hashtag1","hashtag2"]},{"1377152349":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377152456, 1377152414, 1377152382, 1377152283, 1377152517, 1377152349)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.589954137802124 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:25:03.018788 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/22/image_14082025_14_22_58_9144.jpg', '/media/data/images/14082025/14/22/image_14082025_14_23_08_10364.jpg', '/media/data/images/14082025/14/23/image_14082025_14_23_19_10282.jpg', '/media/data/images/14082025/14/23/image_14082025_14_23_29_10316.jpg', '/media/data/images/14082025/14/23/image_14082025_14_23_38_9052.jpg', '/media/data/images/14082025/14/23/image_14082025_14_23_48_10375.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/22/image_14082025_14_22_58_9144.jpg /media/data/images/14082025/14/22/image_14082025_14_23_08_10364.jpg /media/data/images/14082025/14/23/image_14082025_14_23_19_10282.jpg /media/data/images/14082025/14/23/image_14082025_14_23_29_10316.jpg /media/data/images/14082025/14/23/image_14082025_14_23_38_9052.jpg /media/data/images/14082025/14/23/image_14082025_14_23_48_10375.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377152677","1377152659","1377152670","1377152673","1377152667","1377152663"],"photo_ids_order":["1377152659","1377152663","1377152667","1377152670","1377152673","1377152677"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b276300b64fffd5a9a8ca14811fd94da.jpg","text":"TemporaryFile(/tmp/multipartBody5385436958964697953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206764144,"filename":"image_14082025_14_23_48_10375.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03fdb7f8f6f99302821c96c9959e01c7.jpg","text":"TemporaryFile(/tmp/multipartBody5832627043244652394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206764144,"filename":"image_14082025_14_22_58_9144.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bb2ae436a0f0e7877645e1a10285ef89.jpg","text":"TemporaryFile(/tmp/multipartBody8047215092850984326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206764144,"filename":"image_14082025_14_23_29_10316.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e612eb93b1ba2f5de5e3529c6c1e7511.jpg","text":"TemporaryFile(/tmp/multipartBody2209446260444655268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206764144,"filename":"image_14082025_14_23_38_9052.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/825c566aed5ea5844eea7507639128fa.jpg","text":"TemporaryFile(/tmp/multipartBody223771511155427711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206764144,"filename":"image_14082025_14_23_19_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b1eeaf14c42d55f3e379670228e3af4a.jpg","text":"TemporaryFile(/tmp/multipartBody7993915602870953221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206764144,"filename":"image_14082025_14_23_08_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377152667","file1":"1377152663","file0":"1377152659","file4":"1377152673","file5":"1377152677","file3":"1377152670"},"map_files_photo_id_array":[{"photo_id":"1377152677","filename":"file5"},{"photo_id":"1377152667","filename":"file2"},{"photo_id":"1377152673","filename":"file4"},{"photo_id":"1377152663","filename":"file1"},{"photo_id":"1377152659","filename":"file0"},{"photo_id":"1377152670","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377152677":["hashtag1","hashtag2"]},{"1377152659":["hashtag1","hashtag2"]},{"1377152670":["hashtag1","hashtag2"]},{"1377152673":["hashtag1","hashtag2"]},{"1377152667":["hashtag1","hashtag2"]},{"1377152663":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377152677, 1377152659, 1377152670, 1377152673, 1377152667, 1377152663)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.844762086868286 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:26:03.040978 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/23/image_14082025_14_23_59_10387.jpg', '/media/data/images/14082025/14/24/image_14082025_14_24_08_9193.jpg', '/media/data/images/14082025/14/24/image_14082025_14_24_18_10286.jpg', '/media/data/images/14082025/14/24/image_14082025_14_24_29_10275.jpg', '/media/data/images/14082025/14/24/image_14082025_14_24_39_10261.jpg', '/media/data/images/14082025/14/24/image_14082025_14_24_48_9068.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/23/image_14082025_14_23_59_10387.jpg /media/data/images/14082025/14/24/image_14082025_14_24_08_9193.jpg /media/data/images/14082025/14/24/image_14082025_14_24_18_10286.jpg /media/data/images/14082025/14/24/image_14082025_14_24_29_10275.jpg /media/data/images/14082025/14/24/image_14082025_14_24_39_10261.jpg /media/data/images/14082025/14/24/image_14082025_14_24_48_9068.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377152899","1377152866","1377152935","1377152970","1377153003","1377153038"],"photo_ids_order":["1377152866","1377152899","1377152935","1377152970","1377153003","1377153038"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96288e0581df4c045a9dc7885cd46e41.jpg","text":"TemporaryFile(/tmp/multipartBody8982142511672564600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206824160,"filename":"image_14082025_14_24_08_9193.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71ce6de4a59cb10a1aa4d86796201d02.jpg","text":"TemporaryFile(/tmp/multipartBody8187268671942785367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206824160,"filename":"image_14082025_14_23_59_10387.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/030610fe30880c63395b48890bfa0e3a.jpg","text":"TemporaryFile(/tmp/multipartBody6288049914417697824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206824160,"filename":"image_14082025_14_24_18_10286.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cde54cecc2389f9f9613173e45b3b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody5394441784163418634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206824160,"filename":"image_14082025_14_24_29_10275.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/98f92a25cebb9a8c980d5c3d2c87af08.jpg","text":"TemporaryFile(/tmp/multipartBody1711358085651147087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206824160,"filename":"image_14082025_14_24_39_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3cb344be22bdb70d2f0c13a2d35fc135.jpg","text":"TemporaryFile(/tmp/multipartBody7509033849534661108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206824160,"filename":"image_14082025_14_24_48_9068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377152935","file1":"1377152899","file0":"1377152866","file4":"1377153003","file5":"1377153038","file3":"1377152970"},"map_files_photo_id_array":[{"photo_id":"1377153038","filename":"file5"},{"photo_id":"1377152935","filename":"file2"},{"photo_id":"1377153003","filename":"file4"},{"photo_id":"1377152899","filename":"file1"},{"photo_id":"1377152866","filename":"file0"},{"photo_id":"1377152970","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377152899":["hashtag1","hashtag2"]},{"1377152866":["hashtag1","hashtag2"]},{"1377152935":["hashtag1","hashtag2"]},{"1377152970":["hashtag1","hashtag2"]},{"1377153003":["hashtag1","hashtag2"]},{"1377153038":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377152899, 1377152866, 1377152935, 1377152970, 1377153003, 1377153038)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.66691064834595 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:27:02.969616 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/24/image_14082025_14_24_58_10452.jpg', '/media/data/images/14082025/14/25/image_14082025_14_25_09_10255.jpg', '/media/data/images/14082025/14/25/image_14082025_14_25_19_10329.jpg', '/media/data/images/14082025/14/25/image_14082025_14_25_28_9043.jpg', '/media/data/images/14082025/14/25/image_14082025_14_25_39_10570.jpg', '/media/data/images/14082025/14/25/image_14082025_14_25_49_10278.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/24/image_14082025_14_24_58_10452.jpg /media/data/images/14082025/14/25/image_14082025_14_25_09_10255.jpg /media/data/images/14082025/14/25/image_14082025_14_25_19_10329.jpg /media/data/images/14082025/14/25/image_14082025_14_25_28_9043.jpg /media/data/images/14082025/14/25/image_14082025_14_25_39_10570.jpg /media/data/images/14082025/14/25/image_14082025_14_25_49_10278.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377153433","1377153399","1377153366","1377153330","1377153296","1377153260"],"photo_ids_order":["1377153260","1377153296","1377153330","1377153366","1377153399","1377153433"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/83db5428b04a5829d43255f81ccaf4db.jpg","text":"TemporaryFile(/tmp/multipartBody6628562903510502224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206884095,"filename":"image_14082025_14_25_49_10278.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5fda8a3f4ebbdc56682a6374668e69b9.jpg","text":"TemporaryFile(/tmp/multipartBody4266119731683972799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206884095,"filename":"image_14082025_14_25_39_10570.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0d0bf5f4cab3012cfd0fdcfb42758957.jpg","text":"TemporaryFile(/tmp/multipartBody7017095527642570684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206884095,"filename":"image_14082025_14_25_28_9043.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/17c88c97e9f9104638c5ef2f68fef18f.jpg","text":"TemporaryFile(/tmp/multipartBody7645638449903930427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206884095,"filename":"image_14082025_14_25_19_10329.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6a0248a6fed357e2572216c5dfddab75.jpg","text":"TemporaryFile(/tmp/multipartBody7707712285069805537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206884095,"filename":"image_14082025_14_25_09_10255.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a5228e2e4b0483fb288db38bbf68823.jpg","text":"TemporaryFile(/tmp/multipartBody2578522822497398097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206884095,"filename":"image_14082025_14_24_58_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377153330","file1":"1377153296","file0":"1377153260","file4":"1377153399","file5":"1377153433","file3":"1377153366"},"map_files_photo_id_array":[{"photo_id":"1377153433","filename":"file5"},{"photo_id":"1377153330","filename":"file2"},{"photo_id":"1377153399","filename":"file4"},{"photo_id":"1377153296","filename":"file1"},{"photo_id":"1377153260","filename":"file0"},{"photo_id":"1377153366","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377153433":["hashtag1","hashtag2"]},{"1377153399":["hashtag1","hashtag2"]},{"1377153366":["hashtag1","hashtag2"]},{"1377153330":["hashtag1","hashtag2"]},{"1377153296":["hashtag1","hashtag2"]},{"1377153260":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377153433, 1377153399, 1377153366, 1377153330, 1377153296, 1377153260)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.614497900009155 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:28:03.037541 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/25/image_14082025_14_25_58_9031.jpg', '/media/data/images/14082025/14/25/image_14082025_14_26_08_10623.jpg', '/media/data/images/14082025/14/26/image_14082025_14_26_19_10455.jpg', '/media/data/images/14082025/14/26/image_14082025_14_26_28_9332.jpg', '/media/data/images/14082025/14/26/image_14082025_14_26_39_10321.jpg', '/media/data/images/14082025/14/26/image_14082025_14_26_49_10313.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/25/image_14082025_14_25_58_9031.jpg /media/data/images/14082025/14/25/image_14082025_14_26_08_10623.jpg /media/data/images/14082025/14/26/image_14082025_14_26_19_10455.jpg /media/data/images/14082025/14/26/image_14082025_14_26_28_9332.jpg /media/data/images/14082025/14/26/image_14082025_14_26_39_10321.jpg /media/data/images/14082025/14/26/image_14082025_14_26_49_10313.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377153760","1377153757","1377153718","1377153684","1377153648","1377153752"],"photo_ids_order":["1377153648","1377153684","1377153718","1377153752","1377153757","1377153760"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b32ce24c0280bde588d46efd7f038687.jpg","text":"TemporaryFile(/tmp/multipartBody4896163478065157500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206944072,"filename":"image_14082025_14_26_49_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5cbebe91c49561704d888bed264ce6e2.jpg","text":"TemporaryFile(/tmp/multipartBody442869434951041546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206944072,"filename":"image_14082025_14_26_39_10321.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/99de01c9d2b4072a802373646e0bdd0c.jpg","text":"TemporaryFile(/tmp/multipartBody8057690054391498033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206944072,"filename":"image_14082025_14_26_19_10455.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/acb6602c0123b0e8a76324fc00919e43.jpg","text":"TemporaryFile(/tmp/multipartBody2389201426437156535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206944072,"filename":"image_14082025_14_26_08_10623.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73a1734d1046ae920afdc1e4809ee2da.jpg","text":"TemporaryFile(/tmp/multipartBody8353700080009738010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206944072,"filename":"image_14082025_14_25_58_9031.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/586cdd77acd51a81bffec6329e022696.jpg","text":"TemporaryFile(/tmp/multipartBody4162559307813586871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755206944072,"filename":"image_14082025_14_26_28_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377153718","file1":"1377153684","file0":"1377153648","file4":"1377153757","file5":"1377153760","file3":"1377153752"},"map_files_photo_id_array":[{"photo_id":"1377153760","filename":"file5"},{"photo_id":"1377153718","filename":"file2"},{"photo_id":"1377153757","filename":"file4"},{"photo_id":"1377153684","filename":"file1"},{"photo_id":"1377153648","filename":"file0"},{"photo_id":"1377153752","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377153760":["hashtag1","hashtag2"]},{"1377153757":["hashtag1","hashtag2"]},{"1377153718":["hashtag1","hashtag2"]},{"1377153684":["hashtag1","hashtag2"]},{"1377153648":["hashtag1","hashtag2"]},{"1377153752":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377153760, 1377153757, 1377153718, 1377153684, 1377153648, 1377153752)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.13858771324158 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:29:03.478400 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/26/image_14082025_14_26_58_9117.jpg', '/media/data/images/14082025/14/26/image_14082025_14_27_09_10694.jpg', '/media/data/images/14082025/14/27/image_14082025_14_27_18_9422.jpg', '/media/data/images/14082025/14/27/image_14082025_14_27_28_10326.jpg', '/media/data/images/14082025/14/27/image_14082025_14_27_39_10324.jpg', '/media/data/images/14082025/14/27/image_14082025_14_27_48_9091.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/26/image_14082025_14_26_58_9117.jpg /media/data/images/14082025/14/26/image_14082025_14_27_09_10694.jpg /media/data/images/14082025/14/27/image_14082025_14_27_18_9422.jpg /media/data/images/14082025/14/27/image_14082025_14_27_28_10326.jpg /media/data/images/14082025/14/27/image_14082025_14_27_39_10324.jpg /media/data/images/14082025/14/27/image_14082025_14_27_48_9091.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377153958","1377154135","1377153817","1377153882","1377154020","1377154085"],"photo_ids_order":["1377153817","1377153882","1377153958","1377154020","1377154085","1377154135"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ea7eb08b236c66f699a036064eeea73e.jpg","text":"TemporaryFile(/tmp/multipartBody7027603720131891921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207004519,"filename":"image_14082025_14_27_18_9422.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4115fadd9cc80e765afbb0d56e460443.jpg","text":"TemporaryFile(/tmp/multipartBody8680961633712149335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207004519,"filename":"image_14082025_14_27_48_9091.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/163c6e4abe6749258978539db2f3ca1d.jpg","text":"TemporaryFile(/tmp/multipartBody8343269228148825879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207004519,"filename":"image_14082025_14_26_58_9117.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cfa496638676e35191beb95e348037a5.jpg","text":"TemporaryFile(/tmp/multipartBody2790683680695991426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207004519,"filename":"image_14082025_14_27_09_10694.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e4d8aa5130364de6a42ff5def660f22c.jpg","text":"TemporaryFile(/tmp/multipartBody3945885364529489533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207004519,"filename":"image_14082025_14_27_28_10326.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ec395107eacd7d173dfd783ffe9f5489.jpg","text":"TemporaryFile(/tmp/multipartBody9084135534246471235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207004519,"filename":"image_14082025_14_27_39_10324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377153958","file1":"1377153882","file0":"1377153817","file4":"1377154085","file5":"1377154135","file3":"1377154020"},"map_files_photo_id_array":[{"photo_id":"1377154135","filename":"file5"},{"photo_id":"1377153958","filename":"file2"},{"photo_id":"1377154085","filename":"file4"},{"photo_id":"1377153882","filename":"file1"},{"photo_id":"1377153817","filename":"file0"},{"photo_id":"1377154020","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377153958":["hashtag1","hashtag2"]},{"1377154135":["hashtag1","hashtag2"]},{"1377153817":["hashtag1","hashtag2"]},{"1377153882":["hashtag1","hashtag2"]},{"1377154020":["hashtag1","hashtag2"]},{"1377154085":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377153958, 1377154135, 1377153817, 1377153882, 1377154020, 1377154085)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.21182894706726 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:30:03.324159 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/27/image_14082025_14_27_58_10346.jpg', '/media/data/images/14082025/14/28/image_14082025_14_28_09_10711.jpg', '/media/data/images/14082025/14/28/image_14082025_14_28_18_9187.jpg', '/media/data/images/14082025/14/28/image_14082025_14_28_28_10337.jpg', '/media/data/images/14082025/14/28/image_14082025_14_28_39_10305.jpg', '/media/data/images/14082025/14/28/image_14082025_14_28_48_9090.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/27/image_14082025_14_27_58_10346.jpg /media/data/images/14082025/14/28/image_14082025_14_28_09_10711.jpg /media/data/images/14082025/14/28/image_14082025_14_28_18_9187.jpg /media/data/images/14082025/14/28/image_14082025_14_28_28_10337.jpg /media/data/images/14082025/14/28/image_14082025_14_28_39_10305.jpg /media/data/images/14082025/14/28/image_14082025_14_28_48_9090.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377154462","1377154615","1377154650","1377154545","1377154503","1377154580"],"photo_ids_order":["1377154462","1377154503","1377154545","1377154580","1377154615","1377154650"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5aaa07f3007be8a7a0ca7b6276f34136.jpg","text":"TemporaryFile(/tmp/multipartBody1231736379047389080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207065820,"filename":"image_14082025_14_27_58_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/50c978743759dcd9d6e6ab83c359adad.jpg","text":"TemporaryFile(/tmp/multipartBody6723153580104750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207065820,"filename":"image_14082025_14_28_39_10305.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f0a8644cf447a120ebec5e1a6499642.jpg","text":"TemporaryFile(/tmp/multipartBody2017259195213064569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207065820,"filename":"image_14082025_14_28_48_9090.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c00337bddf656c64994006af8b9936a6.jpg","text":"TemporaryFile(/tmp/multipartBody8785166213724712808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207065820,"filename":"image_14082025_14_28_18_9187.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/79265ad0f0ed85ffdd920dc87102500f.jpg","text":"TemporaryFile(/tmp/multipartBody6933386869885412132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207065820,"filename":"image_14082025_14_28_09_10711.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3c535855eb2fe7799215dff6215abad4.jpg","text":"TemporaryFile(/tmp/multipartBody3478528623541572560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207065820,"filename":"image_14082025_14_28_28_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377154545","file1":"1377154503","file0":"1377154462","file4":"1377154615","file5":"1377154650","file3":"1377154580"},"map_files_photo_id_array":[{"photo_id":"1377154650","filename":"file5"},{"photo_id":"1377154545","filename":"file2"},{"photo_id":"1377154615","filename":"file4"},{"photo_id":"1377154503","filename":"file1"},{"photo_id":"1377154462","filename":"file0"},{"photo_id":"1377154580","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377154462":["hashtag1","hashtag2"]},{"1377154615":["hashtag1","hashtag2"]},{"1377154650":["hashtag1","hashtag2"]},{"1377154545":["hashtag1","hashtag2"]},{"1377154503":["hashtag1","hashtag2"]},{"1377154580":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377154462, 1377154615, 1377154650, 1377154545, 1377154503, 1377154580)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.91665291786194 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:31:03.440040 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/28/image_14082025_14_28_58_10327.jpg', '/media/data/images/14082025/14/29/image_14082025_14_29_09_10636.jpg', '/media/data/images/14082025/14/29/image_14082025_14_29_18_9329.jpg', '/media/data/images/14082025/14/29/image_14082025_14_29_29_10450.jpg', '/media/data/images/14082025/14/29/image_14082025_14_29_39_10384.jpg', '/media/data/images/14082025/14/29/image_14082025_14_29_48_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/28/image_14082025_14_28_58_10327.jpg /media/data/images/14082025/14/29/image_14082025_14_29_09_10636.jpg /media/data/images/14082025/14/29/image_14082025_14_29_18_9329.jpg /media/data/images/14082025/14/29/image_14082025_14_29_29_10450.jpg /media/data/images/14082025/14/29/image_14082025_14_29_39_10384.jpg /media/data/images/14082025/14/29/image_14082025_14_29_48_9123.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377154977","1377155049","1377155013","1377154902","1377154865","1377154940"],"photo_ids_order":["1377154865","1377154902","1377154940","1377154977","1377155013","1377155049"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/12f914c99c73d9c7542f741ec0c5e4c5.jpg","text":"TemporaryFile(/tmp/multipartBody1822828655957158236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207124726,"filename":"image_14082025_14_29_29_10450.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2348221b774bf9d3219047eed60d6a00.jpg","text":"TemporaryFile(/tmp/multipartBody3994682422006437784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207124726,"filename":"image_14082025_14_29_48_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6e9a9f471512df46ab2b386f8baab45d.jpg","text":"TemporaryFile(/tmp/multipartBody6733867791800262903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207124726,"filename":"image_14082025_14_29_39_10384.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/30e0cc4cf7bb1c10a26509760da027d3.jpg","text":"TemporaryFile(/tmp/multipartBody5255540234492687051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207124726,"filename":"image_14082025_14_29_09_10636.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ff6711e4c102be9445ed8914d4029d9.jpg","text":"TemporaryFile(/tmp/multipartBody1896100799858561625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207124726,"filename":"image_14082025_14_28_58_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/48dee528511f6ef4c8a6a6b016b0d177.jpg","text":"TemporaryFile(/tmp/multipartBody1925806018182606014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207124726,"filename":"image_14082025_14_29_18_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377154940","file1":"1377154902","file0":"1377154865","file4":"1377155013","file5":"1377155049","file3":"1377154977"},"map_files_photo_id_array":[{"photo_id":"1377155049","filename":"file5"},{"photo_id":"1377154940","filename":"file2"},{"photo_id":"1377155013","filename":"file4"},{"photo_id":"1377154902","filename":"file1"},{"photo_id":"1377154865","filename":"file0"},{"photo_id":"1377154977","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377154977":["hashtag1","hashtag2"]},{"1377155049":["hashtag1","hashtag2"]},{"1377155013":["hashtag1","hashtag2"]},{"1377154902":["hashtag1","hashtag2"]},{"1377154865":["hashtag1","hashtag2"]},{"1377154940":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377154977, 1377155049, 1377155013, 1377154902, 1377154865, 1377154940)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.338299036026 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:32:02.434123 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/29/image_14082025_14_29_58_10319.jpg', '/media/data/images/14082025/14/30/image_14082025_14_30_08_9426.jpg', '/media/data/images/14082025/14/30/image_14082025_14_30_18_10433.jpg', '/media/data/images/14082025/14/30/image_14082025_14_30_29_10454.jpg', '/media/data/images/14082025/14/30/image_14082025_14_30_38_9209.jpg', '/media/data/images/14082025/14/30/image_14082025_14_30_48_10268.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/29/image_14082025_14_29_58_10319.jpg /media/data/images/14082025/14/30/image_14082025_14_30_08_9426.jpg /media/data/images/14082025/14/30/image_14082025_14_30_18_10433.jpg /media/data/images/14082025/14/30/image_14082025_14_30_29_10454.jpg /media/data/images/14082025/14/30/image_14082025_14_30_38_9209.jpg /media/data/images/14082025/14/30/image_14082025_14_30_48_10268.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377155241","1377155255","1377155243","1377155251","1377155245","1377155248"],"photo_ids_order":["1377155241","1377155243","1377155245","1377155248","1377155251","1377155255"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ae36f9cb4658cb46f4fb2d09db7d8a23.jpg","text":"TemporaryFile(/tmp/multipartBody3198905085481088466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207183514,"filename":"image_14082025_14_29_58_10319.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c1f21d1437d5d68d4e58193c83a44d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6661220410011156396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207183514,"filename":"image_14082025_14_30_48_10268.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92fd212ecf6486d11161859e0377d878.jpg","text":"TemporaryFile(/tmp/multipartBody5603643909694076786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207183514,"filename":"image_14082025_14_30_08_9426.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c72fd7ed2c91ec7d4c1ff0bff2c55b38.jpg","text":"TemporaryFile(/tmp/multipartBody4951406063939189301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207183514,"filename":"image_14082025_14_30_38_9209.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8204562cc13e75273dbc931a3040a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8986159693618790947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207183514,"filename":"image_14082025_14_30_18_10433.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a56da22b88994edbe0eaf0e56dfb20f7.jpg","text":"TemporaryFile(/tmp/multipartBody1026078658294702861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207183514,"filename":"image_14082025_14_30_29_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377155245","file1":"1377155243","file0":"1377155241","file4":"1377155251","file5":"1377155255","file3":"1377155248"},"map_files_photo_id_array":[{"photo_id":"1377155255","filename":"file5"},{"photo_id":"1377155245","filename":"file2"},{"photo_id":"1377155251","filename":"file4"},{"photo_id":"1377155243","filename":"file1"},{"photo_id":"1377155241","filename":"file0"},{"photo_id":"1377155248","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377155241":["hashtag1","hashtag2"]},{"1377155255":["hashtag1","hashtag2"]},{"1377155243":["hashtag1","hashtag2"]},{"1377155251":["hashtag1","hashtag2"]},{"1377155245":["hashtag1","hashtag2"]},{"1377155248":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377155241, 1377155255, 1377155243, 1377155251, 1377155245, 1377155248)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.07594585418701 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:33:02.762614 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/30/image_14082025_14_30_59_10620.jpg', '/media/data/images/14082025/14/31/image_14082025_14_31_08_9198.jpg', '/media/data/images/14082025/14/31/image_14082025_14_31_18_10407.jpg', '/media/data/images/14082025/14/31/image_14082025_14_31_29_10283.jpg', '/media/data/images/14082025/14/31/image_14082025_14_31_39_10269.jpg', '/media/data/images/14082025/14/31/image_14082025_14_31_48_9087.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/30/image_14082025_14_30_59_10620.jpg /media/data/images/14082025/14/31/image_14082025_14_31_08_9198.jpg /media/data/images/14082025/14/31/image_14082025_14_31_18_10407.jpg /media/data/images/14082025/14/31/image_14082025_14_31_29_10283.jpg /media/data/images/14082025/14/31/image_14082025_14_31_39_10269.jpg /media/data/images/14082025/14/31/image_14082025_14_31_48_9087.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377155503","1377155568","1377155277","1377155358","1377155424","1377155300"],"photo_ids_order":["1377155277","1377155300","1377155358","1377155424","1377155503","1377155568"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/318fbcd2044b0815ede9abf583a66232.jpg","text":"TemporaryFile(/tmp/multipartBody2458376268861647022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207243833,"filename":"image_14082025_14_31_39_10269.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f87dfb64367d9ec3e368289bb8bc7fe0.jpg","text":"TemporaryFile(/tmp/multipartBody7436186366740695038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207243833,"filename":"image_14082025_14_31_48_9087.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e6653731b3a450bb12471f089bdd288e.jpg","text":"TemporaryFile(/tmp/multipartBody4145877156181111747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207243833,"filename":"image_14082025_14_30_59_10620.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9cbe84c388dd721676f4471d80ea2e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8469748488494419446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207243833,"filename":"image_14082025_14_31_18_10407.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d6ef3f90f3b2af591d732c410b179a27.jpg","text":"TemporaryFile(/tmp/multipartBody5934545198723016959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207243833,"filename":"image_14082025_14_31_29_10283.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be42310c2ffeffe70c541c1c69cc864e.jpg","text":"TemporaryFile(/tmp/multipartBody4006453113836592483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207243833,"filename":"image_14082025_14_31_08_9198.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377155358","file1":"1377155300","file0":"1377155277","file4":"1377155503","file5":"1377155568","file3":"1377155424"},"map_files_photo_id_array":[{"photo_id":"1377155568","filename":"file5"},{"photo_id":"1377155358","filename":"file2"},{"photo_id":"1377155503","filename":"file4"},{"photo_id":"1377155300","filename":"file1"},{"photo_id":"1377155277","filename":"file0"},{"photo_id":"1377155424","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377155503":["hashtag1","hashtag2"]},{"1377155568":["hashtag1","hashtag2"]},{"1377155277":["hashtag1","hashtag2"]},{"1377155358":["hashtag1","hashtag2"]},{"1377155424":["hashtag1","hashtag2"]},{"1377155300":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377155503, 1377155568, 1377155277, 1377155358, 1377155424, 1377155300)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.95314836502075 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:34:02.847723 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/31/image_14082025_14_31_58_10280.jpg', '/media/data/images/14082025/14/32/image_14082025_14_32_09_10356.jpg', '/media/data/images/14082025/14/32/image_14082025_14_32_19_10281.jpg', '/media/data/images/14082025/14/32/image_14082025_14_32_28_9090.jpg', '/media/data/images/14082025/14/32/image_14082025_14_32_38_10358.jpg', '/media/data/images/14082025/14/32/image_14082025_14_32_49_10369.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/31/image_14082025_14_31_58_10280.jpg /media/data/images/14082025/14/32/image_14082025_14_32_09_10356.jpg /media/data/images/14082025/14/32/image_14082025_14_32_19_10281.jpg /media/data/images/14082025/14/32/image_14082025_14_32_28_9090.jpg /media/data/images/14082025/14/32/image_14082025_14_32_38_10358.jpg /media/data/images/14082025/14/32/image_14082025_14_32_49_10369.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377155937","1377156134","1377156005","1377155866","1377156075","1377156042"],"photo_ids_order":["1377155866","1377155937","1377156005","1377156042","1377156075","1377156134"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9f2574c0eb955954bdba1c40b88c6d99.jpg","text":"TemporaryFile(/tmp/multipartBody8877104202882399104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207303969,"filename":"image_14082025_14_32_09_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/92745e996c3dbebe1af77e17b75a5df2.jpg","text":"TemporaryFile(/tmp/multipartBody6942219818640221261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207303969,"filename":"image_14082025_14_32_49_10369.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fd5b0997cf0bc4b8d84a52d4de34d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody7062343349922827971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207303969,"filename":"image_14082025_14_32_19_10281.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ac72f83e523d75b430a5287cf6e91d69.jpg","text":"TemporaryFile(/tmp/multipartBody7738268757537420696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207303969,"filename":"image_14082025_14_31_58_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/115c90ab6c492e77d47381fdd8850e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5928502279561666961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207303969,"filename":"image_14082025_14_32_38_10358.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7230d2129a5f513ea3975842d2421451.jpg","text":"TemporaryFile(/tmp/multipartBody1136173965839475165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207303969,"filename":"image_14082025_14_32_28_9090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377156005","file1":"1377155937","file0":"1377155866","file4":"1377156075","file5":"1377156134","file3":"1377156042"},"map_files_photo_id_array":[{"photo_id":"1377156134","filename":"file5"},{"photo_id":"1377156005","filename":"file2"},{"photo_id":"1377156075","filename":"file4"},{"photo_id":"1377155937","filename":"file1"},{"photo_id":"1377155866","filename":"file0"},{"photo_id":"1377156042","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377155937":["hashtag1","hashtag2"]},{"1377156134":["hashtag1","hashtag2"]},{"1377156005":["hashtag1","hashtag2"]},{"1377155866":["hashtag1","hashtag2"]},{"1377156075":["hashtag1","hashtag2"]},{"1377156042":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377155937, 1377156134, 1377156005, 1377155866, 1377156075, 1377156042)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.15596055984497 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:35:03.054120 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/32/image_14082025_14_32_58_9054.jpg', '/media/data/images/14082025/14/32/image_14082025_14_33_08_10587.jpg', '/media/data/images/14082025/14/33/image_14082025_14_33_19_10360.jpg', '/media/data/images/14082025/14/33/image_14082025_14_33_28_9040.jpg', '/media/data/images/14082025/14/33/image_14082025_14_33_38_10294.jpg', '/media/data/images/14082025/14/33/image_14082025_14_33_48_10280.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/32/image_14082025_14_32_58_9054.jpg /media/data/images/14082025/14/32/image_14082025_14_33_08_10587.jpg /media/data/images/14082025/14/33/image_14082025_14_33_19_10360.jpg /media/data/images/14082025/14/33/image_14082025_14_33_28_9040.jpg /media/data/images/14082025/14/33/image_14082025_14_33_38_10294.jpg /media/data/images/14082025/14/33/image_14082025_14_33_48_10280.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377156330","1377156341","1377156335","1377156338","1377156343","1377156346"],"photo_ids_order":["1377156330","1377156335","1377156338","1377156341","1377156343","1377156346"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e595e4e4fd22c54f16bb52ef2cea6e87.jpg","text":"TemporaryFile(/tmp/multipartBody2056755478316002745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207364155,"filename":"image_14082025_14_32_58_9054.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8663c072dbddc44963c01cdd2ed1e1c0.jpg","text":"TemporaryFile(/tmp/multipartBody223196517973084988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207364155,"filename":"image_14082025_14_33_28_9040.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/71459f63b272e77708e511f1adc84c64.jpg","text":"TemporaryFile(/tmp/multipartBody9102306231006398547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207364155,"filename":"image_14082025_14_33_08_10587.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/38ebbfa3f47e06618983be51a1fe0cac.jpg","text":"TemporaryFile(/tmp/multipartBody6055811759984647434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207364155,"filename":"image_14082025_14_33_19_10360.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2a6930c6abdd8e470b7b354def6b2270.jpg","text":"TemporaryFile(/tmp/multipartBody1701790115975798186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207364155,"filename":"image_14082025_14_33_38_10294.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4f41543eab2d94a25f6a630dd7315c70.jpg","text":"TemporaryFile(/tmp/multipartBody7744655528262985715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207364155,"filename":"image_14082025_14_33_48_10280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377156338","file1":"1377156335","file0":"1377156330","file4":"1377156343","file5":"1377156346","file3":"1377156341"},"map_files_photo_id_array":[{"photo_id":"1377156346","filename":"file5"},{"photo_id":"1377156338","filename":"file2"},{"photo_id":"1377156343","filename":"file4"},{"photo_id":"1377156335","filename":"file1"},{"photo_id":"1377156330","filename":"file0"},{"photo_id":"1377156341","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377156330":["hashtag1","hashtag2"]},{"1377156341":["hashtag1","hashtag2"]},{"1377156335":["hashtag1","hashtag2"]},{"1377156338":["hashtag1","hashtag2"]},{"1377156343":["hashtag1","hashtag2"]},{"1377156346":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377156330, 1377156341, 1377156335, 1377156338, 1377156343, 1377156346)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.65133571624756 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:36:03.042338 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/33/image_14082025_14_33_59_10391.jpg', '/media/data/images/14082025/14/34/image_14082025_14_34_08_9223.jpg', '/media/data/images/14082025/14/34/image_14082025_14_34_18_10362.jpg', '/media/data/images/14082025/14/34/image_14082025_14_34_29_10308.jpg', '/media/data/images/14082025/14/34/image_14082025_14_34_39_10256.jpg', '/media/data/images/14082025/14/34/image_14082025_14_34_48_9210.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/33/image_14082025_14_33_59_10391.jpg /media/data/images/14082025/14/34/image_14082025_14_34_08_9223.jpg /media/data/images/14082025/14/34/image_14082025_14_34_18_10362.jpg /media/data/images/14082025/14/34/image_14082025_14_34_29_10308.jpg /media/data/images/14082025/14/34/image_14082025_14_34_39_10256.jpg /media/data/images/14082025/14/34/image_14082025_14_34_48_9210.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377156621","1377156609","1377156578","1377156512","1377156472","1377156544"],"photo_ids_order":["1377156472","1377156512","1377156544","1377156578","1377156609","1377156621"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73569528243c7700a17e18b0107efe4f.jpg","text":"TemporaryFile(/tmp/multipartBody8594373194317309055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207424108,"filename":"image_14082025_14_34_48_9210.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b440e4b99fdea8250f3066263b6e5d20.jpg","text":"TemporaryFile(/tmp/multipartBody7650788438369998083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207424108,"filename":"image_14082025_14_34_39_10256.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0473a9d6dc4692a2d62f10bfcd63f78f.jpg","text":"TemporaryFile(/tmp/multipartBody5308473689391887268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207424108,"filename":"image_14082025_14_34_29_10308.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/22b7e402bd1934257954dce3f4947134.jpg","text":"TemporaryFile(/tmp/multipartBody1456893863594146872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207424108,"filename":"image_14082025_14_34_08_9223.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8b3894d2c1bcd589e1b1a1856c2ca52b.jpg","text":"TemporaryFile(/tmp/multipartBody8815738212256125942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207424108,"filename":"image_14082025_14_33_59_10391.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c0a048d45a97df0d964441d1d03877a2.jpg","text":"TemporaryFile(/tmp/multipartBody6502467674021705724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207424108,"filename":"image_14082025_14_34_18_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377156544","file1":"1377156512","file0":"1377156472","file4":"1377156609","file5":"1377156621","file3":"1377156578"},"map_files_photo_id_array":[{"photo_id":"1377156621","filename":"file5"},{"photo_id":"1377156544","filename":"file2"},{"photo_id":"1377156609","filename":"file4"},{"photo_id":"1377156512","filename":"file1"},{"photo_id":"1377156472","filename":"file0"},{"photo_id":"1377156578","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377156621":["hashtag1","hashtag2"]},{"1377156609":["hashtag1","hashtag2"]},{"1377156578":["hashtag1","hashtag2"]},{"1377156512":["hashtag1","hashtag2"]},{"1377156472":["hashtag1","hashtag2"]},{"1377156544":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377156621, 1377156609, 1377156578, 1377156512, 1377156472, 1377156544)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.58865308761597 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:37:03.423802 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/35/image_14082025_14_35_09_10295.jpg', '/media/data/images/14082025/14/35/image_14082025_14_35_18_9251.jpg', '/media/data/images/14082025/14/35/image_14082025_14_35_29_10398.jpg', '/media/data/images/14082025/14/35/image_14082025_14_35_39_10465.jpg', '/media/data/images/14082025/14/35/image_14082025_14_35_48_9122.jpg', '/media/data/images/14082025/14/35/image_14082025_14_35_58_10339.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/35/image_14082025_14_35_09_10295.jpg /media/data/images/14082025/14/35/image_14082025_14_35_18_9251.jpg /media/data/images/14082025/14/35/image_14082025_14_35_29_10398.jpg /media/data/images/14082025/14/35/image_14082025_14_35_39_10465.jpg /media/data/images/14082025/14/35/image_14082025_14_35_48_9122.jpg /media/data/images/14082025/14/35/image_14082025_14_35_58_10339.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377156822","1377156695","1377156790","1377156727","1377156756","1377156858"],"photo_ids_order":["1377156695","1377156727","1377156756","1377156790","1377156822","1377156858"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/faa286a791c2c54bf775bce84d5f3b19.jpg","text":"TemporaryFile(/tmp/multipartBody5764762490369454477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207484423,"filename":"image_14082025_14_35_48_9122.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8e071a24b8ebaeb77c8668d8b4f768d2.jpg","text":"TemporaryFile(/tmp/multipartBody2755913645778625505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207484423,"filename":"image_14082025_14_35_09_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/33a1c76c17e537dfa2e6af88cc7de134.jpg","text":"TemporaryFile(/tmp/multipartBody8755711135084233976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207484423,"filename":"image_14082025_14_35_39_10465.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3359b238aa831ae1254dc9418ab0e559.jpg","text":"TemporaryFile(/tmp/multipartBody502076300764818312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207484423,"filename":"image_14082025_14_35_18_9251.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1fd4dd5444f361f79f1269bf6ca5b39d.jpg","text":"TemporaryFile(/tmp/multipartBody3519652303414910582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207484423,"filename":"image_14082025_14_35_29_10398.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/da31bc4bc5dddcd4359ea0c29cbe5313.jpg","text":"TemporaryFile(/tmp/multipartBody2817675885807800450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207484423,"filename":"image_14082025_14_35_58_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377156756","file1":"1377156727","file0":"1377156695","file4":"1377156822","file5":"1377156858","file3":"1377156790"},"map_files_photo_id_array":[{"photo_id":"1377156858","filename":"file5"},{"photo_id":"1377156756","filename":"file2"},{"photo_id":"1377156822","filename":"file4"},{"photo_id":"1377156727","filename":"file1"},{"photo_id":"1377156695","filename":"file0"},{"photo_id":"1377156790","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377156822":["hashtag1","hashtag2"]},{"1377156695":["hashtag1","hashtag2"]},{"1377156790":["hashtag1","hashtag2"]},{"1377156727":["hashtag1","hashtag2"]},{"1377156756":["hashtag1","hashtag2"]},{"1377156858":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377156822, 1377156695, 1377156790, 1377156727, 1377156756, 1377156858)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.72993469238281 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:38:03.277734 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/36/image_14082025_14_36_09_10414.jpg', '/media/data/images/14082025/14/36/image_14082025_14_36_18_9139.jpg', '/media/data/images/14082025/14/36/image_14082025_14_36_28_10400.jpg', '/media/data/images/14082025/14/36/image_14082025_14_36_39_10435.jpg', '/media/data/images/14082025/14/36/image_14082025_14_36_48_9182.jpg', '/media/data/images/14082025/14/36/image_14082025_14_36_58_10314.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/36/image_14082025_14_36_09_10414.jpg /media/data/images/14082025/14/36/image_14082025_14_36_18_9139.jpg /media/data/images/14082025/14/36/image_14082025_14_36_28_10400.jpg /media/data/images/14082025/14/36/image_14082025_14_36_39_10435.jpg /media/data/images/14082025/14/36/image_14082025_14_36_48_9182.jpg /media/data/images/14082025/14/36/image_14082025_14_36_58_10314.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377157206","1377157097","1377157064","1377157133","1377157168","1377157243"],"photo_ids_order":["1377157064","1377157097","1377157133","1377157168","1377157206","1377157243"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7e60ed6b6a6c1d0bc523476c0425193.jpg","text":"TemporaryFile(/tmp/multipartBody1422993352214896666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207544296,"filename":"image_14082025_14_36_48_9182.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5b4e3de6e1dc087a0dfb98de313023ac.jpg","text":"TemporaryFile(/tmp/multipartBody470078837253242914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207544296,"filename":"image_14082025_14_36_18_9139.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16d59dd0cd5b01132705d7484947275a.jpg","text":"TemporaryFile(/tmp/multipartBody9162236783619272139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207544296,"filename":"image_14082025_14_36_09_10414.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/77d24ed104b4cb2ab86d83b90d08f946.jpg","text":"TemporaryFile(/tmp/multipartBody3418586333719522037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207544296,"filename":"image_14082025_14_36_28_10400.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ab707dd52029ffd1856e0ff143f5fff.jpg","text":"TemporaryFile(/tmp/multipartBody6234266954790576032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207544296,"filename":"image_14082025_14_36_39_10435.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2dc3d3b96601dc4217119c78bc708f43.jpg","text":"TemporaryFile(/tmp/multipartBody3824467401860296243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207544296,"filename":"image_14082025_14_36_58_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377157133","file1":"1377157097","file0":"1377157064","file4":"1377157206","file5":"1377157243","file3":"1377157168"},"map_files_photo_id_array":[{"photo_id":"1377157243","filename":"file5"},{"photo_id":"1377157133","filename":"file2"},{"photo_id":"1377157206","filename":"file4"},{"photo_id":"1377157097","filename":"file1"},{"photo_id":"1377157064","filename":"file0"},{"photo_id":"1377157168","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377157206":["hashtag1","hashtag2"]},{"1377157097":["hashtag1","hashtag2"]},{"1377157064":["hashtag1","hashtag2"]},{"1377157133":["hashtag1","hashtag2"]},{"1377157168":["hashtag1","hashtag2"]},{"1377157243":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377157206, 1377157097, 1377157064, 1377157133, 1377157168, 1377157243)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 43.27230930328369 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:39:03.648562 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/37/image_14082025_14_37_09_10456.jpg', '/media/data/images/14082025/14/37/image_14082025_14_37_18_9137.jpg', '/media/data/images/14082025/14/37/image_14082025_14_37_28_10334.jpg', '/media/data/images/14082025/14/37/image_14082025_14_37_39_10325.jpg', '/media/data/images/14082025/14/37/image_14082025_14_37_49_10471.jpg', '/media/data/images/14082025/14/37/image_14082025_14_37_58_9064.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/37/image_14082025_14_37_09_10456.jpg /media/data/images/14082025/14/37/image_14082025_14_37_18_9137.jpg /media/data/images/14082025/14/37/image_14082025_14_37_28_10334.jpg /media/data/images/14082025/14/37/image_14082025_14_37_39_10325.jpg /media/data/images/14082025/14/37/image_14082025_14_37_49_10471.jpg /media/data/images/14082025/14/37/image_14082025_14_37_58_9064.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377157634","1377157904","1377158032","1377158166","1377157770","1377158270"],"photo_ids_order":["1377157634","1377157770","1377157904","1377158032","1377158166","1377158270"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6b48b75509ce71fe7c608f42d5cb216b.jpg","text":"TemporaryFile(/tmp/multipartBody1107099850792325104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207604705,"filename":"image_14082025_14_37_09_10456.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/883b98fa7387e8547b5a94b8436300b9.jpg","text":"TemporaryFile(/tmp/multipartBody1046308518206019882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207604705,"filename":"image_14082025_14_37_28_10334.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f01dd25ccfab6b43a4cbd1dcfa1162d.jpg","text":"TemporaryFile(/tmp/multipartBody158504136592539520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207604705,"filename":"image_14082025_14_37_39_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aa04cf6ff8d1533b614264fd4ab94fae.jpg","text":"TemporaryFile(/tmp/multipartBody701292372111886169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207604705,"filename":"image_14082025_14_37_49_10471.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/94d7faeb1c72a4fdc4d505edfd0d2bf4.jpg","text":"TemporaryFile(/tmp/multipartBody564415556768942048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207604705,"filename":"image_14082025_14_37_18_9137.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c799cd1c4069cc2262d02218f527f7bc.jpg","text":"TemporaryFile(/tmp/multipartBody6319081615607145158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207604705,"filename":"image_14082025_14_37_58_9064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377157904","file1":"1377157770","file0":"1377157634","file4":"1377158166","file5":"1377158270","file3":"1377158032"},"map_files_photo_id_array":[{"photo_id":"1377158270","filename":"file5"},{"photo_id":"1377157904","filename":"file2"},{"photo_id":"1377158166","filename":"file4"},{"photo_id":"1377157770","filename":"file1"},{"photo_id":"1377157634","filename":"file0"},{"photo_id":"1377158032","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377157634":["hashtag1","hashtag2"]},{"1377157904":["hashtag1","hashtag2"]},{"1377158032":["hashtag1","hashtag2"]},{"1377158166":["hashtag1","hashtag2"]},{"1377157770":["hashtag1","hashtag2"]},{"1377158270":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377157634, 1377157904, 1377158032, 1377158166, 1377157770, 1377158270)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.53954601287842 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:40:03.469686 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/38/image_14082025_14_38_09_10689.jpg', '/media/data/images/14082025/14/38/image_14082025_14_38_18_9185.jpg', '/media/data/images/14082025/14/38/image_14082025_14_38_28_10384.jpg', '/media/data/images/14082025/14/38/image_14082025_14_38_39_10361.jpg', '/media/data/images/14082025/14/38/image_14082025_14_38_48_9215.jpg', '/media/data/images/14082025/14/38/image_14082025_14_38_58_10295.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/38/image_14082025_14_38_09_10689.jpg /media/data/images/14082025/14/38/image_14082025_14_38_18_9185.jpg /media/data/images/14082025/14/38/image_14082025_14_38_28_10384.jpg /media/data/images/14082025/14/38/image_14082025_14_38_39_10361.jpg /media/data/images/14082025/14/38/image_14082025_14_38_48_9215.jpg /media/data/images/14082025/14/38/image_14082025_14_38_58_10295.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377158720","1377158734","1377158716","1377158727","1377158730","1377158723"],"photo_ids_order":["1377158716","1377158720","1377158723","1377158727","1377158730","1377158734"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a1d1dfdd67cc0f961025c88b812c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8900581048730695494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207664568,"filename":"image_14082025_14_38_18_9185.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c98a53e7019e607392670ba3b580f86.jpg","text":"TemporaryFile(/tmp/multipartBody7361068027248475499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207664568,"filename":"image_14082025_14_38_58_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a68e6963b307e8691445ae59393edd7.jpg","text":"TemporaryFile(/tmp/multipartBody4434682077969084092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207664568,"filename":"image_14082025_14_38_09_10689.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d84ba89677bb1068a2587f0d1a19252.jpg","text":"TemporaryFile(/tmp/multipartBody4640669686132407228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207664568,"filename":"image_14082025_14_38_39_10361.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f9002961f436d0be93bbb56372c2481b.jpg","text":"TemporaryFile(/tmp/multipartBody6968114448924049734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207664568,"filename":"image_14082025_14_38_48_9215.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bc7baebd7fab7396650ab766c77292a0.jpg","text":"TemporaryFile(/tmp/multipartBody8490415810115405141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207664568,"filename":"image_14082025_14_38_28_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377158723","file1":"1377158720","file0":"1377158716","file4":"1377158730","file5":"1377158734","file3":"1377158727"},"map_files_photo_id_array":[{"photo_id":"1377158734","filename":"file5"},{"photo_id":"1377158723","filename":"file2"},{"photo_id":"1377158730","filename":"file4"},{"photo_id":"1377158720","filename":"file1"},{"photo_id":"1377158716","filename":"file0"},{"photo_id":"1377158727","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377158720":["hashtag1","hashtag2"]},{"1377158734":["hashtag1","hashtag2"]},{"1377158716":["hashtag1","hashtag2"]},{"1377158727":["hashtag1","hashtag2"]},{"1377158730":["hashtag1","hashtag2"]},{"1377158723":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377158720, 1377158734, 1377158716, 1377158727, 1377158730, 1377158723)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.54027819633484 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:41:02.647566 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/39/image_14082025_14_39_09_10378.jpg', '/media/data/images/14082025/14/39/image_14082025_14_39_19_10313.jpg', '/media/data/images/14082025/14/39/image_14082025_14_39_28_9069.jpg', '/media/data/images/14082025/14/39/image_14082025_14_39_38_10259.jpg', '/media/data/images/14082025/14/39/image_14082025_14_39_49_10417.jpg', '/media/data/images/14082025/14/39/image_14082025_14_39_59_10263.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/39/image_14082025_14_39_09_10378.jpg /media/data/images/14082025/14/39/image_14082025_14_39_19_10313.jpg /media/data/images/14082025/14/39/image_14082025_14_39_28_9069.jpg /media/data/images/14082025/14/39/image_14082025_14_39_38_10259.jpg /media/data/images/14082025/14/39/image_14082025_14_39_49_10417.jpg /media/data/images/14082025/14/39/image_14082025_14_39_59_10263.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377159454","1377159184","1377159420","1377159336","1377159258","1377159299"],"photo_ids_order":["1377159184","1377159258","1377159299","1377159336","1377159420","1377159454"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1568124667fc0b89405afebc2e1d4b51.jpg","text":"TemporaryFile(/tmp/multipartBody1353430383815410605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207723810,"filename":"image_14082025_14_39_59_10263.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/07c7efa1755fb6757a1c0cd3923003c7.jpg","text":"TemporaryFile(/tmp/multipartBody4670209030857219771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207723810,"filename":"image_14082025_14_39_09_10378.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d9d28ebaa6e9f6e7c9f9f01aa453735d.jpg","text":"TemporaryFile(/tmp/multipartBody6547240495640216540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207723810,"filename":"image_14082025_14_39_49_10417.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0551819526de81052e30e96236808816.jpg","text":"TemporaryFile(/tmp/multipartBody8800119836569167033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207723810,"filename":"image_14082025_14_39_38_10259.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/902a6336bf7762ce8cea584fef106a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6615555881694097112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207723810,"filename":"image_14082025_14_39_19_10313.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6fe6b1328a948711539d3bc2a6c54ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4434769854140421024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207723810,"filename":"image_14082025_14_39_28_9069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377159299","file1":"1377159258","file0":"1377159184","file4":"1377159420","file5":"1377159454","file3":"1377159336"},"map_files_photo_id_array":[{"photo_id":"1377159454","filename":"file5"},{"photo_id":"1377159299","filename":"file2"},{"photo_id":"1377159420","filename":"file4"},{"photo_id":"1377159258","filename":"file1"},{"photo_id":"1377159184","filename":"file0"},{"photo_id":"1377159336","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377159454":["hashtag1","hashtag2"]},{"1377159184":["hashtag1","hashtag2"]},{"1377159420":["hashtag1","hashtag2"]},{"1377159336":["hashtag1","hashtag2"]},{"1377159258":["hashtag1","hashtag2"]},{"1377159299":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377159454, 1377159184, 1377159420, 1377159336, 1377159258, 1377159299)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.65533232688904 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:42:02.774163 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/40/image_14082025_14_40_08_9280.jpg', '/media/data/images/14082025/14/40/image_14082025_14_40_19_10410.jpg', '/media/data/images/14082025/14/40/image_14082025_14_40_29_10366.jpg', '/media/data/images/14082025/14/40/image_14082025_14_40_38_9165.jpg', '/media/data/images/14082025/14/40/image_14082025_14_40_59_10265.jpg', '/media/data/images/14082025/14/41/image_14082025_14_41_08_9332.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/40/image_14082025_14_40_08_9280.jpg /media/data/images/14082025/14/40/image_14082025_14_40_19_10410.jpg /media/data/images/14082025/14/40/image_14082025_14_40_29_10366.jpg /media/data/images/14082025/14/40/image_14082025_14_40_38_9165.jpg /media/data/images/14082025/14/40/image_14082025_14_40_59_10265.jpg /media/data/images/14082025/14/41/image_14082025_14_41_08_9332.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377159970","1377159772","1377159936","1377159825","1377159899","1377159863"],"photo_ids_order":["1377159772","1377159825","1377159863","1377159899","1377159936","1377159970"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1207716dc47cc14fc255c8a2fa5db74f.jpg","text":"TemporaryFile(/tmp/multipartBody8520271134229578195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207784141,"filename":"image_14082025_14_41_08_9332.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/45920cf9aaaf0d41ce43a9d0f36d5930.jpg","text":"TemporaryFile(/tmp/multipartBody4035664940212416270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207784141,"filename":"image_14082025_14_40_08_9280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/648978f77479561adf232922c491a398.jpg","text":"TemporaryFile(/tmp/multipartBody8662739058578400348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207784141,"filename":"image_14082025_14_40_59_10265.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d1a82dae005ae43bc109410f03d7c539.jpg","text":"TemporaryFile(/tmp/multipartBody6510963572278986934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207784141,"filename":"image_14082025_14_40_19_10410.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/887443c426cefe3f8cc9cfc895e2fb52.jpg","text":"TemporaryFile(/tmp/multipartBody6579404955819502424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207784141,"filename":"image_14082025_14_40_38_9165.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ddb838a2342660e728747880b84dc129.jpg","text":"TemporaryFile(/tmp/multipartBody8888687720702151493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207784141,"filename":"image_14082025_14_40_29_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377159863","file1":"1377159825","file0":"1377159772","file4":"1377159936","file5":"1377159970","file3":"1377159899"},"map_files_photo_id_array":[{"photo_id":"1377159970","filename":"file5"},{"photo_id":"1377159863","filename":"file2"},{"photo_id":"1377159936","filename":"file4"},{"photo_id":"1377159825","filename":"file1"},{"photo_id":"1377159772","filename":"file0"},{"photo_id":"1377159899","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377159970":["hashtag1","hashtag2"]},{"1377159772":["hashtag1","hashtag2"]},{"1377159936":["hashtag1","hashtag2"]},{"1377159825":["hashtag1","hashtag2"]},{"1377159899":["hashtag1","hashtag2"]},{"1377159863":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377159970, 1377159772, 1377159936, 1377159825, 1377159899, 1377159863)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.907296895980835 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:43:03.024692 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/41/image_14082025_14_41_18_10346.jpg', '/media/data/images/14082025/14/41/image_14082025_14_41_29_10284.jpg', '/media/data/images/14082025/14/41/image_14082025_14_41_39_10365.jpg', '/media/data/images/14082025/14/41/image_14082025_14_41_48_9164.jpg', '/media/data/images/14082025/14/41/image_14082025_14_41_58_10327.jpg', '/media/data/images/14082025/14/42/image_14082025_14_42_09_10509.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/41/image_14082025_14_41_18_10346.jpg /media/data/images/14082025/14/41/image_14082025_14_41_29_10284.jpg /media/data/images/14082025/14/41/image_14082025_14_41_39_10365.jpg /media/data/images/14082025/14/41/image_14082025_14_41_48_9164.jpg /media/data/images/14082025/14/41/image_14082025_14_41_58_10327.jpg /media/data/images/14082025/14/42/image_14082025_14_42_09_10509.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377160270","1377160195","1377160234","1377160342","1377160306","1377160377"],"photo_ids_order":["1377160195","1377160234","1377160270","1377160306","1377160342","1377160377"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4eb387d22787e07a1a9ebdb61ff4d19f.jpg","text":"TemporaryFile(/tmp/multipartBody519258132197596258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207844125,"filename":"image_14082025_14_41_39_10365.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f791884b6416621e984630ee30241ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8158976928101539439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207844125,"filename":"image_14082025_14_41_18_10346.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/870d801b716b8d2381c9472cffcf2bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3413108107871404541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207844125,"filename":"image_14082025_14_41_29_10284.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/052ceb3472025c14ecbcd0ad42e2da2c.jpg","text":"TemporaryFile(/tmp/multipartBody9087603303230894451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207844125,"filename":"image_14082025_14_41_58_10327.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c7d6d820727cabc1db7dcf08f23e07d.jpg","text":"TemporaryFile(/tmp/multipartBody1723841749814024069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207844125,"filename":"image_14082025_14_41_48_9164.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/91631db7249e4644a36324b26cbaf513.jpg","text":"TemporaryFile(/tmp/multipartBody4517039951933437543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207844125,"filename":"image_14082025_14_42_09_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377160270","file1":"1377160234","file0":"1377160195","file4":"1377160342","file5":"1377160377","file3":"1377160306"},"map_files_photo_id_array":[{"photo_id":"1377160377","filename":"file5"},{"photo_id":"1377160270","filename":"file2"},{"photo_id":"1377160342","filename":"file4"},{"photo_id":"1377160234","filename":"file1"},{"photo_id":"1377160195","filename":"file0"},{"photo_id":"1377160306","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377160270":["hashtag1","hashtag2"]},{"1377160195":["hashtag1","hashtag2"]},{"1377160234":["hashtag1","hashtag2"]},{"1377160342":["hashtag1","hashtag2"]},{"1377160306":["hashtag1","hashtag2"]},{"1377160377":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377160270, 1377160195, 1377160234, 1377160342, 1377160306, 1377160377)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.708040714263916 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:44:02.979333 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/42/image_14082025_14_42_18_9142.jpg', '/media/data/images/14082025/14/42/image_14082025_14_42_29_10385.jpg', '/media/data/images/14082025/14/42/image_14082025_14_42_58_10384.jpg', '/media/data/images/14082025/14/43/image_14082025_14_43_08_10239.jpg', '/media/data/images/14082025/14/43/image_14082025_14_43_19_10356.jpg', '/media/data/images/14082025/14/43/image_14082025_14_43_28_9151.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/42/image_14082025_14_42_18_9142.jpg /media/data/images/14082025/14/42/image_14082025_14_42_29_10385.jpg /media/data/images/14082025/14/42/image_14082025_14_42_58_10384.jpg /media/data/images/14082025/14/43/image_14082025_14_43_08_10239.jpg /media/data/images/14082025/14/43/image_14082025_14_43_19_10356.jpg /media/data/images/14082025/14/43/image_14082025_14_43_28_9151.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377160596","1377160782","1377160635","1377160710","1377160745","1377160676"],"photo_ids_order":["1377160596","1377160635","1377160676","1377160710","1377160745","1377160782"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d45547bb06a85a040d395dd43a3ae6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4751999738569816255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207904036,"filename":"image_14082025_14_42_18_9142.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5c4de7566af063c5f38da4c0391b0186.jpg","text":"TemporaryFile(/tmp/multipartBody3425312623147823606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207904036,"filename":"image_14082025_14_43_28_9151.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5718394ad7e6cf2915867b2933fde654.jpg","text":"TemporaryFile(/tmp/multipartBody9012142912233981350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207904036,"filename":"image_14082025_14_42_29_10385.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/36b257e64bf5ad6ca1c863a4bab79012.jpg","text":"TemporaryFile(/tmp/multipartBody4784674401915518655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207904036,"filename":"image_14082025_14_43_08_10239.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b7d658d990b44218a9ea5e3fcee45e81.jpg","text":"TemporaryFile(/tmp/multipartBody6686573347324179097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207904036,"filename":"image_14082025_14_43_19_10356.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/97415d05e9934d746f015454eb3c1a05.jpg","text":"TemporaryFile(/tmp/multipartBody6119750779587931365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207904036,"filename":"image_14082025_14_42_58_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377160676","file1":"1377160635","file0":"1377160596","file4":"1377160745","file5":"1377160782","file3":"1377160710"},"map_files_photo_id_array":[{"photo_id":"1377160782","filename":"file5"},{"photo_id":"1377160676","filename":"file2"},{"photo_id":"1377160745","filename":"file4"},{"photo_id":"1377160635","filename":"file1"},{"photo_id":"1377160596","filename":"file0"},{"photo_id":"1377160710","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377160596":["hashtag1","hashtag2"]},{"1377160782":["hashtag1","hashtag2"]},{"1377160635":["hashtag1","hashtag2"]},{"1377160710":["hashtag1","hashtag2"]},{"1377160745":["hashtag1","hashtag2"]},{"1377160676":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377160596, 1377160782, 1377160635, 1377160710, 1377160745, 1377160676)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.22667145729065 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:45:03.123285 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/43/image_14082025_14_43_38_10519.jpg', '/media/data/images/14082025/14/43/image_14082025_14_43_49_10403.jpg', '/media/data/images/14082025/14/43/image_14082025_14_43_58_9124.jpg', '/media/data/images/14082025/14/44/image_14082025_14_44_09_10557.jpg', '/media/data/images/14082025/14/44/image_14082025_14_44_19_10330.jpg', '/media/data/images/14082025/14/44/image_14082025_14_44_28_9211.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/43/image_14082025_14_43_38_10519.jpg /media/data/images/14082025/14/43/image_14082025_14_43_49_10403.jpg /media/data/images/14082025/14/43/image_14082025_14_43_58_9124.jpg /media/data/images/14082025/14/44/image_14082025_14_44_09_10557.jpg /media/data/images/14082025/14/44/image_14082025_14_44_19_10330.jpg /media/data/images/14082025/14/44/image_14082025_14_44_28_9211.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377160972","1377161073","1377161039","1377161108","1377161000","1377160967"],"photo_ids_order":["1377160967","1377160972","1377161000","1377161039","1377161073","1377161108"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/20232d754250398bac027ebabb7ba319.jpg","text":"TemporaryFile(/tmp/multipartBody8655976513275202435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207964182,"filename":"image_14082025_14_43_49_10403.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7989617b5db985050428087f411db27.jpg","text":"TemporaryFile(/tmp/multipartBody2102069689534410149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207964182,"filename":"image_14082025_14_44_19_10330.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7bb836ab7886132ce3d1f5a8d8cc5256.jpg","text":"TemporaryFile(/tmp/multipartBody6143051156218389436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207964182,"filename":"image_14082025_14_44_09_10557.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8666c5cdb0df2f4c2be85285d5f2e195.jpg","text":"TemporaryFile(/tmp/multipartBody855611546940989524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207964182,"filename":"image_14082025_14_44_28_9211.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/194c1a1a3dc8d278c3cba20125d1525e.jpg","text":"TemporaryFile(/tmp/multipartBody2760535745334160085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207964182,"filename":"image_14082025_14_43_58_9124.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c5f1e32ccd481b979f21cb1dc0a2b2bf.jpg","text":"TemporaryFile(/tmp/multipartBody2495772595533628554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755207964182,"filename":"image_14082025_14_43_38_10519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377161000","file1":"1377160972","file0":"1377160967","file4":"1377161073","file5":"1377161108","file3":"1377161039"},"map_files_photo_id_array":[{"photo_id":"1377161108","filename":"file5"},{"photo_id":"1377161000","filename":"file2"},{"photo_id":"1377161073","filename":"file4"},{"photo_id":"1377160972","filename":"file1"},{"photo_id":"1377160967","filename":"file0"},{"photo_id":"1377161039","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377160972":["hashtag1","hashtag2"]},{"1377161073":["hashtag1","hashtag2"]},{"1377161039":["hashtag1","hashtag2"]},{"1377161108":["hashtag1","hashtag2"]},{"1377161000":["hashtag1","hashtag2"]},{"1377160967":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377160972, 1377161073, 1377161039, 1377161108, 1377161000, 1377160967)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.09213972091675 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:46:03.140012 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/44/image_14082025_14_44_39_10402.jpg', '/media/data/images/14082025/14/44/image_14082025_14_44_49_10331.jpg', '/media/data/images/14082025/14/44/image_14082025_14_44_58_9088.jpg', '/media/data/images/14082025/14/44/image_14082025_14_45_09_10743.jpg', '/media/data/images/14082025/14/45/image_14082025_14_45_18_9179.jpg', '/media/data/images/14082025/14/45/image_14082025_14_45_28_10432.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/44/image_14082025_14_44_39_10402.jpg /media/data/images/14082025/14/44/image_14082025_14_44_49_10331.jpg /media/data/images/14082025/14/44/image_14082025_14_44_58_9088.jpg /media/data/images/14082025/14/44/image_14082025_14_45_09_10743.jpg /media/data/images/14082025/14/45/image_14082025_14_45_18_9179.jpg /media/data/images/14082025/14/45/image_14082025_14_45_28_10432.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377162211","1377162040","1377162474","1377162606","1377162392","1377162539"],"photo_ids_order":["1377162040","1377162211","1377162392","1377162474","1377162539","1377162606"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/52d2b551679c90c82baf15f74f2f491b.jpg","text":"TemporaryFile(/tmp/multipartBody1953728676846017629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208024169,"filename":"image_14082025_14_44_49_10331.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/66f9a9f516bb736908bf79e8d18bc67f.jpg","text":"TemporaryFile(/tmp/multipartBody1510916273649051668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208024169,"filename":"image_14082025_14_44_39_10402.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1196f69f2457721297f3b1a1f855a7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3426335924663792278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208024169,"filename":"image_14082025_14_45_09_10743.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc43cc14a8f484f0e667aae5fb25fdca.jpg","text":"TemporaryFile(/tmp/multipartBody2958404711628443225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208024169,"filename":"image_14082025_14_45_28_10432.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b433b83629ff338aaf1587f8759b21b8.jpg","text":"TemporaryFile(/tmp/multipartBody6377606183311086108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208024169,"filename":"image_14082025_14_44_58_9088.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5dfc11b12210460a3b43489fe1c605d3.jpg","text":"TemporaryFile(/tmp/multipartBody132447289172188393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208024169,"filename":"image_14082025_14_45_18_9179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377162392","file1":"1377162211","file0":"1377162040","file4":"1377162539","file5":"1377162606","file3":"1377162474"},"map_files_photo_id_array":[{"photo_id":"1377162606","filename":"file5"},{"photo_id":"1377162392","filename":"file2"},{"photo_id":"1377162539","filename":"file4"},{"photo_id":"1377162211","filename":"file1"},{"photo_id":"1377162040","filename":"file0"},{"photo_id":"1377162474","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377162211":["hashtag1","hashtag2"]},{"1377162040":["hashtag1","hashtag2"]},{"1377162474":["hashtag1","hashtag2"]},{"1377162606":["hashtag1","hashtag2"]},{"1377162392":["hashtag1","hashtag2"]},{"1377162539":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377162211, 1377162040, 1377162474, 1377162606, 1377162392, 1377162539)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.1047420501709 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:47:03.432479 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/45/image_14082025_14_45_39_10520.jpg', '/media/data/images/14082025/14/45/image_14082025_14_45_48_9109.jpg', '/media/data/images/14082025/14/45/image_14082025_14_45_58_10478.jpg', '/media/data/images/14082025/14/46/image_14082025_14_46_09_10585.jpg', '/media/data/images/14082025/14/46/image_14082025_14_46_18_9177.jpg', '/media/data/images/14082025/14/46/image_14082025_14_46_29_10350.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/45/image_14082025_14_45_39_10520.jpg /media/data/images/14082025/14/45/image_14082025_14_45_48_9109.jpg /media/data/images/14082025/14/45/image_14082025_14_45_58_10478.jpg /media/data/images/14082025/14/46/image_14082025_14_46_09_10585.jpg /media/data/images/14082025/14/46/image_14082025_14_46_18_9177.jpg /media/data/images/14082025/14/46/image_14082025_14_46_29_10350.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377162963","1377163206","1377163178","1377163099","1377162839","1377163135"],"photo_ids_order":["1377162839","1377162963","1377163099","1377163135","1377163178","1377163206"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf73b71e5cc2a647e5fd650ebbe0461d.jpg","text":"TemporaryFile(/tmp/multipartBody2760550244292984271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208084470,"filename":"image_14082025_14_45_48_9109.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8c3f306b75cb15e19100f3bcbfc0c310.jpg","text":"TemporaryFile(/tmp/multipartBody4172280418580539872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208084470,"filename":"image_14082025_14_46_29_10350.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a5708d4a171b6fc04d7883d1a85570c0.jpg","text":"TemporaryFile(/tmp/multipartBody8867841792068450660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208084470,"filename":"image_14082025_14_46_18_9177.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c8c30cd90f5749f14d62a857d0ba297b.jpg","text":"TemporaryFile(/tmp/multipartBody6099958755306190899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208084470,"filename":"image_14082025_14_45_58_10478.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/731a963c7b3226b470bcba7be22bb08d.jpg","text":"TemporaryFile(/tmp/multipartBody6574320162365415680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208084470,"filename":"image_14082025_14_45_39_10520.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9ae34cee0aace1e3d99bad7131fc1927.jpg","text":"TemporaryFile(/tmp/multipartBody1088322038123550561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208084470,"filename":"image_14082025_14_46_09_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377163099","file1":"1377162963","file0":"1377162839","file4":"1377163178","file5":"1377163206","file3":"1377163135"},"map_files_photo_id_array":[{"photo_id":"1377163206","filename":"file5"},{"photo_id":"1377163099","filename":"file2"},{"photo_id":"1377163178","filename":"file4"},{"photo_id":"1377162963","filename":"file1"},{"photo_id":"1377162839","filename":"file0"},{"photo_id":"1377163135","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377162963":["hashtag1","hashtag2"]},{"1377163206":["hashtag1","hashtag2"]},{"1377163178":["hashtag1","hashtag2"]},{"1377163099":["hashtag1","hashtag2"]},{"1377162839":["hashtag1","hashtag2"]},{"1377163135":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377162963, 1377163206, 1377163178, 1377163099, 1377162839, 1377163135)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.1767053604126 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:48:03.456235 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/46/image_14082025_14_46_39_10477.jpg', '/media/data/images/14082025/14/46/image_14082025_14_46_48_9121.jpg', '/media/data/images/14082025/14/46/image_14082025_14_46_59_10461.jpg', '/media/data/images/14082025/14/47/image_14082025_14_47_09_10301.jpg', '/media/data/images/14082025/14/47/image_14082025_14_47_18_9116.jpg', '/media/data/images/14082025/14/47/image_14082025_14_47_28_10348.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/46/image_14082025_14_46_39_10477.jpg /media/data/images/14082025/14/46/image_14082025_14_46_48_9121.jpg /media/data/images/14082025/14/46/image_14082025_14_46_59_10461.jpg /media/data/images/14082025/14/47/image_14082025_14_47_09_10301.jpg /media/data/images/14082025/14/47/image_14082025_14_47_18_9116.jpg /media/data/images/14082025/14/47/image_14082025_14_47_28_10348.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164055","1377163773","1377164192","1377164171","1377163625","1377163918"],"photo_ids_order":["1377163625","1377163773","1377163918","1377164055","1377164171","1377164192"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4c458574359e45a49be2d8beddaa162d.jpg","text":"TemporaryFile(/tmp/multipartBody2896816216881863071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208144495,"filename":"image_14082025_14_47_09_10301.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ed020811a3fc26fa79d8c4c692080058.jpg","text":"TemporaryFile(/tmp/multipartBody3039651071715644577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208144495,"filename":"image_14082025_14_46_48_9121.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0aed4bf7a6d361d769418142a80a6e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7290748735878117194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208144495,"filename":"image_14082025_14_47_28_10348.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0cd3ff3b2633a27ff46758ab53c63b17.jpg","text":"TemporaryFile(/tmp/multipartBody1910489235683413984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208144495,"filename":"image_14082025_14_47_18_9116.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4231782f6c2cd966ad246ae8372abfcf.jpg","text":"TemporaryFile(/tmp/multipartBody5621485509715610241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208144495,"filename":"image_14082025_14_46_39_10477.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3ea587fcf69959da2d8868274d682c98.jpg","text":"TemporaryFile(/tmp/multipartBody1485883591941541669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208144495,"filename":"image_14082025_14_46_59_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377163918","file1":"1377163773","file0":"1377163625","file4":"1377164171","file5":"1377164192","file3":"1377164055"},"map_files_photo_id_array":[{"photo_id":"1377164192","filename":"file5"},{"photo_id":"1377163918","filename":"file2"},{"photo_id":"1377164171","filename":"file4"},{"photo_id":"1377163773","filename":"file1"},{"photo_id":"1377163625","filename":"file0"},{"photo_id":"1377164055","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164055":["hashtag1","hashtag2"]},{"1377163773":["hashtag1","hashtag2"]},{"1377164192":["hashtag1","hashtag2"]},{"1377164171":["hashtag1","hashtag2"]},{"1377163625":["hashtag1","hashtag2"]},{"1377163918":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164055, 1377163773, 1377164192, 1377164171, 1377163625, 1377163918)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 53.51749920845032 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:49:02.932981 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/47/image_14082025_14_47_39_10325.jpg', '/media/data/images/14082025/14/47/image_14082025_14_47_49_10337.jpg', '/media/data/images/14082025/14/47/image_14082025_14_47_58_9232.jpg', '/media/data/images/14082025/14/48/image_14082025_14_48_09_10280.jpg', '/media/data/images/14082025/14/48/image_14082025_14_48_19_10405.jpg', '/media/data/images/14082025/14/48/image_14082025_14_48_28_9039.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/47/image_14082025_14_47_39_10325.jpg /media/data/images/14082025/14/47/image_14082025_14_47_49_10337.jpg /media/data/images/14082025/14/47/image_14082025_14_47_58_9232.jpg /media/data/images/14082025/14/48/image_14082025_14_48_09_10280.jpg /media/data/images/14082025/14/48/image_14082025_14_48_19_10405.jpg /media/data/images/14082025/14/48/image_14082025_14_48_28_9039.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164400","1377164363","1377164405","1377164389","1377164407","1377164397"],"photo_ids_order":["1377164363","1377164389","1377164397","1377164400","1377164405","1377164407"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7fbf8c91834fa42eb5e465057ed06ebb.jpg","text":"TemporaryFile(/tmp/multipartBody158431948230955428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208204018,"filename":"image_14082025_14_48_09_10280.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/332b3dd16179eb3a5b7fc60247fd7c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7906267776910953663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208204018,"filename":"image_14082025_14_47_39_10325.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/ff95132b77ecad5d61b9b5b5192c0e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2777676577747719816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208204018,"filename":"image_14082025_14_48_19_10405.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3b44100b73383c956f77031395c2f037.jpg","text":"TemporaryFile(/tmp/multipartBody4397122188019268017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208204018,"filename":"image_14082025_14_47_49_10337.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2f62780f893af779ddfcedb292836083.jpg","text":"TemporaryFile(/tmp/multipartBody1750920581275429598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208204018,"filename":"image_14082025_14_48_28_9039.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14bf397f39a8bccc4f2adf7cc7dce029.jpg","text":"TemporaryFile(/tmp/multipartBody8564362979074316655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208204018,"filename":"image_14082025_14_47_58_9232.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164397","file1":"1377164389","file0":"1377164363","file4":"1377164405","file5":"1377164407","file3":"1377164400"},"map_files_photo_id_array":[{"photo_id":"1377164407","filename":"file5"},{"photo_id":"1377164397","filename":"file2"},{"photo_id":"1377164405","filename":"file4"},{"photo_id":"1377164389","filename":"file1"},{"photo_id":"1377164363","filename":"file0"},{"photo_id":"1377164400","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164400":["hashtag1","hashtag2"]},{"1377164363":["hashtag1","hashtag2"]},{"1377164405":["hashtag1","hashtag2"]},{"1377164389":["hashtag1","hashtag2"]},{"1377164407":["hashtag1","hashtag2"]},{"1377164397":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164400, 1377164363, 1377164405, 1377164389, 1377164407, 1377164397)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 52.40139150619507 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:50:02.684333 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/48/image_14082025_14_48_38_10261.jpg', '/media/data/images/14082025/14/48/image_14082025_14_48_49_10291.jpg', '/media/data/images/14082025/14/48/image_14082025_14_48_59_10282.jpg', '/media/data/images/14082025/14/49/image_14082025_14_49_08_9200.jpg', '/media/data/images/14082025/14/49/image_14082025_14_49_18_10371.jpg', '/media/data/images/14082025/14/49/image_14082025_14_49_29_10281.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/48/image_14082025_14_48_38_10261.jpg /media/data/images/14082025/14/48/image_14082025_14_48_49_10291.jpg /media/data/images/14082025/14/48/image_14082025_14_48_59_10282.jpg /media/data/images/14082025/14/49/image_14082025_14_49_08_9200.jpg /media/data/images/14082025/14/49/image_14082025_14_49_18_10371.jpg /media/data/images/14082025/14/49/image_14082025_14_49_29_10281.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164430","1377164432","1377164425","1377164434","1377164428","1377164436"],"photo_ids_order":["1377164425","1377164428","1377164430","1377164432","1377164434","1377164436"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0a48f62f711c2f6ae3fcba961a565328.jpg","text":"TemporaryFile(/tmp/multipartBody5894491163095081230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208263811,"filename":"image_14082025_14_48_59_10282.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d863fcec6dfa2baa99f6bf66f3d9e33.jpg","text":"TemporaryFile(/tmp/multipartBody5679792535210355366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208263811,"filename":"image_14082025_14_49_08_9200.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3d961e588a4fe132a9f3b17ef8326519.jpg","text":"TemporaryFile(/tmp/multipartBody831803060660038082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208263811,"filename":"image_14082025_14_48_38_10261.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4433b4089f0a33167341ec8bec096170.jpg","text":"TemporaryFile(/tmp/multipartBody7789770198562762401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208263811,"filename":"image_14082025_14_49_18_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/be374b9e66a13d725a6898b1f9409535.jpg","text":"TemporaryFile(/tmp/multipartBody3483169130237521885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208263811,"filename":"image_14082025_14_48_49_10291.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/bfef0fe381d379e40755b580a407f5bf.jpg","text":"TemporaryFile(/tmp/multipartBody3007754266938630804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208263811,"filename":"image_14082025_14_49_29_10281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164430","file1":"1377164428","file0":"1377164425","file4":"1377164434","file5":"1377164436","file3":"1377164432"},"map_files_photo_id_array":[{"photo_id":"1377164436","filename":"file5"},{"photo_id":"1377164430","filename":"file2"},{"photo_id":"1377164434","filename":"file4"},{"photo_id":"1377164428","filename":"file1"},{"photo_id":"1377164425","filename":"file0"},{"photo_id":"1377164432","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164430":["hashtag1","hashtag2"]},{"1377164432":["hashtag1","hashtag2"]},{"1377164425":["hashtag1","hashtag2"]},{"1377164434":["hashtag1","hashtag2"]},{"1377164428":["hashtag1","hashtag2"]},{"1377164436":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164430, 1377164432, 1377164425, 1377164434, 1377164428, 1377164436)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.957985639572144 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:51:02.816668 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/49/image_14082025_14_49_39_10273.jpg', '/media/data/images/14082025/14/49/image_14082025_14_49_48_9040.jpg', '/media/data/images/14082025/14/49/image_14082025_14_49_58_10353.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_09_10684.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_18_9149.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_28_10264.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/49/image_14082025_14_49_39_10273.jpg /media/data/images/14082025/14/49/image_14082025_14_49_48_9040.jpg /media/data/images/14082025/14/49/image_14082025_14_49_58_10353.jpg /media/data/images/14082025/14/50/image_14082025_14_50_09_10684.jpg /media/data/images/14082025/14/50/image_14082025_14_50_18_9149.jpg /media/data/images/14082025/14/50/image_14082025_14_50_28_10264.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164445","1377164480","1377164453","1377164447","1377164455","1377164467"],"photo_ids_order":["1377164445","1377164447","1377164453","1377164455","1377164467","1377164480"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/51218f0ffa6e2031a1aa3a84c2cc0e40.jpg","text":"TemporaryFile(/tmp/multipartBody4029196204503048586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208323984,"filename":"image_14082025_14_49_39_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e7b47c6457ca5bca7b3e84715c0d1688.jpg","text":"TemporaryFile(/tmp/multipartBody1505075995154532890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208323984,"filename":"image_14082025_14_50_28_10264.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1ad5c30b1ed7907fcf0361277a7d6502.jpg","text":"TemporaryFile(/tmp/multipartBody4753274630499639822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208323984,"filename":"image_14082025_14_49_58_10353.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cc7c85829c74df318c8cd30dcebad4a1.jpg","text":"TemporaryFile(/tmp/multipartBody6837025732207913243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208323984,"filename":"image_14082025_14_49_48_9040.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/54608cbabdc9772538e98eb04f1594e7.jpg","text":"TemporaryFile(/tmp/multipartBody1711982401940050208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208323984,"filename":"image_14082025_14_50_09_10684.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/68e23424c483fd5d1cead607247f9ed4.jpg","text":"TemporaryFile(/tmp/multipartBody2306980069154971546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208323984,"filename":"image_14082025_14_50_18_9149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164453","file1":"1377164447","file0":"1377164445","file4":"1377164467","file5":"1377164480","file3":"1377164455"},"map_files_photo_id_array":[{"photo_id":"1377164480","filename":"file5"},{"photo_id":"1377164453","filename":"file2"},{"photo_id":"1377164467","filename":"file4"},{"photo_id":"1377164447","filename":"file1"},{"photo_id":"1377164445","filename":"file0"},{"photo_id":"1377164455","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164445":["hashtag1","hashtag2"]},{"1377164480":["hashtag1","hashtag2"]},{"1377164453":["hashtag1","hashtag2"]},{"1377164447":["hashtag1","hashtag2"]},{"1377164455":["hashtag1","hashtag2"]},{"1377164467":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164445, 1377164480, 1377164453, 1377164447, 1377164455, 1377164467)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.269654750823975 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:52:02.830675 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/50/image_14082025_14_50_39_10295.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_49_10273.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_58_9167.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_08_10260.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_19_10311.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_28_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/50/image_14082025_14_50_39_10295.jpg /media/data/images/14082025/14/50/image_14082025_14_50_49_10273.jpg /media/data/images/14082025/14/50/image_14082025_14_50_58_9167.jpg /media/data/images/14082025/14/51/image_14082025_14_51_08_10260.jpg /media/data/images/14082025/14/51/image_14082025_14_51_19_10311.jpg /media/data/images/14082025/14/51/image_14082025_14_51_28_9123.jpg after data_to_send, before sending request after request uploaded 0 photos time to upload: 2.694498062133789 secondes --- b'\n\n400 Bad Request\n\n

Bad Request

\n

Your browser sent a request that this server could not understand.
\n

\n
\n
Apache/2.4.41 (Ubuntu) Server at www.fotonower.com Port 443
\n\n' 400 Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:52:22.185345 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/50/image_14082025_14_50_39_10295.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_49_10273.jpg', '/media/data/images/14082025/14/50/image_14082025_14_50_58_9167.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_08_10260.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_19_10311.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_28_9123.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/50/image_14082025_14_50_39_10295.jpg /media/data/images/14082025/14/50/image_14082025_14_50_49_10273.jpg /media/data/images/14082025/14/50/image_14082025_14_50_58_9167.jpg /media/data/images/14082025/14/51/image_14082025_14_51_08_10260.jpg /media/data/images/14082025/14/51/image_14082025_14_51_19_10311.jpg /media/data/images/14082025/14/51/image_14082025_14_51_28_9123.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164511","1377164505","1377164513","1377164501","1377164497","1377164509"],"photo_ids_order":["1377164497","1377164501","1377164505","1377164509","1377164511","1377164513"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5e20a3845d64d33ca7e61c90fd7935d7.jpg","text":"TemporaryFile(/tmp/multipartBody7525000841031255622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208403196,"filename":"image_14082025_14_51_19_10311.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b87e7d27c2a1bfae2b8614777e3fe559.jpg","text":"TemporaryFile(/tmp/multipartBody8349510348759436691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208403196,"filename":"image_14082025_14_50_58_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/95a66c9b14a7493af4f56ff1028849bf.jpg","text":"TemporaryFile(/tmp/multipartBody3221031387440352630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208403196,"filename":"image_14082025_14_51_28_9123.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5d055b94fb31853f2157709c403fbba7.jpg","text":"TemporaryFile(/tmp/multipartBody8862974327786952182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208403196,"filename":"image_14082025_14_50_49_10273.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/73dbfb1a3c683391bbd3bdfb610f11ef.jpg","text":"TemporaryFile(/tmp/multipartBody735335134497480160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208403196,"filename":"image_14082025_14_50_39_10295.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7852b391afb36036c13f5e9c1d8a151b.jpg","text":"TemporaryFile(/tmp/multipartBody5507143425133358876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208403196,"filename":"image_14082025_14_51_08_10260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164505","file1":"1377164501","file0":"1377164497","file4":"1377164511","file5":"1377164513","file3":"1377164509"},"map_files_photo_id_array":[{"photo_id":"1377164513","filename":"file5"},{"photo_id":"1377164505","filename":"file2"},{"photo_id":"1377164511","filename":"file4"},{"photo_id":"1377164501","filename":"file1"},{"photo_id":"1377164497","filename":"file0"},{"photo_id":"1377164509","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164511":["hashtag1","hashtag2"]},{"1377164505":["hashtag1","hashtag2"]},{"1377164513":["hashtag1","hashtag2"]},{"1377164501":["hashtag1","hashtag2"]},{"1377164497":["hashtag1","hashtag2"]},{"1377164509":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164511, 1377164505, 1377164513, 1377164501, 1377164497, 1377164509)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.992100954055786 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:53:22.261662 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/51/image_14082025_14_51_38_10390.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_49_10457.jpg', '/media/data/images/14082025/14/51/image_14082025_14_51_58_9199.jpg', '/media/data/images/14082025/14/51/image_14082025_14_52_09_10667.jpg', '/media/data/images/14082025/14/52/image_14082025_14_52_19_10412.jpg', '/media/data/images/14082025/14/52/image_14082025_14_52_28_9073.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/51/image_14082025_14_51_38_10390.jpg /media/data/images/14082025/14/51/image_14082025_14_51_49_10457.jpg /media/data/images/14082025/14/51/image_14082025_14_51_58_9199.jpg /media/data/images/14082025/14/51/image_14082025_14_52_09_10667.jpg /media/data/images/14082025/14/52/image_14082025_14_52_19_10412.jpg /media/data/images/14082025/14/52/image_14082025_14_52_28_9073.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164538","1377164523","1377164526","1377164532","1377164535","1377164529"],"photo_ids_order":["1377164523","1377164526","1377164529","1377164532","1377164535","1377164538"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2512d650562a3f9c708dc86f74f492b8.jpg","text":"TemporaryFile(/tmp/multipartBody8301681930330688558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208463302,"filename":"image_14082025_14_52_28_9073.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c36ed10a641880e316778119c39d6713.jpg","text":"TemporaryFile(/tmp/multipartBody4149640559746725419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208463302,"filename":"image_14082025_14_51_38_10390.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/2c24fbeeea0d6727c114aa05d4368e72.jpg","text":"TemporaryFile(/tmp/multipartBody4212343149009029004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208463302,"filename":"image_14082025_14_51_49_10457.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/3be509050a0f10fe768db257aae4dccd.jpg","text":"TemporaryFile(/tmp/multipartBody4321451020755998085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208463302,"filename":"image_14082025_14_52_09_10667.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/774153d1a0d249bbd30629f72444f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody897023983283262625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208463302,"filename":"image_14082025_14_52_19_10412.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5de04a56ab558d29defeca6289cea24b.jpg","text":"TemporaryFile(/tmp/multipartBody2959903674213705665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208463302,"filename":"image_14082025_14_51_58_9199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164529","file1":"1377164526","file0":"1377164523","file4":"1377164535","file5":"1377164538","file3":"1377164532"},"map_files_photo_id_array":[{"photo_id":"1377164538","filename":"file5"},{"photo_id":"1377164529","filename":"file2"},{"photo_id":"1377164535","filename":"file4"},{"photo_id":"1377164526","filename":"file1"},{"photo_id":"1377164523","filename":"file0"},{"photo_id":"1377164532","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164538":["hashtag1","hashtag2"]},{"1377164523":["hashtag1","hashtag2"]},{"1377164526":["hashtag1","hashtag2"]},{"1377164532":["hashtag1","hashtag2"]},{"1377164535":["hashtag1","hashtag2"]},{"1377164529":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164538, 1377164523, 1377164526, 1377164532, 1377164535, 1377164529)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 39.45679712295532 secondes --- val : 1 : upload photos already in processing! Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:54:22.366862 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/52/image_14082025_14_52_38_10336.jpg', '/media/data/images/14082025/14/52/image_14082025_14_52_49_10451.jpg', '/media/data/images/14082025/14/52/image_14082025_14_52_58_9266.jpg', '/media/data/images/14082025/14/53/image_14082025_14_53_08_10323.jpg', '/media/data/images/14082025/14/53/image_14082025_14_53_19_10608.jpg', '/media/data/images/14082025/14/53/image_14082025_14_53_28_9088.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/52/image_14082025_14_52_38_10336.jpg /media/data/images/14082025/14/52/image_14082025_14_52_49_10451.jpg /media/data/images/14082025/14/52/image_14082025_14_52_58_9266.jpg /media/data/images/14082025/14/53/image_14082025_14_53_08_10323.jpg /media/data/images/14082025/14/53/image_14082025_14_53_19_10608.jpg /media/data/images/14082025/14/53/image_14082025_14_53_28_9088.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164546","1377164549","1377164559","1377164553","1377164562","1377164556"],"photo_ids_order":["1377164546","1377164549","1377164553","1377164556","1377164559","1377164562"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9a75a2afd79b14343c8f56a70adece66.jpg","text":"TemporaryFile(/tmp/multipartBody3626449389486391050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208523468,"filename":"image_14082025_14_52_38_10336.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/fe5668ec4451a91be44d107f5161552f.jpg","text":"TemporaryFile(/tmp/multipartBody5322356158364377080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208523468,"filename":"image_14082025_14_52_49_10451.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/96868bdea40c4d366f1e01a7d7b5789b.jpg","text":"TemporaryFile(/tmp/multipartBody2691470233513442585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208523468,"filename":"image_14082025_14_53_19_10608.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/03cec5c78c3e188700f9ea587b684956.jpg","text":"TemporaryFile(/tmp/multipartBody7202044724777953604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208523468,"filename":"image_14082025_14_52_58_9266.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/599bfd78d74d8ea67e81663e8d58c33e.jpg","text":"TemporaryFile(/tmp/multipartBody681516371632543454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208523468,"filename":"image_14082025_14_53_28_9088.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/005256dc61ca867d68ecc5508c2cfa56.jpg","text":"TemporaryFile(/tmp/multipartBody3189692146864727452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208523468,"filename":"image_14082025_14_53_08_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164553","file1":"1377164549","file0":"1377164546","file4":"1377164559","file5":"1377164562","file3":"1377164556"},"map_files_photo_id_array":[{"photo_id":"1377164562","filename":"file5"},{"photo_id":"1377164553","filename":"file2"},{"photo_id":"1377164559","filename":"file4"},{"photo_id":"1377164549","filename":"file1"},{"photo_id":"1377164546","filename":"file0"},{"photo_id":"1377164556","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164546":["hashtag1","hashtag2"]},{"1377164549":["hashtag1","hashtag2"]},{"1377164559":["hashtag1","hashtag2"]},{"1377164553":["hashtag1","hashtag2"]},{"1377164562":["hashtag1","hashtag2"]},{"1377164556":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164546, 1377164549, 1377164559, 1377164553, 1377164562, 1377164556)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 40.82031750679016 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:55:22.647522 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/53/image_14082025_14_53_38_10317.jpg', '/media/data/images/14082025/14/53/image_14082025_14_53_49_10377.jpg', '/media/data/images/14082025/14/53/image_14082025_14_53_58_9167.jpg', '/media/data/images/14082025/14/53/image_14082025_14_54_09_10786.jpg', '/media/data/images/14082025/14/54/image_14082025_14_54_18_9283.jpg', '/media/data/images/14082025/14/54/image_14082025_14_54_28_10333.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/53/image_14082025_14_53_38_10317.jpg /media/data/images/14082025/14/53/image_14082025_14_53_49_10377.jpg /media/data/images/14082025/14/53/image_14082025_14_53_58_9167.jpg /media/data/images/14082025/14/53/image_14082025_14_54_09_10786.jpg /media/data/images/14082025/14/54/image_14082025_14_54_18_9283.jpg /media/data/images/14082025/14/54/image_14082025_14_54_28_10333.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164582","1377164591","1377164573","1377164578","1377164586","1377164589"],"photo_ids_order":["1377164573","1377164578","1377164582","1377164586","1377164589","1377164591"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7633e46966245f752134ee05317a94bb.jpg","text":"TemporaryFile(/tmp/multipartBody139720157419078053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208583650,"filename":"image_14082025_14_53_58_9167.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/c9eedb4304bbddf61577b347f3de7e20.jpg","text":"TemporaryFile(/tmp/multipartBody5434454521129729941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208583650,"filename":"image_14082025_14_54_28_10333.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f471e09610fffc56c30e6d07173d335b.jpg","text":"TemporaryFile(/tmp/multipartBody3153954475173371402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208583650,"filename":"image_14082025_14_53_38_10317.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/cf9ef67f7fde8b9ef76db6481f4ab332.jpg","text":"TemporaryFile(/tmp/multipartBody9149260426591423230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208583650,"filename":"image_14082025_14_53_49_10377.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0368f4c8438d7cd53411afdd15e7d781.jpg","text":"TemporaryFile(/tmp/multipartBody9081085263381719903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208583650,"filename":"image_14082025_14_54_09_10786.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a290379bcedf13bfd93edac4884ca368.jpg","text":"TemporaryFile(/tmp/multipartBody2940503824116884477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208583650,"filename":"image_14082025_14_54_18_9283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164582","file1":"1377164578","file0":"1377164573","file4":"1377164589","file5":"1377164591","file3":"1377164586"},"map_files_photo_id_array":[{"photo_id":"1377164591","filename":"file5"},{"photo_id":"1377164582","filename":"file2"},{"photo_id":"1377164589","filename":"file4"},{"photo_id":"1377164578","filename":"file1"},{"photo_id":"1377164573","filename":"file0"},{"photo_id":"1377164586","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164582":["hashtag1","hashtag2"]},{"1377164591":["hashtag1","hashtag2"]},{"1377164573":["hashtag1","hashtag2"]},{"1377164578":["hashtag1","hashtag2"]},{"1377164586":["hashtag1","hashtag2"]},{"1377164589":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164582, 1377164591, 1377164573, 1377164578, 1377164586, 1377164589)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.1454119682312 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:56:22.668334 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/54/image_14082025_14_54_39_10444.jpg', '/media/data/images/14082025/14/54/image_14082025_14_54_48_9056.jpg', '/media/data/images/14082025/14/54/image_14082025_14_54_58_10270.jpg', '/media/data/images/14082025/14/55/image_14082025_14_55_09_10589.jpg', '/media/data/images/14082025/14/55/image_14082025_14_55_19_10244.jpg', '/media/data/images/14082025/14/55/image_14082025_14_55_28_9045.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/54/image_14082025_14_54_39_10444.jpg /media/data/images/14082025/14/54/image_14082025_14_54_48_9056.jpg /media/data/images/14082025/14/54/image_14082025_14_54_58_10270.jpg /media/data/images/14082025/14/55/image_14082025_14_55_09_10589.jpg /media/data/images/14082025/14/55/image_14082025_14_55_19_10244.jpg /media/data/images/14082025/14/55/image_14082025_14_55_28_9045.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377164607","1377164599","1377164603","1377164611","1377164595","1377164707"],"photo_ids_order":["1377164595","1377164599","1377164603","1377164607","1377164611","1377164707"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/14e07dfe9530e9b6c9264f3eb613bcca.jpg","text":"TemporaryFile(/tmp/multipartBody2313109426582953181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208643758,"filename":"image_14082025_14_55_09_10589.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/954eab0daa97920c40f5e2536b48d90d.jpg","text":"TemporaryFile(/tmp/multipartBody4108979814705943262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208643758,"filename":"image_14082025_14_54_48_9056.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/7f50f13c0041e8476db50a082b544ea0.jpg","text":"TemporaryFile(/tmp/multipartBody296500004223930371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208643758,"filename":"image_14082025_14_54_58_10270.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3d3c98427f49f764f14fb595a53c433.jpg","text":"TemporaryFile(/tmp/multipartBody2745725678961318959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208643758,"filename":"image_14082025_14_55_19_10244.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a4078176a027d3cabf5721f369474b48.jpg","text":"TemporaryFile(/tmp/multipartBody1785350276820512903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208643758,"filename":"image_14082025_14_54_39_10444.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/28ad344b001546748687e509d5762b48.jpg","text":"TemporaryFile(/tmp/multipartBody3875811255653996563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208643758,"filename":"image_14082025_14_55_28_9045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377164603","file1":"1377164599","file0":"1377164595","file4":"1377164611","file5":"1377164707","file3":"1377164607"},"map_files_photo_id_array":[{"photo_id":"1377164707","filename":"file5"},{"photo_id":"1377164603","filename":"file2"},{"photo_id":"1377164611","filename":"file4"},{"photo_id":"1377164599","filename":"file1"},{"photo_id":"1377164595","filename":"file0"},{"photo_id":"1377164607","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377164607":["hashtag1","hashtag2"]},{"1377164599":["hashtag1","hashtag2"]},{"1377164603":["hashtag1","hashtag2"]},{"1377164611":["hashtag1","hashtag2"]},{"1377164595":["hashtag1","hashtag2"]},{"1377164707":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377164607, 1377164599, 1377164603, 1377164611, 1377164595, 1377164707)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 41.27376079559326 secondes --- Start to upload photos with parameters : --last_days 10 -n angers_montee_convoyeur_1021 -u www.fotonower.com -f /media/data/images -t f163e3f6030719b36ae4ea6514879e05 -P https --datou_id=4892 --threshold=65 -j upload_by_sql_test --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db --last_days 15 -v 2025-08-14 23:57:22.827023 port_id : 25975826 datou_current_id : 3531594 in upload_from_sqlite, uploading in 25975826 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local ASC LIMIT 6; in upload media Upload medias : ['/media/data/images/14082025/14/55/image_14082025_14_55_38_10330.jpg', '/media/data/images/14082025/14/55/image_14082025_14_55_49_10349.jpg', '/media/data/images/14082025/14/56/image_14082025_14_56_19_10556.jpg', '/media/data/images/14082025/14/56/image_14082025_14_56_28_9113.jpg', '/media/data/images/14082025/14/56/image_14082025_14_56_38_10271.jpg', '/media/data/images/14082025/14/56/image_14082025_14_56_49_10371.jpg'] : url : https://www.fotonower.com/api/v1/secured/photo/upload?token=f163e3f6030719b36ae4ea6514879e05&datou_current_id=3531594&datou=0 /media/data/images/14082025/14/55/image_14082025_14_55_38_10330.jpg /media/data/images/14082025/14/55/image_14082025_14_55_49_10349.jpg /media/data/images/14082025/14/56/image_14082025_14_56_19_10556.jpg /media/data/images/14082025/14/56/image_14082025_14_56_28_9113.jpg /media/data/images/14082025/14/56/image_14082025_14_56_38_10271.jpg /media/data/images/14082025/14/56/image_14082025_14_56_49_10371.jpg val : 1 : upload photos already in processing! after data_to_send, before sending request after request b'{"photo_ids":["1377165800","1377165796","1377165559","1377165808","1377165795","1377165441"],"photo_ids_order":["1377165441","1377165559","1377165795","1377165796","1377165800","1377165808"],"photo_detail":[{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4eb79de350d46a297b2d81924b111fb9.jpg","text":"TemporaryFile(/tmp/multipartBody104481710229341228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208703946,"filename":"image_14082025_14_56_38_10271.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/10b0ff3eada05398e2ab1e19ef0e331b.jpg","text":"TemporaryFile(/tmp/multipartBody4035874362369597721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208703946,"filename":"image_14082025_14_56_28_9113.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/59e53217529d066b7db29d0fd3db2e3d.jpg","text":"TemporaryFile(/tmp/multipartBody9061409856291836467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208703946,"filename":"image_14082025_14_55_49_10349.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/5a93e3c3f038e486cf998a236261af50.jpg","text":"TemporaryFile(/tmp/multipartBody7279540179890114387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208703946,"filename":"image_14082025_14_56_49_10371.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1cf42079cefda0317ca69b83c7b22a96.jpg","text":"TemporaryFile(/tmp/multipartBody8755828981292789574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208703946,"filename":"image_14082025_14_56_19_10556.jpg","height":0,"width":0},{"mtr_user_id":1017,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/259eb530918a8991cccb82fac3bc0360.jpg","text":"TemporaryFile(/tmp/multipartBody8674805359802787159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1755208703946,"filename":"image_14082025_14_55_38_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1377165795","file1":"1377165559","file0":"1377165441","file4":"1377165800","file5":"1377165808","file3":"1377165796"},"map_files_photo_id_array":[{"photo_id":"1377165808","filename":"file5"},{"photo_id":"1377165795","filename":"file2"},{"photo_id":"1377165800","filename":"file4"},{"photo_id":"1377165559","filename":"file1"},{"photo_id":"1377165441","filename":"file0"},{"photo_id":"1377165796","filename":"file3"}],"portfolio_id":25975826,"hashtag_by_photo_ids":[{"1377165800":["hashtag1","hashtag2"]},{"1377165796":["hashtag1","hashtag2"]},{"1377165559":["hashtag1","hashtag2"]},{"1377165808":["hashtag1","hashtag2"]},{"1377165795":["hashtag1","hashtag2"]},{"1377165441":["hashtag1","hashtag2"]}],"comms":"Portfolio 25975826 used, photo_id : ArrayBuffer(1377165800, 1377165796, 1377165559, 1377165808, 1377165795, 1377165441)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 56.312049865722656 secondes ---